Results 1 to 2 of 2
Hi all,
I am using a "PCI express 16 channel isolated digital input, 16 channel relay output" card. Im facing problems excecuting the "make" command.
Basically to install the card ...
- 02-02-2010 #1Just Joined!
- Join Date
- Jan 2010
- Location
- sg
- Posts
- 6
help needed. failure to compile driver for pci card.
Hi all,
I am using a "PCI express 16 channel isolated digital input, 16 channel relay output" card. Im facing problems excecuting the "make" command.
Basically to install the card successfully, it requires 3 steps in the working directory.
1) # ./configure
2) # make
3) # ./ixpio.inst
My computer system has two kernel versions. Previously, Im using kernel2.6.18PAE and there is no problem installing the card. But due to other reasons, I have to boot up with kernel 2.6.32.3.7 (obtained the latest stable version in kernel.org)
With kernel 2.6.32.3.7, im unable to execute the "make" command successfully.
The error message is as follows:-
# make
cd driver/;\
make
make[1]: Entering directory 'root/ixpio/driver'
make -C /lib/modules/2.6.32.7/build SUBDIRS=/root/ixpio/driver LDDINCDIR=/root/ixpio/driver/../include modules
make[2]: Entering directory '/usr/src/linux-2.6.32.7'
CC [M] /root/ixpio/driver/_pio.o
/root/ixpio/driver/_pio.c: In function 'ixpio_init':
/root/ixpio/driver/_pio.c:796: error: 'proc_root' undeclared (first use in this function)
/root/ixpio/driver/_pio.c:796:error: 'proc_root' undeclared (Each undeclared identifier is reported only once
root/ixpio/driver/_pio.c:796:error: for each function it appears in)
make[3]: *** [/root/ixpio/driver/_pio.o] Error 1
make[2]: *** [_module_/root/ixpio/driver] Error 2
make[2]: *** Leaving directory 'usr/src/linux-2.6.32.7'
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/root/ixpio/driver'
make: **** [modules] Error 2
Can anyone help me?
the same ixpio folder is used for installation of this card in my previous kernel but its perfectly fine. Could it be the header files of my 2 kernel versions differs?
- 02-02-2010 #2
Hi tansj. I found this for you. I hope it helps...


Reply With Quote