patch 2.4.21 pre7 bug

Ash Darkmoore (palclan@host.sk)
Wed, 09 Apr 2003 16:58:10 +0200


I did not tried another pre 2.4.21 patch, but as the last modification
to AC97 was done in prepatch 1, I suppose all prepatch are affected
by this problem:

make -C sound modules
make[2]: Entering directory `/usr/src/linux-pre-2.4.21/drivers/sound'
gcc -D__KERNEL__ -I/usr/src/linux-pre-2.4.21/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-pre-2.4.21/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sound_core -DEXPORT_SYMTAB -c
sound_core.c
gcc -D__KERNEL__ -I/usr/src/linux-pre-2.4.21/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-pre-2.4.21/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sound_firmware -c -o
sound_firmware.o sound_firmware.c
ld -m elf_i386 -r -o soundcore.o sound_core.o sound_firmware.o
gcc -D__KERNEL__ -I/usr/src/linux-pre-2.4.21/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-pre-2.4.21/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=ac97_codec -DEXPORT_SYMTAB -c
ac97_codec.c
ac97_codec.c:131: `AC97_NO_PCM_VOLUME' undeclared here (not in a function)
ac97_codec.c:131: initializer element is not constant
ac97_codec.c:131: (near initialization for `ac97_codec_ids[12].flags')
ac97_codec.c:131: initializer element is not constant
ac97_codec.c:131: (near initialization for `ac97_codec_ids[12]')
ac97_codec.c:132: `AC97_NO_PCM_VOLUME' undeclared here (not in a function)
ac97_codec.c:132: initializer element is not constant
ac97_codec.c:132: (near initialization for `ac97_codec_ids[13].flags')
ac97_codec.c:132: initializer element is not constant
ac97_codec.c:132: (near initialization for `ac97_codec_ids[13]')
ac97_codec.c:133: `AC97_NO_PCM_VOLUME' undeclared here (not in a function)
ac97_codec.c:133: initializer element is not constant
ac97_codec.c:133: (near initialization for `ac97_codec_ids[14].flags')
ac97_codec.c:133: initializer element is not constant
ac97_codec.c:133: (near initialization for `ac97_codec_ids[14]')
ac97_codec.c:134: initializer element is not constant
ac97_codec.c:134: (near initialization for `ac97_codec_ids[15]')
ac97_codec.c:135: initializer element is not constant
ac97_codec.c:135: (near initialization for `ac97_codec_ids[16]')
ac97_codec.c:136: initializer element is not constant
ac97_codec.c:136: (near initialization for `ac97_codec_ids[17]')
ac97_codec.c:137: initializer element is not constant
ac97_codec.c:137: (near initialization for `ac97_codec_ids[18]')
ac97_codec.c:138: initializer element is not constant
ac97_codec.c:138: (near initialization for `ac97_codec_ids[19]')
ac97_codec.c:139: initializer element is not constant
ac97_codec.c:139: (near initialization for `ac97_codec_ids[20]')
ac97_codec.c:140: initializer element is not constant
ac97_codec.c:140: (near initialization for `ac97_codec_ids[21]')
ac97_codec.c:141: initializer element is not constant
ac97_codec.c:141: (near initialization for `ac97_codec_ids[22]')
ac97_codec.c:142: initializer element is not constant
ac97_codec.c:142: (near initialization for `ac97_codec_ids[23]')
ac97_codec.c:143: initializer element is not constant
ac97_codec.c:143: (near initialization for `ac97_codec_ids[24]')
ac97_codec.c:144: `AC97_DELUDED_MODEM' undeclared here (not in a function)
ac97_codec.c:144: initializer element is not constant
ac97_codec.c:144: (near initialization for `ac97_codec_ids[25].flags')
ac97_codec.c:144: initializer element is not constant
ac97_codec.c:144: (near initialization for `ac97_codec_ids[25]')
ac97_codec.c:145: initializer element is not constant
ac97_codec.c:145: (near initialization for `ac97_codec_ids[26]')
ac97_codec.c:146: initializer element is not constant
ac97_codec.c:146: (near initialization for `ac97_codec_ids[27]')
ac97_codec.c:147: initializer element is not constant
ac97_codec.c:147: (near initialization for `ac97_codec_ids[28]')
ac97_codec.c:148: initializer element is not constant
ac97_codec.c:148: (near initialization for `ac97_codec_ids[29]')
ac97_codec.c:149: initializer element is not constant
ac97_codec.c:149: (near initialization for `ac97_codec_ids[30]')
ac97_codec.c:150: initializer element is not constant
ac97_codec.c:150: (near initialization for `ac97_codec_ids[31]')
ac97_codec.c:151: initializer element is not constant
ac97_codec.c:151: (near initialization for `ac97_codec_ids[32]')
ac97_codec.c:152: initializer element is not constant
ac97_codec.c:152: (near initialization for `ac97_codec_ids[33]')
ac97_codec.c:153: initializer element is not constant
ac97_codec.c:153: (near initialization for `ac97_codec_ids[34]')
ac97_codec.c:154: initializer element is not constant
ac97_codec.c:154: (near initialization for `ac97_codec_ids[35]')
ac97_codec.c:155: initializer element is not constant
ac97_codec.c:155: (near initialization for `ac97_codec_ids[36]')
ac97_codec.c:156: initializer element is not constant
ac97_codec.c:156: (near initialization for `ac97_codec_ids[37]')
ac97_codec.c:157: initializer element is not constant
ac97_codec.c:157: (near initialization for `ac97_codec_ids[38]')
ac97_codec.c:158: initializer element is not constant
ac97_codec.c:158: (near initialization for `ac97_codec_ids[39]')
ac97_codec.c:159: initializer element is not constant
ac97_codec.c:159: (near initialization for `ac97_codec_ids[40]')
ac97_codec.c:160: initializer element is not constant
ac97_codec.c:160: (near initialization for `ac97_codec_ids[41]')
ac97_codec.c:161: initializer element is not constant
ac97_codec.c:161: (near initialization for `ac97_codec_ids[42]')
ac97_codec.c:162: initializer element is not constant
ac97_codec.c:162: (near initialization for `ac97_codec_ids[43]')
ac97_codec.c:163: initializer element is not constant
ac97_codec.c:163: (near initialization for `ac97_codec_ids[44]')
ac97_codec.c:164: initializer element is not constant
ac97_codec.c:164: (near initialization for `ac97_codec_ids[45]')
ac97_codec.c:165: initializer element is not constant
ac97_codec.c:165: (near initialization for `ac97_codec_ids[46]')
ac97_codec.c:166: initializer element is not constant
ac97_codec.c:166: (near initialization for `ac97_codec_ids[47]')
ac97_codec.c:167: initializer element is not constant
ac97_codec.c:167: (near initialization for `ac97_codec_ids[48]')
ac97_codec.c:168: initializer element is not constant
ac97_codec.c:168: (near initialization for `ac97_codec_ids[49]')
ac97_codec.c:169: initializer element is not constant
ac97_codec.c:169: (near initialization for `ac97_codec_ids[50]')
ac97_codec.c: In function `ac97_probe_codec_Rsmp_84601c2b':
ac97_codec.c:763: structure has no member named `modem'
ac97_codec.c:774: structure has no member named `flags'
ac97_codec.c:780: structure has no member named `flags'
ac97_codec.c:780: `AC97_DELUDED_MODEM' undeclared (first use in this
function)
ac97_codec.c:780: (Each undeclared identifier is reported only once
ac97_codec.c:780: for each function it appears in.)
ac97_codec.c:781: structure has no member named `modem'
ac97_codec.c:786: structure has no member named `modem'
ac97_codec.c: In function `ac97_init_mixer':
ac97_codec.c:808: structure has no member named `flags'
ac97_codec.c:808: `AC97_NO_PCM_VOLUME' undeclared (first use in this
function)
ac97_codec.c:839: structure has no member named `flags'
make[2]: *** [ac97_codec.o] Error 1
make[2]: Leaving directory `/usr/src/linux-pre-2.4.21/drivers/sound'
make[1]: *** [_modsubdir_sound] Error 2
make[1]: Leaving directory `/usr/src/linux-pre-2.4.21/drivers'
make: *** [_mod_drivers] Error 2

Kind regards,

Ash

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