Page 1 of 1

Question about the "peak-linux-driver -7.15.2"

Posted: Thu 26. May 2016, 04:10
by hustfzt
When I complied the Package "peak-linux-driver-7.15.2", I got an error according to the PCAN-Drive for Linux user manual as:

Code: Select all

..../peak-linux-driver-7.15.2/driver/src/pcan_pci.c: In function ‘pcan_pci_channel_init’:
.../peak-linux-driver-7.15.2/driver/src/pcan_pci.c:415:3: error: implicit declaration of function ‘check_mem_region’ [-Werror=implicit-function-declaration]
   err = check_mem_region(dev->port.pci.dwConfigPort,
   ^
cc1: some warnings being treated as errors
make[3]: *** [..../peak-linux-driver-7.15.2/driver/src/pcan_pci.o] err 1
make[2]: *** [_module_/..../peak-linux-driver-7.15.2/driver] err 2
make[2]:leaving directory `/usr/src/linux-headers-4.2.0-36-generic'
make[1]: *** [all] err 2

Re: Question about the "peak-linux-driver -7.15.2"

Posted: Fri 27. May 2016, 10:12
by PEAK-Support
please post more info
- used distribution
- used kernel version
- which driver type you want to use (netDev/CahrDev)

please aslo read this