I want to use Delphi ESR 2.5 with Canbus. download the Kvaser LINUX SDK on PX2,but it compiled failed ,how to resolve this problem?
Kernel src: /lib/modules/4.4.38-rt49-tegra/build
make -C /lib/modules/
uname -r/build SUBDIRS=/home/nvidia/Downloads/linuxcan/common modules
make: Entering directory ‘/lib/modules/4.4.38-rt49-tegra/build’
make: *** No rule to make target ‘modules’. Stop.
make: Leaving directory ‘/lib/modules/4.4.38-rt49-tegra/build’
/home/nvidia/Downloads/linuxcan/common/…/config.mak:148: recipe for target ‘kv_module’ failed
make: *** [kv_module] Error 2
make: Leaving directory ‘/home/nvidia/Downloads/linuxcan/common’
Makefile:95: recipe for target ‘common’ failed
make: *** [common] Error 2
I am having the same problem on the TX2, did you find any solutions?
I couldn’t make linuxcan work on TX2 with JetPack 3.1 so far. My current issue is I got error while doing “sudo make install” after “sudo make” succeeded. BTW, I got linuxcan working on TX1 with JetPack 3.1.
Basically you need make Tegra kernel headers ready for kernel module compiling. Try this,
"cd /usr/src/linux-4.4.38-rt49-tegra; sudo make oldconfig; sudo make prepare; ". Your linux source path is different from mine.
Dear pbaj & scheng,
Could you please move this topic to Jetson forum? This forum is for Drive Platforms. Thanks.
I had this problem with Drive PX 2 as well, never solved it.
Ended up using canlib instead of the Kvaser linuxan.
I got it resolved on my TX1/TX2. Basically rebuilt Kernel headers or reinstall JetPack3.1.