Skip to content

Nvidia jetson orin nano, fail to build xsens_mt #77

@FRENMBU

Description

@FRENMBU

I attempted to follow the tutorial for using the Xsens IMU with Nvidia, which can be found at https://base.movella.com/s/article/Interfacing-MTi-devices-with-the-NVIDIA-Jetson-1605870420176?language=en_US.

However, the IMU does not appear as a USB device in the /dev/ttyUSB directory. Consequently, I attempted to address this issue by referring to the problem discussed in this GitHub issue: #53.

However, I encountered another problem while building the xsens_mt package:

ni@ubuntu:~/xsens_mt$ sudo make HAVE_LIBUSB=1
make -C /lib/modules/5.15.122-tegra/build SUBDIRS=/home/ni/xsens_mt modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.122-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source'
  HOSTCC  scripts/sorttable
scripts/sorttable.c:34:10: fatal error: tools/be_byteshift.h: No such file or directory
   34 | #include <tools/be_byteshift.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:95: scripts/sorttable] Error 1
make[1]: *** [Makefile:1250: scripts] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.122-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source'
make: *** [Makefile:7: default] Error 2

I am using a Jetson Orin Nano with JetPack 6 and kernel version 5.15.122-tegra.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions