On Mon, 14 Oct 2002 11:45:12 +0930 "Tom Lanyon" <[EMAIL PROTECTED]> wrote:
> Hi all, I'm trying to compile alsa-driver-0.9.0rc3 on my debian 3.0r0 box > running 2.4.20-pre10 kernel, I keep getting this error when trying to make: > > gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa-driver-0.9.0rc3/inc > lude -I/lib/modules/2.4.20-pre10/build/include -O2 -mpreferred-stack-boundar > y=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe > -DEXPORT_SYMTAB -c sound.c > In file included from /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:124, > from > /usr/src/alsa-driver-0.9.0rc3/include/sound/driver.h:43, > from ../alsa-kernel/core/sound.c:22, > from sound.c:2: > /usr/src/alsa-driver-0.9.0rc3/include/linux/isapnp.h:334: warning: `struct > isapnp_card_id' declared inside parameter list > /usr/src/alsa-driver-0.9.0rc3/include/linux/isapnp.h:334: warning: its scope > is only this definition or declaration, which is probably not what you want. > In file included from > /usr/src/alsa-driver-0.9.0rc3/include/sound/driver.h:43, > from ../alsa-kernel/core/sound.c:22, > from sound.c:2: > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:181: parse error before `*' > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:182: warning: return-type > defaults to `int' > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h: In function > `usb_alloc_urb_wrapper': > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:183: warning: return from > incompatible pointer type > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h: At top level: > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:185: parse error before `*' > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:186: warning: function > declaration isn't a prototype > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h: In function > `usb_submit_urb_wrapper': > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:187: `urb' undeclared (first > use in this function) > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:187: (Each undeclared > identifier is reported only once > /usr/src/alsa-driver-0.9.0rc3/include/adriver.h:187: for each function it > appears in.) > make[1]: *** [sound.o] Error 1 > make[1]: Leaving directory `/usr/src/alsa-driver-0.9.0rc3/acore' > make: *** [compile] Error 1 > > Does anyone know what could be causing this, any help is much appreciated, > thankyou. > > Tom Lanyon > [EMAIL PROTECTED] http://www.alsa-project.org/ : Latest News page 1 of 4 2002-08-22 Note for compiling alsa-driver-0.9.0rc3: Please remove the file - alsa-driver-0.9.0rc3/include/linux/isapnp.h - before running the configure script. HTH, -Frans ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user