[2.4.9] aic7xxx modules don't compile
Hi!
The compilation of the kernel modules (2.4.9) stops with:
make -C aic7xxx modules
make[3]: Entering directory `/usr/src/linux-2.4.9/drivers/scsi/aic7xxx' make -C aicasm
make[4]: Entering directory /usr/src/linux-2.4.9/drivers/scsi/aic7xxx/aicasm' gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c aicasm_symbol.c -o aicasm aicasm/aicasm_scan.l: In function yylex':
aicasm/aicasm_scan.l:115: `T_VERSION' undeclared (first use in this function) aicasm/aicasm_scan.l:115: (Each undeclared identifier is reported only once aicasm/aicasm_scan.l:115: for each function it appears in.) aicasm/aicasm_scan.l:132: `T_STRING' undeclared (first use in this function) make[4]: *** [aicasm] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.9/drivers/scsi/aic7xxx/aicasm' make[3]: *** [aicasm/aicasm] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.9/drivers/scsi/aic7xxx' make[2]: *** [_modsubdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.9/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.9/drivers'
make: *** [_mod_drivers] Error 2
Is this a known problem?
Bye,
Manfred
Signature · 4 lines
/"\ | * AIM: mahowi42 * ICQ: 61597169 * \ / ASCII ribbon campaign | PGP-Key available at Public Key Servers X against HTML mail | or "http://www.mahowi.de/pgp/mahowi.asc" / \ and postings | * RSA: 0xC05BC0F5 * DSS: 0x4613B5CA *
Quoted 6 lines
Hi!
The compilation of the kernel modules (2.4.9) stops with:
make -C aic7xxx modules
make[3]: Entering directory `/usr/src/linux-2.4.9/drivers/scsi/aic7xxx'
...
Quoted 1 line
Is this a known problem?
Did you check the list archives? 8-)
You need to either:
A) cd /usr/src/linux-2.4.89drivers/scsi/aic7xxx/aicasm && make clean
or
B) Turn of "build driver firmware" below the aic7xxx option in your kernel config.
Prior to doing this, I would appreciate seeing an:
ls -l /usr/src/linux-2.4.9/drivers/scsi/aic7xxx/aicasm
so I can verify that my fix to the aicasm Makefile will correct your problem.
--
Justin