Help with linker error: Hello AI World: jetson-inference build: NvMediaDlaPing

I’m really hoping someone can help me resolve this missing symbol issue. I’m brand new to this. I’m going through the steps in JetsonZoo, trying to build the Hello AI World examples and when I execute ‘build’ I get the following error: /usr/lib/gcc/aarch64-linux-gnu/7/…/…/…/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaPing’

I do have cuda 10 installed. Can anyone tell me how to resolve this symbol?

Thanks!

Hi,

I can build Hello AI World with JetPack 4.3 without issue.
Could you also give it a try?

https://github.com/dusty-nv/jetson-inference/blob/master/docs/building-repo-2.md#quick-reference

$ sudo apt-get update
$ sudo apt-get install git cmake libpython3-dev python3-numpy
$ git clone --recursive https://github.com/dusty-nv/jetson-inference
$ cd jetson-inference
$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo make install
$ sudo ldconfig

If you are using JetPack4.2.3, please remember to check out ‘L4T-R32.2’ branch for compatibility.

git clone <b>-b L4T-R32.2</b> --recursive https://github.com/dusty-nv/jetson-inference

Thanks.

Thanks for the comments. I do have JetPack 4.3, according to SDK Manager. I re-tried the commands you pasted, which are in the Hello AI World instructions but the results were the same.

I’m guessing that NvMediaDlaPing is in NVDLA. I don’t see any traces of that in my device. But I do think I see references what looks like nvdla stuff to nvinfer with tensor overrides. I don’t see a way that nvdla gets installed in the set of JetsonZoo installs, so I’m guessing that it gets installed with JetPack. I’m re-flashing the Xavier using SDKManager just in case something went wrong along the way. Then I’ll re-install JetsonZoo more carefully, in order.

Any other suggestions?

Thanks!

Hi,

NvMediaDlaPing is defined in NvMedia library.
Could you check if NvMedia library is available on your environment:

/usr/lib/aarch64-linux-gnu/tegra$ grep libnvmedia.so

By the way, DLA is only available on Xavier.
Are you using Xavier?

Thanks.

Thanks! I did get it working after re-flashing.