[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kernel build error & how do I fix & compile OK?




Hi Yall,

I am trying to upgrade to 2.4.22, but after issuing...

make-kpkg --initrd

I eventually get....

<snip>
make[4]: Leaving directory `/usr/src/kernel-source-2.4.22/drivers/scsi/aacraid'
/usr/bin/make -C aic7xxx modules
make[4]: Entering directory `/usr/src/kernel-source-2.4.22/drivers/scsi/aic7xxx'
/usr/bin/make -C aicasm
make[5]: Entering directory `/usr/src/kernel-source-2.4.22/drivers/scsi/aic7xxx/aicasm'
*** Install db development libraries
gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_sc
an.c -o aicasm -ldb
aicasm_symbol.c:48: aicdb.h: No such file or directory
aicasm_gram.y:1933: warning: type mismatch with previous implicit declaration /usr/share/bison/bison.simple:924: 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 /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[5]: *** [aicasm] Error 1
make[5]: Leaving directory `/usr/src/kernel-source-2.4.22/drivers/scsi/aic7xxx/aicasm'
make[4]: *** [aicasm/aicasm] Error 2
make[4]: Leaving directory `/usr/src/kernel-source-2.4.22/drivers/scsi/aic7xxx'
make[3]: *** [_modsubdir_aic7xxx] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.22/drivers/scsi'
make[2]: *** [_modsubdir_scsi] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.22/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.22'
make: *** [stamp-build] Error 2

real    6m33.579s
user    4m44.980s
sys     0m17.850s
Hellenic:/usr/src/linux#

<snip>

How do I overcome this error?

*TIA*

*BFN*

Greek Geek   :-)







Reply to: