compile error on awe_wave.c with 2.3.99pre3-4

From: Christopher W. Fisher (chrisf@shadow.net)
Date: Tue Mar 21 2000 - 14:52:59 EST


This has been in all of the 2.3.99 series so far,
to trigger this error change #undef CONFIG_AWE32_MIXER
to #define CONFIG_AWE32_MIXER in awe_wave.h, if this is undef'd the kernel
compiles and sound functions normally.

2.3.99pre3-4 has been applied to a pristine 2.3.99pre2 src tree, and the
compiler and kernel I am using is:

binturong# uname -a
Linux binturong.shadow.net 2.3.99-pre3 #4 Mon Mar 20 22:12:18
/etc/localtime 2000 i586 unknown
binturong# gcc --version
pgcc-2.95.2
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#

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:35 EST