2001-03-30 11:48:48

by Rafael Martinez

[permalink] [raw]
Subject: 2.4.3 aic7xxx wont compile without a patch

Hei

I have tried to compile 2.4.3 and got a error in aic7xxx:

----------------------------------------------------------------------
make -C scsi
make[2]: Entering directory `/usr/src/linux-2.4.3/drivers/scsi'
make -C aic7xxx
make[3]: Entering directory `/usr/src/linux-2.4.3/drivers/scsi/aic7xxx'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.3/drivers/scsi/aic7xxx'
make -C aicasm
make[5]: Entering directory
`/usr/src/linux-2.4.3/drivers/scsi/aic7xxx/aicasm'
gcc -I/usr/include -ldb1 aicasm_gram.c aicasm_scan.c aicasm.c
aicasm_symbol.c -o aicasm
aicasm_symbol.c:39:20: db1/db.h: No such file or directory
make[5]: *** [aicasm] Error 1
make[5]: Leaving directory
`/usr/src/linux-2.4.3/drivers/scsi/aic7xxx/aicasm'
make[4]: *** [aicasm/aicasm] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.3/drivers/scsi/aic7xxx'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers/scsi/aic7xxx'
make[2]: *** [_subdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.3/drivers'
make: *** [_dir_drivers] Error 2
--------------------------------------------------------------------

If I patch the kernel source with the last version of the driver 6.1.8
from http://people.freebsd.org/~gibbs/linux/ , it works OK and I can
compile the kernel (I get some warnings, but it looks like it works, I can
start the machine with the new kernel, etc)

Didn't 2.4.3 supose to include this patch so we don't get this error?

Cheers
Rafael Martinez