Libcudla.so.1: undefined reference to `cudlaDrvGetExternalExportTable'

Hello!

I had this problem when building a package on ROS2 Humble.

I have all the libs and it seems that even the signatures of the erroneous functions are in the libcudla.so libs, etc.

But I still can’t build the ROS package. What could be the problem?

I use nvcr.io/nvidia/l4t-jetpack:r36.4.0 with the command

nvidia-docker run -it --rm --mount type=bind,source=$(pwd),target=/workspace --gpus all --runtime nvidia nvcr.io/nvidia/l4t-jetpack:r36.4.0

Then

colcon build --packages-select modern_detect --symlink-install --continue-on-error --cmake-args -DBUILD_TESTING=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release          
Starting >>> modern_detect
--- stderr: modern_detect                             
/usr/bin/ld: /usr/local/cuda/lib64/libcudla.so.1: undefined reference to `cudlaDrvGetExternalExportTable'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/11/../../../aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::IProfile::setCanGenerateDetailedLayerwiseStats(bool)'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/11/../../../aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::IConcatenationLayer::setAxis(int)'
/usr/bin/ld: /usr/local/cuda/lib64/libcudla.so.1: undefined reference to `cudlaDrvSetTaskTimeoutInMs'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/modern_detect_node.dir/build.make:278: modern_detect_node] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:182: CMakeFiles/modern_detect_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< modern_detect [2.74s, exited with code 2]

Summary: 0 packages finished [5.03s]
  1 package failed: modern_detect
  1 package had stderr output: modern_detect

Please check jetson-containers/packages/ros at master · dusty-nv/jetson-containers · GitHub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.