2.4.23: aic7xxx/aicasm fails to build

Ralf Hildebrandt
2003-12-05T09:38:10Z

Hi!

When I try to build 2.4.23, I get:

...
/usr/bin/make -C scsi
make[3]: Entering directory /usr/src/linux-2.4.23/drivers/scsi'
/usr/bin/make -C aic7xxx
make[4]: Entering directory /usr/src/linux-2.4.23/drivers/scsi/aic7xxx'
/usr/bin/make all_targets
make[5]: Entering directory /usr/src/linux-2.4.23/drivers/scsi/aic7xxx'
/usr/bin/make -C aicasm
make[6]: Entering directory /usr/src/linux-2.4.23/drivers/scsi/aic7xxx/aicasm'
yacc -d -b aicasm_gram aicasm_gram.y
mv aicasm_gram.tab.c aicasm_gram.c
mv aicasm_gram.tab.h aicasm_gram.h
yacc -d -b aicasm_macro_gram -p mm aicasm_macro_gram.y
mv aicasm_macro_gram.tab.c aicasm_macro_gram.c
mv aicasm_macro_gram.tab.h aicasm_macro_gram.h
lex -oaicasm_scan.c aicasm_scan.l
lex -Pmm -oaicasm_macro_scan.c aicasm_macro_scan.l
gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ld
aicasm_gram.y:1933: warning: type mismatch with previous implicit declaration
aicasm_gram.tab.c:3055: warning: previous implicit declaration of yyerror'
aicasm_gram.y:1933: warning: yyerror' was previously implicitly declared to return int'
aicasm_macro_gram.y:162: warning: type mismatch with previous implicit declaration
aicasm_macro_gram.tab.c:1275: warning: previous implicit declaration of mmerror'
aicasm_macro_gram.y:162: warning: mmerror' was previously implicitly declared to return int'
aicasm_scan.l: In function expand_macro':
aicasm_scan.l:522: error: yytext_ptr' undeclared (first use in this function)
aicasm_scan.l:522: error: (Each undeclared identifier is reported only once
aicasm_scan.l:522: error: for each function it appears in.)
make[6]: *** [aicasm] Error 1
make[6]: Leaving directory /usr/src/linux-2.4.23/drivers/scsi/aic7xxx/aicasm'
make[5]: *** [aicasm/aicasm] Error 2
make[5]: Leaving directory /usr/src/linux-2.4.23/drivers/scsi/aic7xxx'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory /usr/src/linux-2.4.23/drivers/scsi/aic7xxx'
make[3]: *** [_subdir_aic7xxx] Error 2
make[3]: Leaving directory /usr/src/linux-2.4.23/drivers/scsi'
make[2]: *** [_subdir_scsi] Error 2
make[2]: Leaving directory /usr/src/linux-2.4.23/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory /usr/src/linux-2.4.23'
make: *** [stamp-build] Error 2

--
Ralf Hildebrandt (Im Auftrag des Referat V a) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
Referat V a - Kommunikationsnetze - AIM. ralfpostfix