Collect2: error: ld returned 1 exit status + xavier-nx

• Hardware Platform (Jetson / GPU) : Jetson Xavier-NX
• DeepStream Version: 5.1 & 6.0
• JetPack Version (valid for Jetson only): 4.6

I got an error be shown:

Both of DS 5.1 & 6.0 have same mistake.

Anyone can help me?

1 is this code the part of deepstream or your own code?
2 did you install gstrtspserver lib? please refer to Quickstart Guide — DeepStream 6.0.1 Release documentation
3 from the printing, need to add -lgstrtspserver-1.0 , please refer to deepstream app’s makefile.

Thanks your response
I adjust code from link. I got follow as reference

it is caused by adding rtsp functions, so you need to add -lgstrtspserver-1.0.
please refer to this makefile ,
Makefile (2.5 KB)
it is deepstream-6.0\sources\apps\sample_apps\deepstream-app’s makefile.

Thanks so much.
I solved this problem.

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