I tried your suggestion listed above; however, I received the following errors after I entered the first of the three instructions:
root@irv-laptop:/home/irv/Downloads/keucr# make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
make: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
CC [M] /home/irv/Downloads/keucr/usb.o
/home/irv/Downloads/keucr/usb.c: In function ‘associate_dev’:
/home/irv/Downloads/keucr/usb.c:211: error: implicit declaration of function ‘usb_alloc_coherent’
/home/irv/Downloads/keucr/usb.c:211: warning: assignment makes pointer from integer without a cast
/home/irv/Downloads/keucr/usb.c:218: warning: assignment makes pointer from integer without a cast
/home/irv/Downloads/keucr/usb.c: In function ‘dissociate_dev’:
/home/irv/Downloads/keucr/usb.c:414: error: implicit declaration of function ‘usb_free_coherent’
make[1]: *** [/home/irv/Downloads/keucr/usb.o] Error 1
make: *** [_module_/home/irv/Downloads/keucr] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
root@irv-laptop:/home/irv/Downloads/keucr#
I would appreciate if you could check with your brother-in-law to see what these errors may mean.
Hello Daniel,
I tried your suggestion listed above; however, I received the following errors after I entered the first of the three instructions:
root@irv- laptop: /home/irv/ Downloads/ keucr# make -C /usr/src/ linux-headers- `uname -r` M=`pwd` modules linux-headers- 2.6.32- 25-generic' Downloads/ keucr/usb. o Downloads/ keucr/usb. c: In function ‘associate_dev’: Downloads/ keucr/usb. c:211: error: implicit declaration of function ‘usb_alloc_ coherent’ Downloads/ keucr/usb. c:211: warning: assignment makes pointer from integer without a cast Downloads/ keucr/usb. c:218: warning: assignment makes pointer from integer without a cast Downloads/ keucr/usb. c: In function ‘dissociate_dev’: Downloads/ keucr/usb. c:414: error: implicit declaration of function ‘usb_free_coherent’ irv/Downloads/ keucr/usb. o] Error 1 /home/irv/ Downloads/ keucr] Error 2 linux-headers- 2.6.32- 25-generic' laptop: /home/irv/ Downloads/ keucr#
make: Entering directory `/usr/src/
CC [M] /home/irv/
/home/irv/
/home/irv/
/home/irv/
/home/irv/
/home/irv/
/home/irv/
make[1]: *** [/home/
make: *** [_module_
make: Leaving directory `/usr/src/
root@irv-
I would appreciate if you could check with your brother-in-law to see what these errors may mean.
Your feedback would be appreciated.