Hi Marv, We've found this to be the result of a kernel that ships with a version of ALSA prior to 1.0.16. Please use the agrsm-20080721-ALSA15 package in these cases. (Which is made for those earlier versions of ALSA.) Alternatively, a kernel upgrade may solve the problem. (The issue lies in the ALSA code that shipped with the kernel in /usr/src/linux) Bjorn. --- Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > Bjorn > > There is a kernel version issue: > agrsm-20080721$ make module > KERNEL_DIR=/usr/src/linux-headers-2.6.26-2-generic > does succeed , > But under 2.6.24-19-generic > there is the failure Hugo reports. See below > > Under 2.6.24-19-generic with your prior > agrsm-2.1.80-MODFD/ > Compile is successful > > Hugo I'll send you the older tarball, which includes > my Makefile mod > enabling the cross version compile. > > Below is the failure with the agrsm-20080721 package > > MarvS > > > CC [M] > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.o > In file included from > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:22: > include/sound/core.h:281: error: 'SNDRV_CARDS' > undeclared here (not in > a function) > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:216: > warning: function > declaration isn't a prototype > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: In > function 'GetHDABaseAddress': > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:227: > warning: > assignment makes integer from pointer without a cast > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:229: > warning: return > makes pointer from integer without a cast > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:219: > warning: unused > variable 'codec_temp' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: In > function 'HDAdump': > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:244: > warning: format > '%x' expects type 'unsigned int', but argument 2 has > type 'void *' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:248: > warning: format > '%08X' expects type 'unsigned int', but argument 3 > has type 'long > unsigned int' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:248: > warning: format > '%08X' expects type 'unsigned int', but argument 4 > has type 'long > unsigned int' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:248: > warning: format > '%08X' expects type 'unsigned int', but argument 5 > has type 'long > unsigned int' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:248: > warning: format > '%08X' expects type 'unsigned int', but argument 6 > has type 'long > unsigned int' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:239: > warning: unused > variable 'codec_temp' > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: In > function 'setResumeCallBack': > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:287: > warning: > assignment from incompatible pointer type > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:288: > warning: > assignment from incompatible pointer type > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: In > function > 'setSuspendCallBack': > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:293: > warning: > assignment from incompatible pointer type > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:294: > warning: > assignment from incompatible pointer type > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: At > top level: > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:298: > warning: function > declaration isn't a prototype > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: In > function > 'resetResumeCallBack': > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:299: > warning: > assignment from incompatible pointer type > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: At > top level: > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:303: > warning: function > declaration isn't a prototype > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c: In > function > 'resetSuspendCallBack': > /home/marv/Desktop/bjorn2/agrsm-20080721/HDA.c:304: > warning: > assignment from incompatible pointer type > make[2]: *** > [/home/marv/Desktop/bjorn2/agrsm-20080721/HDA.o] > Error 1 > make[1]: *** > [_module_/home/marv/Desktop/bjorn2/agrsm-20080721] > Error 2 > make[1]: Leaving directory > `/usr/src/linux-headers-2.6.24-19-generic' > make: *** [module] Error 2 > > > On Wed, Jul 23, 2008 at 8:34 AM, Bjorn Wielens > <uniacke1@xxxxxxxx> wrote: > > Hugo, > > > > Please try compiling the second tarball I sent > last > > night (with -ALSA15 suffix) This is because some > > systems ship with ALSA 1.0.15 in /include, which > is > > outdated for the new driver. > > > > Let me know what happens, > > Bjorn. > > > > --- Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > > wrote: > > > >> Bjorn, please check > >> > >> > >> ---------- Forwarded message ---------- > >> From: Hugo Leonardo Canalli > >> <hugocanalli@xxxxxxxxxxxxxxxxxx> > >> Date: Wed, Jul 23, 2008 at 1:02 AM > >> Subject: Re: Fwd: HOWTO for Agere 11C11040 Modem > on > >> HDA cards. (Roan, > >> menedas, & others) > >> To: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> > >> > >> > >> Newer version don't compile in my Ubuntu system: > >> > >> > > > root@hugleo-desktop:/home/hugleo/Desktop/agrsm-20080721# > >> make module > >> make -C /lib/modules/`uname -r`/build/ > >> SUBDIRS=/home/hugleo/Desktop/agrsm-20080721 > modules > >> make[1]: Entering directory > >> `/usr/src/linux-headers-2.6.24-19-generic' > >> CC [M] > /home/hugleo/Desktop/agrsm-20080721/HDA.o > >> In file included from > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:22: > >> include/sound/core.h:281: error: 'SNDRV_CARDS' > >> undeclared here (not in a > >> function) > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:216: > >> warning: function > >> declaration isn't a prototype > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In > >> function > >> 'GetHDABaseAddress': > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:227: > >> warning: assignment makes > >> integer from pointer without a cast > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:229: > >> warning: return makes > >> pointer from integer without a cast > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:219: > >> warning: unused variable > >> 'codec_temp' > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In > >> function 'HDAdump': > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:244: > >> warning: format '%x' > >> expects type 'unsigned int', but argument 2 has > type > >> 'void *' > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:248: > >> warning: format '%08X' > >> expects type 'unsigned int', but argument 3 has > type > >> 'long unsigned int' > >> /home/hugleo/Desktop/agrsm-20080721/HDA.c:248: > >> warning: format '%08X' > >> expects type 'unsigned int', but argument 4 has > type > === message truncated === __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com.