Hello,
I'm trying to compile the sources of the PCAN driver 7.4.
I get the following compiler warning:
.../peak-linux-driver-7.4/driver/src/pcan_usb_core.c: In function ‘pcan_usb_plugin’:
.../peak-linux-driver-7.4/driver/src/pcan_usb_core.c:1176: warning: implicit declaration of function ‘usb_reset_endpoint’
...
WARNING: "usb_reset_endpoint" [.../peak-linux-driver-7.4/driver/pcan.ko] undefined!
I use Ubuntu 7.10 Gutsy Gibbon
Kernel version: 2.6.22-16-generic
gcc version: 4.1.3
When ignoring this warning and tiping "sudo make install" and "/sbin/modprobe pcan" I get
FATAL: Error inserting pcan (/lib/modules/2.6.22-16-generic/misc/pcan.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error running install command for pcan
with
[ 4107.921646] pcan: Unknown symbol usb_reset_endpoint
as last line of dmesg.
I know my system is quite old, but I have to use this kernel version! Could someone please help me?
Best regards,
ajay

