To whomever this may consern,
I have been having a problem with running the 1.3 opensource driver for linux work properly. I had no problems compling the driver under GCC 2.96, but unfortuantly I have to upgrade to GCC 3.2 for other reasons. Here is some of the input/outputs I generated.
System: Redhat Linux 7.3 HPT RocketRaid 133 GCC 3.2-11 (Rawhide) /w 2.96 compatible RPMS Linux Kernel 2.4.18 & 2.4.19
/*BASH>*
//make
gcc -DHIGHPOINT -DDRIVER_VERSION=\"1.3\" -DMODVERSIONS -DMODULE -DLINUX -D__KERNEL__=1 -DCONFIG_PCI -D__BOOT_KERNEL_SMP=0 -D__BOOT_KERNEL_UP=1 -DDRIVER_REBUILD -DSUPPORT_IOCTL -O2 -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386 -I/usr/src/linux/drivers/scsi -Wall -Wstrict-prototypes -fomit-frame-pointer -c hpt.c
hpt.c: In function `hpt_copy_array_info':
hpt.c:692: warning: int format, long unsigned int arg (arg 3)
hpt.c:692: warning: int format, long unsigned int arg (arg 3)
hpt.c: In function `hpt_set_device_offline':
hpt.c:964: warning: deprecated use of label at end of compound statement
hpt.c: In function `TaskQueue':
hpt.c:1094: warning: deprecated use of label at end of compound statement
ld -m elf_i386 -r hpt37x2lib.o hpt.o -o hpt37x2.o/
I was able to compile the module" successfully" but when I tried to do an /insmod hpt37x2.o/ this is the output I recieved:
/*Bash>* insmod hpt37x2.o
hpt37x2.o: The module you are trying to load (hpt37x2.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work./
I have the GCC 2.96 compatiable RPM installed and tried compiling it with the /gcc -V 2.96/ to see if that would help. That didn't make any difference. Anybody have any clues???