[2.4 patch] Re: 2.4.21-pre7: error compiling aic7(censored)/aicasm/aicasm.c

From: Adrian Bunk (bunk@fs.tum.de)
Date: Tue Apr 15 2003 - 15:40:35 EST


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
-
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/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:37 EST