Error when compiling 2.3.48

From: Javi Polo (javipolo@oninet.es)
Date: Thu Mar 02 2000 - 16:09:31 EST


Hi

I've just found that trying to compile 2.3.48 kernel with Creative Ensoniq
AudioPCI 97 (ES1371) support (as a module) does not works ....

Here's the output of what make modules say ... :

make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -DCPU=586 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.3.48/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.3.48/kernel'
make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -DCPU=586 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.3.48/drivers'
make -C block modules
make[2]: Entering directory `/usr/src/linux-2.3.48/drivers/block'
rm -f $TOPDIR/modules/BLOCK_MODULES
echo loop.o >> $TOPDIR/modules/BLOCK_MODULES
echo drivers/block/
drivers/block/
cd $TOPDIR/modules; for i in loop.o ; do \
    ln -sf ../drivers/block//$i $i; done
make[2]: Leaving directory `/usr/src/linux-2.3.48/drivers/block'
make -C char modules
make[2]: Entering directory `/usr/src/linux-2.3.48/drivers/char'
make -C agp modules
make[3]: Entering directory `/usr/src/linux-2.3.48/drivers/char/agp'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/usr/src/linux-2.3.48/drivers/char/agp'
echo drivers/char/
drivers/char/
cd $TOPDIR/modules; for i in i2c-old.o videodev.o bttv.o msp3400.o tda8425.o tda9855.o tea6300.o tuner.o; do \
    ln -sf ../drivers/char//$i $i; done
make[2]: Leaving directory `/usr/src/linux-2.3.48/drivers/char'
make -C net modules
make[2]: Entering directory `/usr/src/linux-2.3.48/drivers/net'
rm -f $TOPDIR/modules/NET_MODULES
echo ppp_async.o ppp_generic.o slhc.o bsd_comp.o ppp_deflate.o >> $TOPDIR/modules/NET_MODULES
echo drivers/net/
drivers/net/
cd $TOPDIR/modules; for i in ppp_async.o ppp_generic.o slhc.o bsd_comp.o ppp_deflate.o; do \
    ln -sf ../drivers/net//$i $i; done
make[2]: Leaving directory `/usr/src/linux-2.3.48/drivers/net'
make -C parport modules
make[2]: Entering directory `/usr/src/linux-2.3.48/drivers/parport'
ld -m elf_i386 -r -o parport.o share.o ieee1284.o ieee1284_ops.o procfs.o init.o
echo drivers/parport/
drivers/parport/
cd $TOPDIR/modules; for i in parport_pc.o parport.o; do \
    ln -sf ../drivers/parport//$i $i; done
