compile problem with #define CONFIG_AWE32_MIXER in 2.3.99pre3-6

From: Christopher W. Fisher (chrisf@shadow.net)
Date: Wed Mar 22 2000 - 04:40:32 EST


binturong# gcc --verbose
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.95.2/specs
gcc version pgcc-2.95.2 19991024 (release)
binturong#

with this macro undefined, the kernel compiles without much complaint
successfully.

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -DCPU=586
-march=i586 -c -o awe_wave.o awe_wave.c
awe_wave.c:4294: warning: missing braces around initializer
awe_wave.c:4294: warning: (near initialization for
`awe_mixer_operations.name')
awe_wave.c:4294: warning: initialization makes integer from pointer
without a cast
awe_wave.c:4294: initializer element is not computable at load time
awe_wave.c:4294: (near initialization for `awe_mixer_operations.name[0]')
make[3]: *** [awe_wave.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/sound'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/sound'
make[1]: *** [_subdir_sound] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:36 EST