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

Pb with TEKRAM SCSI PCI driver



First of all : I'm a Linux beginer

I have got the file "dc395-141.tar.gz.tar"
Decompressed it
patch the kernel sources 2.4.18
launch "make-kpkg"
and got errors at the scsi driver compiling phase :


make -C scsi modules
make[2]: Entering directory `/usr/src/kernel-source-2.4.18/drivers/scsi'
ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o scsi_p roc.o scsi_error.o scsi_obsolete.o scsi_queue.o scsi_lib.o scsi_merge.o scsi_dma.o scsi_
scan.o scsi_syms.o
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.18/include -Wall -Wstrict-prototypes -Wno- trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-st ack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/kernel-source-2.4.18 /include/linux/modversions.h -DKBUILD_BASENAME=dc395x_trm -c -o dc395x_trm.o dc395x_trm.c
In file included from dc395x_trm.c:260:
dc395x_trm.h:68: parse error before `:'
dc395x_trm.c: In function `DC395x_bios_param':
dc395x_trm.c:2445: warning: implicit declaration of function `scsicam_bios_param_Rsmp_dee45ea1'
dc395x_trm.c: At top level:
dc395x_trm.c:7898: stray '\' in program
make[2]: *** [dc395x_trm.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.18/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18/drivers'
make: *** [_mod_drivers] Error 2

So, what have I to do ?
And : why do I have to recompile the whole kernel and not just to build a new module and then
manually "modprobe" it ?

Thank you for any suggestion !



Reply to: