I've been trying to install an older HCF driver (previous to the limited free linuxent driver). All appears to go well during installation and I get to the point where I am informed I should run "hcfpciconfig" to configure the driver. When I run the command I get the following:
Code:
../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
rm -f *.o *.a
../../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from mod_osspec.c:11:
../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../modules/osspec/include/oscompat.h:22,
from mod_osspec.c:10:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
make -C osspec all
../../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)
make[1]: Entering directory `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) osstdio.c
In file included from osstdio.c:25:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../../modules/osspec/include/oscompat.h:22,
from osstdio.c:21:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
* compiling (gcc) osnvm.c
In file included from osnvm.c:28:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../../modules/osspec/include/oscompat.h:22,
from osnvm.c:27:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
* compiling (gcc) osresour.c
In file included from osresour.c:19:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../../modules/osspec/include/oscompat.h:22,
from osresour.c:18:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
* compiling (gcc) osservices.c
In file included from osservices.c:14:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../../modules/osspec/include/oscompat.h:22,
from osservices.c:13:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
* compiling (gcc) osstring.c
In file included from osstring.c:27:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../../modules/osspec/include/oscompat.h:22,
from osstring.c:26:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
ar cr libosspec.a osstdio.o osnvm.o osresour.o osservices.o osstring.o
make[1]: Leaving directory `/usr/lib/hcfpci/modules/osspec'
> linking kernel module hcfpciosspec.o
* compiling (gcc) mod_engine.c
In file included from mod_engine.c:11:
../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from ../modules/osspec/include/oscompat.h:22,
from mod_engine.c:10:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
> linking kernel module hcfpciengine.o
* compiling (gcc) serial_hcf.c
In file included from serial_hcf.c:80:
../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /lib/modules/2.4.22-1.2188.nptl/build/include/linux/sched.h:9,
from serial_hcf.c:69:
/lib/modules/2.4.22-1.2188.nptl/build/include/linux/compiler.h:19:1: warning: this is the location of the previous definition
In file included from serial_hcf.c:943:
serial_core.c: In function `uart_close':
serial_core.c:1073: error: invalid operands to binary ==
make: *** [serial_hcf.o] Error 1
Can anybody tell me what's going wrong, or where to start looking for a sollution?