Hi!

This is quite strange, as the file
/usr/src/linux/drivers/scs/aic7xxx/aicasm/aicasm_symbol.h does not
even contain the string "aicdb.h" here at my machine
(kernel-source-2.4.18). I've also compiled this driver several times
w/o any problems. So I would suggest that you should look into the
aicasm_symbol.h if it contains the string "aicdb" and if it does, 
replace the kernel sources (just delete the old ones, fetch package
kernel-source-2.4.18, uncompress bz2 or gz file lying around in
/usr/src and (in the same directory) ln -s kernel-source-1.4.18
linux). To accelerate the whole configuration etc., you can of course
save the .config file from your current kernel directory somewhere
and just copy it back into the (new) kernel source dir after having
replaced the source, so that you won't have to set the old
configuration options manually.

Cheers,

Stephan


On Fri, 07 Jun 2002 14:07:28 -0400
Robert Webb <[EMAIL PROTECTED]> wrote:

> Hi everyone. I am trying to compile a 2.4.18 kernel and am running
into > problems when the SCSI section tries to complete. I downloaded
the > kernel from kernel.org and have tried many time to get it to
work. Can > anyone give me an idea as to what I may be doing wrong??
The error I get > when doing make bzImage is below:
> 
> 
> 
> make[2]: Entering directory `/usr/src/linux/drivers/scsi'
> make -C aic7xxx
> make[3]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx'
> make all_targets
> make[4]: Entering directory `/usr/src/linux/drivers/scsi/aic7xxx'
> make -C aicasm
> make[5]: Entering directory
`/usr/src/linux/drivers/scsi/aic7xxx/aicasm'> yacc -d aicasm_gram.y
> aicasm_gram.y:694: warning: previous rule lacks an ending `;'
> aicasm_gram.y:708: warning: previous rule lacks an ending `;'
> mv y.tab.c aicasm_gram.c
> lex  -t aicasm_scan.l > aicasm_scan.c
> *** Install db development libraries
> gcc -I/usr/include -I. -ldb aicasm_gram.c aicasm_scan.c aicasm.c 
> aicasm_symbol.c -o aicasm
> aicasm_gram.y:1485: warning: type mismatch with previous implicit 
> declaration
> /usr/share/bison/bison.simple:924: warning: previous implicit 
> declaration of `yyerror'
> aicasm_gram.y:1485: warning: `yyerror' was previously implicitly 
> declared to return `int'
> aicasm_symbol.c:47: aicdb.h: No such file or directory
> make[5]: *** [aicasm] Error 1
> make[5]: Leaving directory
`/usr/src/linux/drivers/scsi/aic7xxx/aicasm'> make[4]: ***
[aicasm/aicasm] Error 2> make[4]: Leaving directory
`/usr/src/linux/drivers/scsi/aic7xxx'> make[3]: *** [first_rule]
Error 2> make[3]: Leaving directory
`/usr/src/linux/drivers/scsi/aic7xxx'> make[2]: *** [_subdir_aic7xxx]
Error 2> make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
> make[1]: *** [_subdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [_dir_drivers] Error 2
> mail1:/usr/src/linux#
> 
> 
> 
> Thanks,
> Robert
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to