* 2.4.21-pre7: error compiling aic7(censored)/aicasm/aicasm.c
@ 2003-04-06 12:58 Adrian Bunk
2003-04-10 17:03 ` Justin T. Gibbs
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2003-04-06 12:58 UTC (permalink / raw)
To: linux-kernel
<-- snip -->
gcc-2.95 -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -D__KERNEL__
-I/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/include -e stext
aicasm/aicasm.c -o aicasm/aicasm
/usr/bin/ld: warning: cannot find entry symbol stext; defaulting to 08048760
/tmp/ccZW2or5.o(.text+0x372): In function `main':
: undefined reference to `symtable_open'
/tmp/ccZW2or5.o(.text+0x37f): In function `main':
: undefined reference to `include_file'
/tmp/ccZW2or5.o(.text+0x384): In function `main':
: undefined reference to `yyparse'
/tmp/ccZW2or5.o(.text+0x3ea): In function `main':
: undefined reference to `symtable_dump'
/tmp/ccZW2or5.o(.text+0x4bf): In function `output_code':
: undefined reference to `versions'
/tmp/ccZW2or5.o(.text+0x548): In function `output_code':
: undefined reference to `patch_arg_list'
/tmp/ccZW2or5.o(.text+0x560): In function `output_code':
: undefined reference to `patch_arg_list'
/tmp/ccZW2or5.o(.text+0x566): In function `output_code':
: undefined reference to `prefix'
/tmp/ccZW2or5.o(.text+0x58e): In function `output_code':
: undefined reference to `patch_arg_list'
/tmp/ccZW2or5.o(.text+0x59c): In function `output_code':
: undefined reference to `prefix'
/tmp/ccZW2or5.o(.text+0x5c6): In function `output_code':
: undefined reference to `prefix'
/tmp/ccZW2or5.o(.text+0x5fa): In function `output_code':
: undefined reference to `prefix'
/tmp/ccZW2or5.o(.text+0xb56): In function `stop':
: undefined reference to `yyfilename'
/tmp/ccZW2or5.o(.text+0xb63): In function `stop':
: undefined reference to `yylineno'
/tmp/ccZW2or5.o(.text+0xc55): In function `stop':
: undefined reference to `symlist_free'
/tmp/ccZW2or5.o(.text+0xc5a): In function `stop':
: undefined reference to `symtable_close'
/tmp/ccZW2or5.o(.text+0xcaf): In function `seq_alloc':
: undefined reference to `yylineno'
collect2: ld returned 1 exit status
make[4]: *** [aicasm/aicasm] Error 1
make[4]: Leaving directory
`/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/drivers/scsi/aic7xxx'
<-- snip -->
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: 2.4.21-pre7: error compiling aic7(censored)/aicasm/aicasm.c
2003-04-06 12:58 2.4.21-pre7: error compiling aic7(censored)/aicasm/aicasm.c Adrian Bunk
@ 2003-04-10 17:03 ` Justin T. Gibbs
2003-04-15 20:40 ` [2.4 patch] " Adrian Bunk
0 siblings, 1 reply; 4+ messages in thread
From: Justin T. Gibbs @ 2003-04-10 17:03 UTC (permalink / raw)
To: Adrian Bunk, linux-kernel
> <-- snip -->
>
> gcc-2.95 -D__KERNEL__
> -I/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -D__KERNEL__
> -I/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/include -e stext
> aicasm/aicasm.c -o aicasm/aicasm
> /usr/bin/ld: warning: cannot find entry symbol stext; defaulting to 08048760
This is probably due to the misplaced endif in the currently committed
drivers/scsi/aic7xxx/Makefile. Updated versions of the Makefile/driver
can be found here:
http://people.FreeBSD.org/~gibbs/linux/SRC/
--
Justin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [2.4 patch] Re: 2.4.21-pre7: error compiling aic7(censored)/aicasm/aicasm.c
2003-04-10 17:03 ` Justin T. Gibbs
@ 2003-04-15 20:40 ` Adrian Bunk
2003-04-15 22:09 ` Justin T. Gibbs
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2003-04-15 20:40 UTC (permalink / raw)
To: Justin T. Gibbs, Marcelo Tosatti; +Cc: linux-kernel
On Thu, Apr 10, 2003 at 11:03:30AM -0600, Justin T. Gibbs wrote:
> > <-- snip -->
> >
> > gcc-2.95 -D__KERNEL__
> > -I/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
> > -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -D__KERNEL__
> > -I/home/bunk/linux/kernel-2.4/linux-2.4.21-pre7-full-nohotplug/include -e stext
> > aicasm/aicasm.c -o aicasm/aicasm
> > /usr/bin/ld: warning: cannot find entry symbol stext; defaulting to 08048760
>
> This is probably due to the misplaced endif in the currently committed
> drivers/scsi/aic7xxx/Makefile. Updated versions of the Makefile/driver
> can be found here:
>
> http://people.FreeBSD.org/~gibbs/linux/SRC/
Yes, thanks, this fixed it.
Marcelo:
Below is the fix by Justin, please apply.
> Justin
cu
Adrian
--- linux-2.4.21-pre7-full/drivers/scsi/aic7xxx/Makefile.old 2003-04-15 22:31:43.000000000 +0200
+++ linux-2.4.21-pre7-full/drivers/scsi/aic7xxx/Makefile 2003-04-15 22:31:47.000000000 +0200
@@ -83,7 +83,7 @@
endif
$(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm
$(aic79xx_asm_cmd)
+endif
aicasm/aicasm: aicasm/*.[chyl]
$(MAKE) -C aicasm
-endif
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-15 21:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06 12:58 2.4.21-pre7: error compiling aic7(censored)/aicasm/aicasm.c Adrian Bunk
2003-04-10 17:03 ` Justin T. Gibbs
2003-04-15 20:40 ` [2.4 patch] " Adrian Bunk
2003-04-15 22:09 ` Justin T. Gibbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®