On May 11, 2004 07:57 am, Clemens Ladisch wrote:
> Gwyneth Morrison wrote:

> See <http://sourceforge.net/cvs/?group_id=27464> under "Anonymous CVS
> Access".  Use . as modulename.  You need the autotools to be able to
> compile the alsa-driver package (see the INSTALL file).

Got it ok thanks. I have the tools.

> Please try the patch below.

Ok applied the patch. Had a problem with compile. (attached)
Looks like an extra brace. I speculated on which one it was but managed to 
cause an internal compiler error. (oops) I will let you take a look.
BTW I am using gcc 2.95.3 but had no problems with 1.0.4.

Gwyneth

>
> HTH
> Clemens
gcc -D__KERNEL__ -DMODULE=1 -I/root/alsacvs/alsa-driver/include  -I/lib/modules/2.4.25/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -I/root/alsacvs/alsa-driver/alsa-kernel/usb  -DEXPORT_SYMTAB -c usbaudio.c
In file included from usbaudio.c:1932:
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:655: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:655: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:667: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:667: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:668: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:668: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:680: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:680: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:681: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:681: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:693: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:693: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:694: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:694: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:719: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:719: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:720: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:720: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:728: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:728: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:731: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:731: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:743: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:743: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:744: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:744: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:756: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:756: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:757: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:757: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:769: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:769: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:770: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:770: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:782: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:782: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:783: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:783: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:800: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:800: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:801: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:801: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:813: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:813: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:814: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:814: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:826: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:826: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:827: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:827: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:839: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:839: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:840: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:840: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:852: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:852: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:853: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:853: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:865: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:865: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:866: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:866: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:878: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:878: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:881: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:881: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:894: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:894: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:896: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:896: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:905: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:905: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:907: extra brace group at end of initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:907: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:915: warning: excess elements in struct initializer
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:915: warning: (near initialization for `usb_audio_ids[66]')
/root/alsacvs/alsa-driver/alsa-kernel/usb/usbquirks.h:918: warning: This file contains more `{'s than `}'s.
usbaudio.c:1933: extra brace group at end of initializer
usbaudio.c:1933: (near initialization for `usb_audio_ids[66]')
usbaudio.c:1935: warning: excess elements in struct initializer
usbaudio.c:1935: warning: (near initialization for `usb_audio_ids[66]')
usbaudio.c:1936: extra brace group at end of initializer
usbaudio.c:1936: (near initialization for `usb_audio_ids[66]')
usbaudio.c:1936: warning: excess elements in struct initializer
usbaudio.c:1936: warning: (near initialization for `usb_audio_ids[66]')
usbaudio.c:1937: parse error before `;'
usbaudio.c:1946: unknown field `probe' specified in initializer
usbaudio.c:1946: warning: missing braces around initializer
usbaudio.c:1946: warning: (near initialization for `usb_audio_ids[67]')
usbaudio.c:1946: warning: initialization makes integer from pointer without a cast
usbaudio.c:1946: initializer element is not computable at load time
usbaudio.c:1946: (near initialization for `usb_audio_ids[67].match_flags')
usbaudio.c:1947: unknown field `disconnect' specified in initializer
usbaudio.c:1947: warning: initialization makes integer from pointer without a cast
usbaudio.c:1947: initializer element is not computable at load time
usbaudio.c:1947: (near initialization for `usb_audio_ids[67].idVendor')
usbaudio.c:1949: unknown field `driver_list' specified in initializer
usbaudio.c:1949: warning: braces around scalar initializer
usbaudio.c:1949: warning: (near initialization for `usb_audio_ids[67].idProduct')
usbaudio.c:1949: `usb_audio_driver' undeclared here (not in a function)
usbaudio.c:1949: initializer element is not constant
usbaudio.c:1949: (near initialization for `usb_audio_ids[67].idProduct')
usbaudio.c:1949: `usb_audio_driver' undeclared here (not in a function)
usbaudio.c:1949: warning: excess elements in scalar initializer
usbaudio.c:1949: warning: (near initialization for `usb_audio_ids[67].idProduct')
usbaudio.c:1951: unknown field `id_table' specified in initializer
usbaudio.c:1951: warning: initialization makes integer from pointer without a cast
usbaudio.c:1951: initializer element is not computable at load time
usbaudio.c:1951: (near initialization for `usb_audio_ids[67].bcdDevice_lo')
usbaudio.c: In function `snd_usb_create_streams':
usbaudio.c:2654: `usb_audio_driver' undeclared (first use in this function)
usbaudio.c:2654: (Each undeclared identifier is reported only once
usbaudio.c:2654: for each function it appears in.)
usbaudio.c: In function `create_composite_quirk':
usbaudio.c:2860: `usb_audio_driver' undeclared (first use in this function)
usbaudio.c: In function `snd_usb_audio_disconnect':
usbaudio.c:3207: `usb_audio_driver' undeclared (first use in this function)
usbaudio.c: In function `snd_usb_audio_init':
usbaudio.c:3252: `usb_audio_driver' undeclared (first use in this function)
usbaudio.c: In function `snd_usb_audio_cleanup':
usbaudio.c:3259: `usb_audio_driver' undeclared (first use in this function)
usbaudio.c: At top level:
usbaudio.c:78: warning: `boot_devs' defined but not used
make[1]: *** [usbaudio.o] Error 1
make[1]: Leaving directory `/root/alsacvs/alsa-driver/usb'
make: *** [compile] Error 1

Reply via email to