make all - error
I'm trying to install QLogic host bus adapter drivers on RHEL V3.
When i execute the
#make all
i get a list of warnigs and error.
The
I've installed the Kernel Deveploment package as required but when i execute the
#make all
i get a list of warnings, invalid suffic and an error.
The beginning of the listing goes like this
rm -f qla2200.o qla2300.o qla2300_conf.o qla2200_conf.o qla_opts.o qla_opts
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -DINTAPI -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -I/usr/src/linux-2.4/include -I/usr/src/linux-2.4/include/../drivers/scsi -falign-functions=2 -falign-jumps=2 -falign-loops=2 -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -DCONFIG_X86_LOCAL_APIC -fno-strict-aliasing -fno-common -mpreferred-stack-boundary=2 -march=i686 -c qla2200.c -o qla2200.o
In file included from /usr/src/linux-2.4/include/linux/spinlock.h:56,
from /usr/src/linux-2.4/include/linux/module.h:11,
from qla2x00.c:36,
from qla2200.c:43:
/usr/src/linux-2.4/include/asm/spinlock.h:9: invalid suffix on integer constant
/usr/src/linux-2.4/include/asm/spinlock.h:9: syntax error before numeric constant
/usr/src/linux-2.4/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/asm/spinlock.h:10: warning: function declaration isn't a prototype
Can anyone help me on this.
Thank you.
Teo
|