make[2]: Leaving directory `/usr/src/linux-2.3.48/drivers/parport'
make -C sound modules
make[2]: Entering directory `/usr/src/linux-2.3.48/drivers/sound'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -DCPU=586 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c ac97_codec.c
In file included from ac97_codec.c:31:
/usr/src/linux/include/linux/ac97_codec.h:135: parse error before `u16'
/usr/src/linux/include/linux/ac97_codec.h:135: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/ac97_codec.h:136: parse error before `u8'
/usr/src/linux/include/linux/ac97_codec.h:136: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/ac97_codec.h:152: `SOUND_MIXER_NRDEVICES' undeclared here (not in a function)
/usr/src/linux/include/linux/ac97_codec.h:153: parse error before `}'
/usr/src/linux/include/linux/ac97_codec.h:155: parse error before `off_t'
/usr/src/linux/include/linux/ac97_codec.h:156: warning: function declaration isn't a prototype
ac97_codec.c:47: `NULL' undeclared here (not in a function)
ac97_codec.c:47: initializer element for `ac97_codec_ids[0].init' is not constant
ac97_codec.c:48: `NULL' undeclared here (not in a function)
ac97_codec.c:48: initializer element for `ac97_codec_ids[1].init' is not constant
ac97_codec.c:49: `NULL' undeclared here (not in a function)
ac97_codec.c:49: initializer element for `ac97_codec_ids[2].init' is not constant
ac97_codec.c:50: `NULL' undeclared here (not in a function)
ac97_codec.c:50: initializer element for `ac97_codec_ids[3].init' is not constant
ac97_codec.c:51: `NULL' undeclared here (not in a function)
ac97_codec.c:51: initializer element for `ac97_codec_ids[4].init' is not constant
ac97_codec.c:52: `NULL' undeclared here (not in a function)
ac97_codec.c:52: initializer element for `ac97_codec_ids[5].init' is not constant
ac97_codec.c:53: `NULL' undeclared here (not in a function)
ac97_codec.c:53: initializer element for `ac97_codec_ids[6].init' is not constant
ac97_codec.c:54: `NULL' undeclared here (not in a function)
ac97_codec.c:54: initializer element for `ac97_codec_ids[7].init' is not constant
ac97_codec.c:55: `NULL' undeclared here (not in a function)
ac97_codec.c:55: initializer element for `ac97_codec_ids[8].init' is not constant
ac97_codec.c:56: `NULL' undeclared here (not in a function)
ac97_codec.c:56: initializer element for `ac97_codec_ids[9].init' is not constant
ac97_codec.c:57: `NULL' undeclared here (not in a function)
ac97_codec.c:57: initializer element for `ac97_codec_ids[10].init' is not constant
ac97_codec.c:58: `NULL' undeclared here (not in a function)
ac97_codec.c:58: initializer element for `ac97_codec_ids[11].init' is not constant
ac97_codec.c:59: `NULL' undeclared here (not in a function)
ac97_codec.c:59: initializer element for `ac97_codec_ids[12].init' is not constant
ac97_codec.c:60: `NULL' undeclared here (not in a function)
ac97_codec.c:60: initializer element for `ac97_codec_ids[13].name' is not constant
ac97_codec.c:60: `NULL' undeclared here (not in a function)
ac97_codec.c:60: initializer element for `ac97_codec_ids[13].init' is not constant
ac97_codec.c:103: `SOUND_MIXER_NRDEVICES' undeclared here (not in a function)
ac97_codec.c:103: variable `mixer_defaults' has initializer but incomplete type
ac97_codec.c:105: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:105: `SOUND_MIXER_VOLUME' undeclared here (not in a function)
ac97_codec.c:105: initializer element for `mixer_defaults' is not constant
ac97_codec.c:105: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:106: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:106: `SOUND_MIXER_BASS' undeclared here (not in a function)
ac97_codec.c:106: initializer element for `mixer_defaults' is not constant
ac97_codec.c:106: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:106: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:107: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:107: `SOUND_MIXER_TREBLE' undeclared here (not in a function)
ac97_codec.c:107: initializer element for `mixer_defaults' is not constant
ac97_codec.c:107: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:107: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:108: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:108: `SOUND_MIXER_PCM' undeclared here (not in a function)
ac97_codec.c:108: initializer element for `mixer_defaults' is not constant
ac97_codec.c:108: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:108: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:109: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:109: `SOUND_MIXER_SPEAKER' undeclared here (not in a function)
ac97_codec.c:109: initializer element for `mixer_defaults' is not constant
ac97_codec.c:109: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:109: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:110: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:110: `SOUND_MIXER_LINE' undeclared here (not in a function)
ac97_codec.c:110: initializer element for `mixer_defaults' is not constant
ac97_codec.c:110: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:110: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:111: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:111: `SOUND_MIXER_MIC' undeclared here (not in a function)
ac97_codec.c:111: initializer element for `mixer_defaults' is not constant
ac97_codec.c:111: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:111: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:112: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:112: `SOUND_MIXER_CD' undeclared here (not in a function)
ac97_codec.c:112: initializer element for `mixer_defaults' is not constant
ac97_codec.c:112: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:112: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:113: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:113: `SOUND_MIXER_ALTPCM' undeclared here (not in a function)
ac97_codec.c:113: initializer element for `mixer_defaults' is not constant
ac97_codec.c:113: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:113: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:114: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:114: `SOUND_MIXER_IGAIN' undeclared here (not in a function)
ac97_codec.c:114: initializer element for `mixer_defaults' is not constant
ac97_codec.c:114: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:114: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:115: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:115: `SOUND_MIXER_LINE1' undeclared here (not in a function)
ac97_codec.c:115: initializer element for `mixer_defaults' is not constant
ac97_codec.c:115: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:115: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:116: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:116: `SOUND_MIXER_PHONEIN' undeclared here (not in a function)
ac97_codec.c:116: initializer element for `mixer_defaults' is not constant
ac97_codec.c:116: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:116: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:117: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:117: `SOUND_MIXER_PHONEOUT' undeclared here (not in a function)
ac97_codec.c:117: initializer element for `mixer_defaults' is not constant
ac97_codec.c:117: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:117: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:118: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:118: `SOUND_MIXER_VIDEO' undeclared here (not in a function)
ac97_codec.c:118: initializer element for `mixer_defaults' is not constant
ac97_codec.c:118: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:118: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:119: warning: braces around scalar initializer for `mixer_defaults'
ac97_codec.c:119: invalid initializer for `mixer_defaults'
ac97_codec.c:119: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:119: warning: excess elements in scalar initializer after `mixer_defaults'
ac97_codec.c:126: `SOUND_MIXER_NRDEVICES' undeclared here (not in a function)
ac97_codec.c:126: variable `ac97_hw' has initializer but incomplete type
ac97_codec.c:127: `SOUND_MIXER_VOLUME' undeclared here (not in a function)
ac97_codec.c:127: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:127: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:127: invalid initializer for `ac97_hw'
ac97_codec.c:127: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:128: `SOUND_MIXER_BASS' undeclared here (not in a function)
ac97_codec.c:128: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:128: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:128: invalid initializer for `ac97_hw'
ac97_codec.c:128: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:128: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:129: `SOUND_MIXER_TREBLE' undeclared here (not in a function)
ac97_codec.c:129: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:129: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:129: invalid initializer for `ac97_hw'
ac97_codec.c:129: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:129: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:130: `SOUND_MIXER_PCM' undeclared here (not in a function)
ac97_codec.c:130: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:130: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:130: invalid initializer for `ac97_hw'
ac97_codec.c:130: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:130: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:131: `SOUND_MIXER_SPEAKER' undeclared here (not in a function)
ac97_codec.c:131: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:131: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:131: invalid initializer for `ac97_hw'
ac97_codec.c:131: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:131: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:132: `SOUND_MIXER_LINE' undeclared here (not in a function)
ac97_codec.c:132: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:132: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:132: invalid initializer for `ac97_hw'
ac97_codec.c:132: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:132: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:133: `SOUND_MIXER_MIC' undeclared here (not in a function)
ac97_codec.c:133: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:133: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:133: invalid initializer for `ac97_hw'
ac97_codec.c:133: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:133: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:134: `SOUND_MIXER_CD' undeclared here (not in a function)
ac97_codec.c:134: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:134: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:134: invalid initializer for `ac97_hw'
ac97_codec.c:134: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:134: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:135: `SOUND_MIXER_ALTPCM' undeclared here (not in a function)
ac97_codec.c:135: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:135: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:135: invalid initializer for `ac97_hw'
ac97_codec.c:135: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:135: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:136: `SOUND_MIXER_IGAIN' undeclared here (not in a function)
ac97_codec.c:136: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:136: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:136: invalid initializer for `ac97_hw'
ac97_codec.c:136: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:136: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:137: `SOUND_MIXER_LINE1' undeclared here (not in a function)
ac97_codec.c:137: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:137: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:137: invalid initializer for `ac97_hw'
ac97_codec.c:137: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:137: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:138: `SOUND_MIXER_PHONEIN' undeclared here (not in a function)
ac97_codec.c:138: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:138: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:138: invalid initializer for `ac97_hw'
ac97_codec.c:138: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:138: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:139: `SOUND_MIXER_PHONEOUT' undeclared here (not in a function)
ac97_codec.c:139: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:139: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:139: invalid initializer for `ac97_hw'
ac97_codec.c:139: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:139: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:140: `SOUND_MIXER_VIDEO' undeclared here (not in a function)
ac97_codec.c:140: nonconstant array index in initializer for `ac97_hw'
ac97_codec.c:140: warning: braces around scalar initializer for `ac97_hw'
ac97_codec.c:140: invalid initializer for `ac97_hw'
ac97_codec.c:140: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:140: warning: excess elements in scalar initializer after `ac97_hw'
ac97_codec.c:156: `SOUND_MIXER_MIC' undeclared here (not in a function)
ac97_codec.c:156: initializer element for `ac97_rm2oss[0]' is not constant
ac97_codec.c:157: `SOUND_MIXER_CD' undeclared here (not in a function)
ac97_codec.c:157: initializer element for `ac97_rm2oss[1]' is not constant
ac97_codec.c:158: `SOUND_MIXER_VIDEO' undeclared here (not in a function)
ac97_codec.c:158: initializer element for `ac97_rm2oss[2]' is not constant
ac97_codec.c:159: `SOUND_MIXER_LINE1' undeclared here (not in a function)
ac97_codec.c:159: initializer element for `ac97_rm2oss[3]' is not constant
ac97_codec.c:160: `SOUND_MIXER_LINE' undeclared here (not in a function)
ac97_codec.c:160: initializer element for `ac97_rm2oss[4]' is not constant
ac97_codec.c:162: `SOUND_MIXER_PHONEIN' undeclared here (not in a function)
ac97_codec.c:162: initializer element for `ac97_rm2oss[7]' is not constant
ac97_codec.c:162: initializer element for `ac97_rm2oss' is not constant
ac97_codec.c:166: `SOUND_MIXER_MIC' undeclared here (not in a function)
ac97_codec.c:166: nonconstant array index in initializer for `ac97_oss_rm'
ac97_codec.c:167: `SOUND_MIXER_CD' undeclared here (not in a function)
ac97_codec.c:167: nonconstant array index in initializer for `ac97_oss_rm'
ac97_codec.c:168: `SOUND_MIXER_VIDEO' undeclared here (not in a function)
ac97_codec.c:168: nonconstant array index in initializer for `ac97_oss_rm'
ac97_codec.c:169: `SOUND_MIXER_LINE1' undeclared here (not in a function)
ac97_codec.c:169: nonconstant array index in initializer for `ac97_oss_rm'
ac97_codec.c:170: `SOUND_MIXER_LINE' undeclared here (not in a function)
ac97_codec.c:170: nonconstant array index in initializer for `ac97_oss_rm'
ac97_codec.c:171: `SOUND_MIXER_PHONEIN' undeclared here (not in a function)
ac97_codec.c:171: nonconstant array index in initializer for `ac97_oss_rm'
ac97_codec.c: In function `ac97_read_mixer':
ac97_codec.c:178: `u16' undeclared (first use in this function)
ac97_codec.c:178: (Each undeclared identifier is reported only once
ac97_codec.c:178: for each function it appears in.)
ac97_codec.c:178: parse error before `val'
ac97_codec.c:182: `val' undeclared (first use in this function)
ac97_codec.c:182: dereferencing pointer to incomplete type
ac97_codec.c:184: `SOUND_MASK_VOLUME' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_PCM' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_LINE' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_CD' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_ALTPCM' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_IGAIN' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_LINE1' undeclared (first use in this function)
ac97_codec.c:184: `SOUND_MASK_VIDEO' undeclared (first use in this function)
ac97_codec.c:191: `SOUND_MIXER_IGAIN' undeclared (first use in this function)
ac97_codec.c:199: `SOUND_MIXER_SPEAKER' undeclared (first use in this function)
ac97_codec.c:201: `SOUND_MIXER_PHONEIN' undeclared (first use in this function)
ac97_codec.c:203: `SOUND_MIXER_PHONEOUT' undeclared (first use in this function)
ac97_codec.c:205: `SOUND_MIXER_MIC' undeclared (first use in this function)
ac97_codec.c:209: `SOUND_MIXER_BASS' undeclared (first use in this function)
ac97_codec.c:211: `SOUND_MIXER_TREBLE' undeclared (first use in this function)
ac97_codec.c:186: warning: `left' might be used uninitialized in this function
ac97_codec.c:186: warning: `right' might be used uninitialized in this function
ac97_codec.c: In function `ac97_write_mixer':
ac97_codec.c:228: `u16' undeclared (first use in this function)
ac97_codec.c:228: parse error before `val'
ac97_codec.c:238: `SOUND_MASK_VOLUME' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_PCM' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_LINE' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_CD' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_ALTPCM' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_IGAIN' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_LINE1' undeclared (first use in this function)
ac97_codec.c:238: `SOUND_MASK_VIDEO' undeclared (first use in this function)
ac97_codec.c:240: `SOUND_MIXER_IGAIN' undeclared (first use in this function)
ac97_codec.c:247: `val' undeclared (first use in this function)
ac97_codec.c:248: `SOUND_MIXER_SPEAKER' undeclared (first use in this function)
ac97_codec.c:250: `SOUND_MIXER_PHONEIN' undeclared (first use in this function)
ac97_codec.c:252: `SOUND_MIXER_PHONEOUT' undeclared (first use in this function)
ac97_codec.c:254: `SOUND_MIXER_MIC' undeclared (first use in this function)
ac97_codec.c:255: dereferencing pointer to incomplete type
ac97_codec.c:259: `SOUND_MIXER_BASS' undeclared (first use in this function)
ac97_codec.c:260: dereferencing pointer to incomplete type
ac97_codec.c:262: `SOUND_MIXER_TREBLE' undeclared (first use in this function)
ac97_codec.c:263: dereferencing pointer to incomplete type
ac97_codec.c:269: dereferencing pointer to incomplete type
ac97_codec.c: In function `ac97_set_mixer':
ac97_codec.c:289: dereferencing pointer to incomplete type
ac97_codec.c:290: dereferencing pointer to incomplete type
ac97_codec.c: In function `ac97_recmask_io':
ac97_codec.c:303: dereferencing pointer to incomplete type
ac97_codec.c:318: dereferencing pointer to incomplete type
ac97_codec.c:299: warning: `val' might be used uninitialized in this function
ac97_codec.c: In function `ac97_mixer_ioctl':
ac97_codec.c:327: `SOUND_MIXER_INFO' undeclared (first use in this function)
ac97_codec.c:328: `mixer_info' undeclared (first use in this function)
ac97_codec.c:328: parse error before `info'
ac97_codec.c:329: warning: implicit declaration of function `strncpy'
ac97_codec.c:329: `info' undeclared (first use in this function)
ac97_codec.c:329: dereferencing pointer to incomplete type
ac97_codec.c:330: dereferencing pointer to incomplete type
ac97_codec.c:331: dereferencing pointer to incomplete type
ac97_codec.c:332: warning: implicit declaration of function `copy_to_user'
ac97_codec.c:333: `EFAULT' undeclared (first use in this function)
ac97_codec.c:336: `SOUND_OLD_MIXER_INFO' undeclared (first use in this function)
ac97_codec.c:337: `_old_mixer_info' undeclared (first use in this function)
ac97_codec.c:337: parse error before `info'
ac97_codec.c:338: dereferencing pointer to incomplete type
ac97_codec.c:339: dereferencing pointer to incomplete type
ac97_codec.c:345: warning: implicit declaration of function `_IOC_TYPE'
ac97_codec.c:345: warning: implicit declaration of function `_IOC_SIZE'
ac97_codec.c:346: `EINVAL' undeclared (first use in this function)
ac97_codec.c:348: `OSS_GETVERSION' undeclared (first use in this function)
ac97_codec.c:349: warning: implicit declaration of function `put_user'
ac97_codec.c:349: `SOUND_VERSION' undeclared (first use in this function)
ac97_codec.c:351: warning: implicit declaration of function `_IOC_DIR'
ac97_codec.c:351: `_IOC_READ' undeclared (first use in this function)
ac97_codec.c:352: warning: implicit declaration of function `_IOC_NR'
ac97_codec.c:353: `SOUND_MIXER_RECSRC' undeclared (first use in this function)
ac97_codec.c:354: dereferencing pointer to incomplete type
ac97_codec.c:357: dereferencing pointer to incomplete type
ac97_codec.c:361: `SOUND_MIXER_DEVMASK' undeclared (first use in this function)
ac97_codec.c:362: dereferencing pointer to incomplete type
ac97_codec.c:365: `SOUND_MIXER_RECMASK' undeclared (first use in this function)
ac97_codec.c:366: dereferencing pointer to incomplete type
ac97_codec.c:369: `SOUND_MIXER_STEREODEVS' undeclared (first use in this function)
ac97_codec.c:370: dereferencing pointer to incomplete type
ac97_codec.c:373: `SOUND_MIXER_CAPS' undeclared (first use in this function)
ac97_codec.c:374: `SOUND_CAP_EXCL_INPUT' undeclared (first use in this function)
ac97_codec.c:355: warning: unreachable code at beginning of switch statement
ac97_codec.c:380: dereferencing pointer to incomplete type
ac97_codec.c:384: dereferencing pointer to incomplete type
ac97_codec.c:391: `_IOC_WRITE' undeclared (first use in this function)
ac97_codec.c:392: dereferencing pointer to incomplete type
ac97_codec.c:393: warning: implicit declaration of function `get_user_ret'
ac97_codec.c:397: dereferencing pointer to incomplete type
ac97_codec.c:398: dereferencing pointer to incomplete type
ac97_codec.c:400: dereferencing pointer to incomplete type
ac97_codec.c:406: dereferencing pointer to incomplete type
ac97_codec.c: At top level:
ac97_codec.c:418: parse error before `off_t'
ac97_codec.c:420: warning: function declaration isn't a prototype
ac97_codec.c: In function `ac97_read_proc_R3f729859':
ac97_codec.c:424: `data' undeclared (first use in this function)
ac97_codec.c:424: `NULL' undeclared (first use in this function)
ac97_codec.c:425: `ENODEV' undeclared (first use in this function)
ac97_codec.c:427: dereferencing pointer to incomplete type
ac97_codec.c:428: dereferencing pointer to incomplete type
ac97_codec.c:429: `page' undeclared (first use in this function)
ac97_codec.c:429: dereferencing pointer to incomplete type
ac97_codec.c:432: dereferencing pointer to incomplete type
ac97_codec.c:437: dereferencing pointer to incomplete type
ac97_codec.c:458: dereferencing pointer to incomplete type
ac97_codec.c:421: warning: `cap' might be used uninitialized in this function
ac97_codec.c:421: warning: `extid' might be used uninitialized in this function
ac97_codec.c:421: warning: `id1' might be used uninitialized in this function
ac97_codec.c:421: warning: `id2' might be used uninitialized in this function
ac97_codec.c: In function `ac97_probe_codec_Ra3b65b47':
ac97_codec.c:489: `u16' undeclared (first use in this function)
ac97_codec.c:489: parse error before `id1'
ac97_codec.c:494: dereferencing pointer to incomplete type
ac97_codec.c:495: `cap' undeclared (first use in this function)
ac97_codec.c:495: dereferencing pointer to incomplete type
ac97_codec.c:498: dereferencing pointer to incomplete type
ac97_codec.c:498: `NULL' undeclared (first use in this function)
ac97_codec.c:499: dereferencing pointer to incomplete type
ac97_codec.c:500: `id1' undeclared (first use in this function)
ac97_codec.c:500: dereferencing pointer to incomplete type
ac97_codec.c:501: `id2' undeclared (first use in this function)
ac97_codec.c:501: dereferencing pointer to incomplete type
ac97_codec.c:504: dereferencing pointer to incomplete type
ac97_codec.c:505: dereferencing pointer to incomplete type
ac97_codec.c:509: dereferencing pointer to incomplete type
ac97_codec.c:510: dereferencing pointer to incomplete type
ac97_codec.c:512: dereferencing pointer to incomplete type
ac97_codec.c:515: dereferencing pointer to incomplete type
ac97_codec.c:515: `SOUND_MASK_VOLUME' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_PCM' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_LINE' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_CD' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_ALTPCM' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_IGAIN' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_LINE1' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_VIDEO' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_BASS' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_TREBLE' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_SPEAKER' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_MIC' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_PHONEIN' undeclared (first use in this function)
ac97_codec.c:515: `SOUND_MASK_PHONEOUT' undeclared (first use in this function)
ac97_codec.c:516: dereferencing pointer to incomplete type
ac97_codec.c:517: dereferencing pointer to incomplete type
ac97_codec.c:519: dereferencing pointer to incomplete type
ac97_codec.c:522: dereferencing pointer to incomplete type
ac97_codec.c:523: dereferencing pointer to incomplete type
ac97_codec.c:524: dereferencing pointer to incomplete type
ac97_codec.c:525: dereferencing pointer to incomplete type
ac97_codec.c:528: dereferencing pointer to incomplete type
ac97_codec.c:529: dereferencing pointer to incomplete type
ac97_codec.c:532: dereferencing pointer to incomplete type
ac97_codec.c:532: dereferencing pointer to incomplete type
ac97_codec.c:533: dereferencing pointer to incomplete type
ac97_codec.c:537: `SOUND_MIXER_NRDEVICES' undeclared (first use in this function)
ac97_codec.c:541: dereferencing pointer to incomplete type
ac97_codec.c: In function `sigmatel_init':
ac97_codec.c:551: dereferencing pointer to incomplete type
ac97_codec.c:553: dereferencing pointer to incomplete type
ac97_codec.c: At top level:
ac97_codec.c:103: warning: `mixer_defaults' defined but not used
ac97_codec.c:126: warning: `ac97_hw' defined but not used
ac97_codec.c:550: warning: `sigmatel_init' defined but not used
make[2]: *** [ac97_codec.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.48/drivers/sound'
make[1]: *** [_modsubdir_sound] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.48/drivers'
make: *** [_mod_drivers] Error 2

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d--- s-:- a-- C+++ UL++++$ P+> L+++$ !E
W+ !N-- o? K- w--- O!? M-- V-- PS+++ PE-- Y+ PGP+
t- X+ R+ tv+ b++ DI D+ G e h! r++ y?
------END GEEK CODE BLOCK------
Javi Polo

- 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 : Tue Mar 07 2000 - 21:00:13 EST