Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
was trying to install kvaser drivers I have followed the steps provided by the Kvaser for linux installation
ihave downloaded the linuxcan_5_47_912.tar.gz.
extracted it and run the command
sudo apt-get install build-essential
which gave me out
adas_coe@tegra-ubuntu:~/Downloads/linuxcan$ sudo apt-get install build-essential
[sudo] password for adas_coe:
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.8ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
further I tried to use the make command in the respective directory
adas_coe@tegra-ubuntu:~/Downloads/kvaser-linuxcan-master$ make
Start building linuxcan v5.39.94
User : adas_coe
System : Linux tegra-ubuntu 5.15.122-rt-tegra #1 SMP PREEMPT_RT Tue Apr 23 18:51:49 PDT 2024 aarch64 aarch64 aarch64 GNU/Linux
CC : cc
CC ver. : 9.4.0
KDIR : /lib/modules/5.15.122-rt-tegra/build
Kernel : 5.15.122-rt-tegra
make -C canlib
make[1]: Entering directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/canlib’
make -C examples KV_DEBUG_ON=0 sub
make[2]: Entering directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/canlib/examples’
Built examples
make[2]: Leaving directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/canlib/examples’
make[1]: Leaving directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/canlib’
make -C linlib
make[1]: Entering directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/linlib’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/linlib’
make[1]: Entering directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/common’
building kvcommon
Kernel src: /lib/modules/5.15.122-rt-tegra/build
make -C /lib/modules/uname -r
/build M=/home/adas_coe/Downloads/kvaser-linuxcan-master/common modules
make[2]: Entering directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/common’
make[2]: *** /lib/modules/5.15.122-rt-tegra/build: No such file or directory. Stop.
make[2]: Leaving directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/common’
make[1]: *** [/home/adas_coe/Downloads/kvaser-linuxcan-master/common/…/config.mak:172: kv_module] Error 2
make[1]: Leaving directory ‘/home/adas_coe/Downloads/kvaser-linuxcan-master/common’
make: *** [Makefile:147: common] Error 2