Hi,
I do not know if I am at the right place but I have a problem with the driver installation for the DAQ card.
Want to know what the parts passing argument 2 of 'request_irq' from incompatible pointer type and implicit declaration of function 'pci_module_init' mean....
I am trying to compile and install drivers.
Prem
I do not know if I am at the right place but I have a problem with the driver installation for the DAQ card.
root@ED209:/home/manikantan/Documents/s626_mar07# make
make -C /lib/modules/2.6.24-22-generic/build M=/home/manikantan/Documents/s626_mar07 SUBDIRS=/home/manikantan/Documents/s626_mar07
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-generic'
LD /home/manikantan/Documents/s626_mar07/built-in.o
CC [M] /home/manikantan/Documents/s626_mar07/s626drv.o
/home/manikantan/Documents/s626_mar07/s626drv.c:64:26: error: linux/config.h: No such file or directory
/home/manikantan/Documents/s626_mar07/s626drv.c: In function 'S626_init':
/home/manikantan/Documents/s626_mar07/s626drv.c:777: error: implicit declaration of function 'pci_module_init'
/home/manikantan/Documents/s626_mar07/s626drv.c: In function 'S626DRV_RequestIRQ':
/home/manikantan/Documents/s626_mar07/s626drv.c:948: error: 'SA_SHIRQ' undeclared (first use in this function)
/home/manikantan/Documents/s626_mar07/s626drv.c:948: error: (Each undeclared identifier is reported only once
/home/manikantan/Documents/s626_mar07/s626drv.c:948: error: for each function it appears in.)
/home/manikantan/Documents/s626_mar07/s626drv.c:953: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/home/manikantan/Documents/s626_mar07/s626drv.o] Error 1
make[1]: *** [_module_/home/manikantan/Documents/s626_mar07] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-generic'
make: *** [all] Error 2
make -C /lib/modules/2.6.24-22-generic/build M=/home/manikantan/Documents/s626_mar07 SUBDIRS=/home/manikantan/Documents/s626_mar07
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-generic'
LD /home/manikantan/Documents/s626_mar07/built-in.o
CC [M] /home/manikantan/Documents/s626_mar07/s626drv.o
/home/manikantan/Documents/s626_mar07/s626drv.c:64:26: error: linux/config.h: No such file or directory
/home/manikantan/Documents/s626_mar07/s626drv.c: In function 'S626_init':
/home/manikantan/Documents/s626_mar07/s626drv.c:777: error: implicit declaration of function 'pci_module_init'
/home/manikantan/Documents/s626_mar07/s626drv.c: In function 'S626DRV_RequestIRQ':
/home/manikantan/Documents/s626_mar07/s626drv.c:948: error: 'SA_SHIRQ' undeclared (first use in this function)
/home/manikantan/Documents/s626_mar07/s626drv.c:948: error: (Each undeclared identifier is reported only once
/home/manikantan/Documents/s626_mar07/s626drv.c:948: error: for each function it appears in.)
/home/manikantan/Documents/s626_mar07/s626drv.c:953: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/home/manikantan/Documents/s626_mar07/s626drv.o] Error 1
make[1]: *** [_module_/home/manikantan/Documents/s626_mar07] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-generic'
make: *** [all] Error 2
I am trying to compile and install drivers.
Prem
Comment