* 2.4.23: aic7xxx/aicasm fails to build
@ 2003-12-05 9:38 Ralf Hildebrandt
2003-12-06 17:46 ` Ethan Weinstein
0 siblings, 1 reply; 3+ messages in thread
From: Ralf Hildebrandt @ 2003-12-05 9:38 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.23: aic7xxx/aicasm fails to build
2003-12-05 9:38 2.4.23: aic7xxx/aicasm fails to build Ralf Hildebrandt
@ 2003-12-06 17:46 ` Ethan Weinstein
2003-12-06 21:03 ` Ralf Hildebrandt
0 siblings, 1 reply; 3+ messages in thread
From: Ethan Weinstein @ 2003-12-06 17:46 UTC (permalink / raw)
To: Ralf Hildebrandt; +Cc: linux-kernel
Ralf Hildebrandt wrote:
> 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,
I believe if you turn off
CONFIG_AIC7XXX_BUILD_FIRMWARE in your config, it should build.
Ethan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.23: aic7xxx/aicasm fails to build
2003-12-06 17:46 ` Ethan Weinstein
@ 2003-12-06 21:03 ` Ralf Hildebrandt
0 siblings, 0 replies; 3+ messages in thread
From: Ralf Hildebrandt @ 2003-12-06 21:03 UTC (permalink / raw)
To: linux-kernel
* Ethan Weinstein <lists@stinkfoot.org>:
> I believe if you turn off
> CONFIG_AIC7XXX_BUILD_FIRMWARE in your config, it should build.
Yes, of course. But that was not really the question :)
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-06 21:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-05 9:38 2.4.23: aic7xxx/aicasm fails to build Ralf Hildebrandt
2003-12-06 17:46 ` Ethan Weinstein
2003-12-06 21:03 ` Ralf Hildebrandt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).