Jetson tx2 - Cross Compile Error

Hi, I have a CPU Host which want to do cross compile into my Jetson, by following this link :

Everything seems to work fine, but when I build my project, there are some error about ‘—unresolved-symbols=ignore-in-shared-libs’

here is my build console :

Building target: boxfilter-arm
Invoking: NVCC Linker
/usr/local/cuda-8.0/bin/nvcc --cudart static -L"/usr/local/cuda-8.0/samples/common/lib/linux/aarch64" -lGL -lGLU -lglut  -Xlinker —unresolved-symbols=ignore-in-shared-libs --relocatable-device-code=false -gencode arch=compute_60,code=compute_60 -gencode arch=compute_60,code=sm_60 -m64 -ccbin aarch64-linux-gnu-g++ -link -o  "boxfilter-arm"  ./src/boxFilter.o ./src/boxFilter_cpu.o ./src/boxFilter_kernel.o  /usr/local/cuda-8.0/samples/common/lib/linux/x86_64/libGLEW.a 
/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: cannot find —unresolved-symbols=ignore-in-shared-libs: No such file or directory
collect2: error: ld returned 1 exit status
makefile:59: recipe for target 'boxfilter-arm' failed
make: *** [boxfilter-arm] Error 1

Is there any solution for this? Thank You.


Please check the options of Xlinker is:



So it should be


with a space between two dash. While in the tutorial, its using two dash without space. So when I copied it, it compiled error. Would be good, if you could change it, to help future reader. Thank You

Sure. We will feedback to the corresponding team.