Error compiling modules
Joel Hammer
Joel
Mon May 17 11:46:28 PDT 2004
No, I didn't. But, I did go back and remove that offending module from the
list to compile. Things now are going OK.
I guess there was just a bug in that source code for that module. But since
it is just a low level scsi driver, hopefully it won't bother anything. It
is odd how such a thing could escape into the wild.
CONFIG_SCSI_AIC7XXX:
This driver supports all of Adaptec's PCI based SCSI
controllers (not the hardware RAID controllers though)
as well as the aic7770 based EISA and VLB SCSI controllers
(the 274x and 284x series). This is an Adaptec sponsored
driver written by Justin Gibbs. It is intended to replace
the previous aic7xxx driver maintained by Doug Ledford
since Doug is no longer maintaining that driver.
I guess I won't be installing any adaptec PCI based SCSI controllers
for a while.
Joel
> On 04/12/03 08:26, Joel Hammer wrote:
> > Using linodows and trying to compile kernel 2.4.20.
> >
> > I installed the kernel sources and headers, tk, bison and flex and ran:
> > make xconfig
> > All the modules appeared to be selected,so I didn't make
> > any changes to the .config file.
> > make dep
> > make clean
> > make bzImage
> > make modules
> >
> > After a long time spent compiling modules, this last command crashes with:
> >
> > 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. -ldb aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm
> > aicasm_symbol.c:47: aicdb.h: No such file or directory
> > aicasm_gram.y:1846: warning: type mismatch with previous implicit declaration
> > /usr/share/bison/bison.simple:924: warning: previous implicit declaration of `yyerror'
> > aicasm_gram.y:1846: warning: `yyerror' was previously implicitly declared to return `int'
> > aicasm_macro_gram.y:162: warning: type mismatch with previous implicit declaration
> > /usr/share/bison/bison.simple:924: warning: previous implicit declaration of `mmerror'
> > aicasm_macro_gram.y:162: warning: `mmerror' was previously implicitly declared to return `int'
> > make[4]: *** [aicasm] Error 1
> > make[4]: Leaving directory
> > `/usr/src/linux-2.4.20/drivers/scsi/aic7xxx/aicasm'
> > make[3]: *** [aicasm/aicasm] Error 2
> > make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi/aic7xxx'
> > make[2]: *** [_modsubdir_aic7xxx] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
> > make[1]: *** [_modsubdir_scsi] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
> > make: *** [_mod_drivers] Error 2
>
> did you run 'make mrproper' before 'make xconfig'?
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> L. Friedman netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
>
> 8:55am up 34 days, 8:23, 3 users, load average: 0.30, 0.20, 0.11
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list