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

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
hustfzt
Posts: 1
Joined: Thu 26. May 2016, 04:07

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

Post by hustfzt » Thu 26. May 2016, 04:10

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
Last edited by M.Gerber on Thu 26. May 2016, 08:47, edited 1 time in total.
Reason: Reformatted the log for better readability.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

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

Post by PEAK-Support » Fri 27. May 2016, 10:12

please post more info
- used distribution
- used kernel version
- which driver type you want to use (netDev/CahrDev)

please aslo read this
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply