a

[cuda-samples] 컴파일 오류 목록

박은성/ 2022. 3. 14. 15:17
반응형

segmentationTreeThrust

root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques/segmentationTreeThrust# make

>>> GCC Version is greater or equal to 5.0.0 <<<

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++14 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o segmentationTree.o -c segmentationTree.cu

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o segmentationTreeThrust segmentationTree.o 

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

mkdir -p ../../../bin/x86_64/linux/release

cp segmentationTreeThrust ../../../bin/x86_64/linux/release

root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques/segmentationTreeThrust# cd ..

root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques# cd shfl_scan/

root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques/shfl_scan# vim Makefile 

root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques/shfl_scan# make

>>> GCC Version is greater or equal to 4.7.0 <<<

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o shfl_scan.o -c shfl_scan.cu

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shaered  -m64      -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o shfl_scan shfl_scan.o 

nvcc fatal   : Value 'shaered' is not defined for option 'cudart'

make: *** [Makefile:358: shfl_scan] Error 1


streamOrderedAllocationIPC

[root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques/streamOrderedAllocationIPC# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o helper_multiprocess.o -c ../../../Common/helper_multiprocess.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o streamOrderedAllocationIPC.o -c streamOrderedAllocationIPC.cu

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

streamOrderedAllocationIPC.cu: In function 'void childProcess(int)':

streamOrderedAllocationIPC.cu:136:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

  136 |     checkCudaErrors(cudaMemPoolImportFromShareableHandle(

      |                                                                         ^

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o streamOrderedAllocationIPC helper_multiprocess.o streamOrderedAllocationIPC.o  -L/usr/local/cuda/lib64/stubs -lcuda

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: helper_multiprocess.o: undefined reference to symbol 'shm_open@@GLIBC_2.2.5'

/usr/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make: *** [Makefile:414: streamOrderedAllocationIPC] Error 1


threadMigration

root@4e2eb60e3a46:/cuda-samples/Samples/2_Concepts_and_Techniques/threadMigration# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o threadMigration.o -c threadMigration.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o threadMigration threadMigration.o  -L/usr/local/cuda/lib64/stubs -lcuda -lcudart_static

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart523':

(.text+0x1487e): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart524':

(.text+0x149e7): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x195e7): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x19613): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x1963f): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x1966b): undefined reference to `dlsym'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o):(.text+0x19697): more undefined references to `dlsym' follow

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart515':

(.text+0x1d6c2): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x1d6fe): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1605':

(.text+0x66544): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66550): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66572): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6657e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66594): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x665e4): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x665f0): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66612): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6661e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66634): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x66684): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66690): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x666b2): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x666be): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x666d4): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x66724): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66730): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66752): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6675e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66774): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x667c4): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x667d0): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x667f2): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x667fe): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66814): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x66864): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66870): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66892): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6689e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x668b4): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart812':

(.text+0x67fb9): undefined reference to `sem_init'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart866':

(.text+0x67fd5): undefined reference to `sem_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart712':

(.text+0x680a8): undefined reference to `sem_timedwait'

/usr/bin/ld: (.text+0x680db): undefined reference to `sem_wait'

/usr/bin/ld: (.text+0x680f1): undefined reference to `sem_trywait'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart813':

(.text+0x68125): undefined reference to `sem_post'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart625':

(.text+0x6a56c): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a578): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x6a59a): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6a5a6): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a5bc): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x6a60c): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a618): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x6a63a): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6a646): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a65c): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart668':

(.text+0x6af05): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6af13): undefined reference to `dlopen'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart912':

(.text+0x6af25): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6af33): undefined reference to `dlopen'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart663':

(.text+0x6af45): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart746':

(.text+0x6af61): undefined reference to `dlsym'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart583':

(.text+0x6b07d): undefined reference to `pthread_key_create'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart507':

(.text+0x6b0a4): undefined reference to `pthread_key_delete'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart673':

(.text+0x6b0b4): undefined reference to `pthread_getspecific'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart674':

(.text+0x6b0c8): undefined reference to `pthread_setspecific'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1572':

(.text+0x6b181): undefined reference to `pthread_mutexattr_init'

/usr/bin/ld: (.text+0x6b1a1): undefined reference to `pthread_mutexattr_settype'

/usr/bin/ld: (.text+0x6b1af): undefined reference to `pthread_mutexattr_setpshared'

/usr/bin/ld: (.text+0x6b1ca): undefined reference to `pthread_mutexattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1308':

(.text+0x6b1dd): undefined reference to `pthread_mutexattr_init'

/usr/bin/ld: (.text+0x6b1f9): undefined reference to `pthread_mutexattr_settype'

/usr/bin/ld: (.text+0x6b207): undefined reference to `pthread_mutexattr_setpshared'

/usr/bin/ld: (.text+0x6b222): undefined reference to `pthread_mutexattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1492':

(.text+0x6b23d): undefined reference to `pthread_mutexattr_init'

/usr/bin/ld: (.text+0x6b259): undefined reference to `pthread_mutexattr_settype'

/usr/bin/ld: (.text+0x6b26a): undefined reference to `pthread_mutexattr_setpshared'

/usr/bin/ld: (.text+0x6b285): undefined reference to `pthread_mutexattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1231':

(.text+0x6b2b5): undefined reference to `pthread_mutex_trylock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart685':

(.text+0x6b307): undefined reference to `pthread_rwlockattr_init'

/usr/bin/ld: (.text+0x6b315): undefined reference to `pthread_rwlockattr_destroy'

/usr/bin/ld: (.text+0x6b33e): undefined reference to `pthread_rwlockattr_setpshared'

/usr/bin/ld: (.text+0x6b34f): undefined reference to `pthread_rwlock_init'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart640':

(.text+0x6b389): undefined reference to `pthread_rwlockattr_init'

/usr/bin/ld: (.text+0x6b395): undefined reference to `pthread_rwlockattr_destroy'

/usr/bin/ld: (.text+0x6b3b6): undefined reference to `pthread_rwlockattr_setpshared'

/usr/bin/ld: (.text+0x6b3c5): undefined reference to `pthread_rwlock_init'

/usr/bin/ld: (.text+0x6b3d5): undefined reference to `pthread_rwlockattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart904':

(.text+0x6b401): undefined reference to `pthread_rwlock_timedrdlock'

/usr/bin/ld: (.text+0x6b40d): undefined reference to `pthread_rwlock_rdlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart905':

(.text+0x6b441): undefined reference to `pthread_rwlock_timedwrlock'

/usr/bin/ld: (.text+0x6b44d): undefined reference to `pthread_rwlock_wrlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1070':

(.text+0x6b468): undefined reference to `pthread_rwlock_tryrdlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1071':

(.text+0x6b498): undefined reference to `pthread_rwlock_trywrlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart915':

(.text+0x6b4c4): undefined reference to `pthread_rwlock_unlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart916':

(.text+0x6b4d4): undefined reference to `pthread_rwlock_unlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart807':

(.text+0x6b4e4): undefined reference to `pthread_rwlock_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart706':

(.text+0x6b4f8): undefined reference to `pthread_rwlock_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1606':

(.text+0x6b515): undefined reference to `pthread_once'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1266':

(.text+0x6b54f): undefined reference to `pthread_condattr_setpshared'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart636':

(.text+0x6b5ab): undefined reference to `pthread_condattr_setpshared'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart858':

(.text+0x6b5fe): undefined reference to `pthread_condattr_setpshared'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1069':

(.text+0x6b86e): undefined reference to `pthread_create'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart692':

(.text+0x6b939): undefined reference to `pthread_create'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart649':

(.text+0x6b99f): undefined reference to `pthread_join'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart693':

(.text+0x6b9e9): undefined reference to `pthread_detach'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart809':

(.text+0x6ba1b): undefined reference to `pthread_kill'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart867':

(.text+0x6c202): undefined reference to `shm_unlink'

/usr/bin/ld: (.text+0x6c21d): undefined reference to `shm_open'

/usr/bin/ld: (.text+0x6c2b3): undefined reference to `shm_unlink'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart628':

(.text+0x6c455): undefined reference to `shm_open'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart752':

(.text+0x6c5e5): undefined reference to `shm_open'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart643':

(.text+0x6c764): undefined reference to `shm_unlink'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart445':

(.text._ZN15CUOSdlsymLoaderIPFiiP8sockaddrPjiEED2Ev[__cudart446]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart441':

(.text._ZN15CUOSdlsymLoaderIPFiPiiEED2Ev[__cudart443]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart448':

(.text._ZN15CUOSdlsymLoaderIPFijiEED2Ev[__cudart449]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart459':

(.text._ZN15CUOSdlsymLoaderIPFivEED2Ev[__cudart461]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart453':

(.text._ZN15CUOSdlsymLoaderIPFimmPKmEED2Ev[__cudart455]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o):(.text._ZN15CUOSdlsymLoaderIPFimmPmEED2Ev[__cudart458]+0x9): more undefined references to `dlclose' follow

/usr/bin/ld: threadMigration.o: in function `runTest(int, char**)':

threadMigration.cpp:(.text+0xf5b): undefined reference to `pthread_create'

/usr/bin/ld: threadMigration.cpp:(.text+0xfc1): undefined reference to `pthread_join'

collect2: error: ld returned 1 exit status

make: *** [Makefile:403: threadMigration] Error 1


3. cudaCompressibleMemory

root@4e2eb60e3a46:/cuda-samples/Samples/3_CUDA_Features/cudaCompressibleMemory# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o compMalloc.o -c compMalloc.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o saxpy.o -c saxpy.cu

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o cudaCompressibleMemory compMalloc.o saxpy.o  -L/usr/local/cuda/lib64/stubs -lcuda -lcudart_static

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart523':

(.text+0x1487e): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart524':

(.text+0x149e7): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x195e7): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x19613): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x1963f): undefined reference to `dlsym'

/usr/bin/ld: (.text+0x1966b): undefined reference to `dlsym'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o):(.text+0x19697): more undefined references to `dlsym' follow

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart515':

(.text+0x1d6c2): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x1d6fe): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1605':

(.text+0x66544): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66550): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66572): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6657e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66594): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x665e4): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x665f0): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66612): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6661e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66634): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x66684): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66690): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x666b2): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x666be): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x666d4): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x66724): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66730): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66752): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6675e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66774): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x667c4): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x667d0): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x667f2): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x667fe): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66814): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x66864): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x66870): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x66892): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6689e): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x668b4): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart812':

(.text+0x67fb9): undefined reference to `sem_init'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart866':

(.text+0x67fd5): undefined reference to `sem_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart712':

(.text+0x680a8): undefined reference to `sem_timedwait'

/usr/bin/ld: (.text+0x680db): undefined reference to `sem_wait'

/usr/bin/ld: (.text+0x680f1): undefined reference to `sem_trywait'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart813':

(.text+0x68125): undefined reference to `sem_post'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart625':

(.text+0x6a56c): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a578): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x6a59a): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6a5a6): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a5bc): undefined reference to `dlclose'

/usr/bin/ld: (.text+0x6a60c): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a618): undefined reference to `dlopen'

/usr/bin/ld: (.text+0x6a63a): undefined reference to `dlvsym'

/usr/bin/ld: (.text+0x6a646): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6a65c): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart668':

(.text+0x6af05): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6af13): undefined reference to `dlopen'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart912':

(.text+0x6af25): undefined reference to `dlerror'

/usr/bin/ld: (.text+0x6af33): undefined reference to `dlopen'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart663':

(.text+0x6af45): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart746':

(.text+0x6af61): undefined reference to `dlsym'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart583':

(.text+0x6b07d): undefined reference to `pthread_key_create'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart507':

(.text+0x6b0a4): undefined reference to `pthread_key_delete'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart673':

(.text+0x6b0b4): undefined reference to `pthread_getspecific'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart674':

(.text+0x6b0c8): undefined reference to `pthread_setspecific'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1572':

(.text+0x6b181): undefined reference to `pthread_mutexattr_init'

/usr/bin/ld: (.text+0x6b1a1): undefined reference to `pthread_mutexattr_settype'

/usr/bin/ld: (.text+0x6b1af): undefined reference to `pthread_mutexattr_setpshared'

/usr/bin/ld: (.text+0x6b1ca): undefined reference to `pthread_mutexattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1308':

(.text+0x6b1dd): undefined reference to `pthread_mutexattr_init'

/usr/bin/ld: (.text+0x6b1f9): undefined reference to `pthread_mutexattr_settype'

/usr/bin/ld: (.text+0x6b207): undefined reference to `pthread_mutexattr_setpshared'

/usr/bin/ld: (.text+0x6b222): undefined reference to `pthread_mutexattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1492':

(.text+0x6b23d): undefined reference to `pthread_mutexattr_init'

/usr/bin/ld: (.text+0x6b259): undefined reference to `pthread_mutexattr_settype'

/usr/bin/ld: (.text+0x6b26a): undefined reference to `pthread_mutexattr_setpshared'

/usr/bin/ld: (.text+0x6b285): undefined reference to `pthread_mutexattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1231':

(.text+0x6b2b5): undefined reference to `pthread_mutex_trylock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart685':

(.text+0x6b307): undefined reference to `pthread_rwlockattr_init'

/usr/bin/ld: (.text+0x6b315): undefined reference to `pthread_rwlockattr_destroy'

/usr/bin/ld: (.text+0x6b33e): undefined reference to `pthread_rwlockattr_setpshared'

/usr/bin/ld: (.text+0x6b34f): undefined reference to `pthread_rwlock_init'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart640':

(.text+0x6b389): undefined reference to `pthread_rwlockattr_init'

/usr/bin/ld: (.text+0x6b395): undefined reference to `pthread_rwlockattr_destroy'

/usr/bin/ld: (.text+0x6b3b6): undefined reference to `pthread_rwlockattr_setpshared'

/usr/bin/ld: (.text+0x6b3c5): undefined reference to `pthread_rwlock_init'

/usr/bin/ld: (.text+0x6b3d5): undefined reference to `pthread_rwlockattr_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart904':

(.text+0x6b401): undefined reference to `pthread_rwlock_timedrdlock'

/usr/bin/ld: (.text+0x6b40d): undefined reference to `pthread_rwlock_rdlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart905':

(.text+0x6b441): undefined reference to `pthread_rwlock_timedwrlock'

/usr/bin/ld: (.text+0x6b44d): undefined reference to `pthread_rwlock_wrlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1070':

(.text+0x6b468): undefined reference to `pthread_rwlock_tryrdlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1071':

(.text+0x6b498): undefined reference to `pthread_rwlock_trywrlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart915':

(.text+0x6b4c4): undefined reference to `pthread_rwlock_unlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart916':

(.text+0x6b4d4): undefined reference to `pthread_rwlock_unlock'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart807':

(.text+0x6b4e4): undefined reference to `pthread_rwlock_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart706':

(.text+0x6b4f8): undefined reference to `pthread_rwlock_destroy'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1606':

(.text+0x6b515): undefined reference to `pthread_once'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1266':

(.text+0x6b54f): undefined reference to `pthread_condattr_setpshared'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart636':

(.text+0x6b5ab): undefined reference to `pthread_condattr_setpshared'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart858':

(.text+0x6b5fe): undefined reference to `pthread_condattr_setpshared'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart1069':

(.text+0x6b86e): undefined reference to `pthread_create'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart692':

(.text+0x6b939): undefined reference to `pthread_create'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart649':

(.text+0x6b99f): undefined reference to `pthread_join'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart693':

(.text+0x6b9e9): undefined reference to `pthread_detach'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart809':

(.text+0x6ba1b): undefined reference to `pthread_kill'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart867':

(.text+0x6c202): undefined reference to `shm_unlink'

/usr/bin/ld: (.text+0x6c21d): undefined reference to `shm_open'

/usr/bin/ld: (.text+0x6c2b3): undefined reference to `shm_unlink'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart628':

(.text+0x6c455): undefined reference to `shm_open'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart752':

(.text+0x6c5e5): undefined reference to `shm_open'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart643':

(.text+0x6c764): undefined reference to `shm_unlink'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart445':

(.text._ZN15CUOSdlsymLoaderIPFiiP8sockaddrPjiEED2Ev[__cudart446]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart441':

(.text._ZN15CUOSdlsymLoaderIPFiPiiEED2Ev[__cudart443]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart448':

(.text._ZN15CUOSdlsymLoaderIPFijiEED2Ev[__cudart449]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart459':

(.text._ZN15CUOSdlsymLoaderIPFivEED2Ev[__cudart461]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o): in function `__cudart453':

(.text._ZN15CUOSdlsymLoaderIPFimmPKmEED2Ev[__cudart455]+0x9): undefined reference to `dlclose'

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcudart_static.a(cudart_static.o):(.text._ZN15CUOSdlsymLoaderIPFimmPmEED2Ev[__cudart458]+0x9): more undefined references to `dlclose' follow

collect2: error: ld returned 1 exit status

make: *** [Makefile:404: cudaCompressibleMemory] Error 1

memMapIPCDrv

root@4e2eb60e3a46:/cuda-samples/Samples/3_CUDA_Features/memMapIPCDrv# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=compute_35 -o helper_multiprocess.o -c ../../../Common/helper_multiprocess.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=compute_35 -o memMapIpc.o -c memMapIpc.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=compute_35 -o memMapIPCDrv helper_multiprocess.o memMapIpc.o  -L/usr/local/cuda/lib64/stubs -lcuda

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: helper_multiprocess.o: undefined reference to symbol 'shm_open@@GLIBC_2.2.5'

/usr/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make: *** [Makefile:424: memMapIPCDrv] Error 1


ptxjit

collect2: error: ld returned 1 exit status

make: *** [Makefile:399: ptxjit] Error 1

 

 


4)

 


FilterBorderControlNPP

[root@4e2eb60e3a46:/cuda-samples/Samples/4_CUDA_Libraries/FilterBorderControlNPP# make

test.c:1:10: fatal error: FreeImage.h: No such file or directory

    1 | #include "FreeImage.h"

      |          ^~~~~~~~~~~~~

compilation terminated.

>>> WARNING - FreeImage is not set up correctly. Please ensure FreeImage is set up correctly. <<<


batchedLabelMarkersAndLabelCompressionNPP

root@4e2eb60e3a46:/cuda-samples/Samples/4_CUDA_Libraries/batchedLabelMarkersAndLabelCompressionNPP# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=compute_35 -o batchedLabelMarkersAndLabelCompressionNPP.o -c batchedLabelMarkersAndLabelCompressionNPP.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=compute_35 -o batchedLabelMarkersAndLabelCompressionNPP batchedLabelMarkersAndLabelCompressionNPP.o  -lnppisu_static -lnppif_static -lnppc_static -lculibos

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libculibos.a(cuos_common_posix.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

/usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make: *** [Makefile:342: batchedLabelMarkersAndLabelCompressionNPP] Error 1

boxFilterNPP

cannyEdgeDetectorNPP 도 같은 오류

어떤 헤더 파일이 필요한가 보다

 


conjugateGradient

root@4e2eb60e3a46:/cuda-samples/Samples/4_CUDA_Libraries/conjugateGradient# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=compute_35 -o main.o -c main.cpp

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=compute_35 -o conjugateGradient main.o  -lcublas_static -lcublasLt_static -lcusparse_static -lculibos

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcublas_static.a(cublas.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

/usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make: *** [Makefile:317: conjugateGradient] Error 1

conjugateGradientCudaGraphs

root@4e2eb60e3a46:/cuda-samples/Samples/4_CUDA_Libraries/conjugateGradientCudaGraphs# make

/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common  -m64    --std=c++11 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o conjugateGradientCudaGraphs.o -c conjugateGradientCudaGraphs.cu

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/local/cuda/bin/nvcc -ccbin g++ --cudart shared  -m64      -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_86,code=compute_86 -o conjugateGradientCudaGraphs conjugateGradientCudaGraphs.o  -lcublas_static -lcublasLt_static -lcusparse_static -lculibos

nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

/usr/bin/ld: /usr/local/cuda/bin/../targets/x86_64-linux/lib/libcublas_static.a(cublas.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

/usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make: *** [Makefile:329: conjugateGradientCudaGraphs] Error 1

cuDLAStandaloneMode(경고)

root@4e2eb60e3a46:/cuda-samples/Samples/4_CUDA_Libraries/cuDLAStandaloneMode# make

>>> WARNING - cuDLAStandaloneMode is not supported on Linux x86_64 - waiving sample <<<

>>> WARNING - libnvscibuf.so not found, Waiving the sample <<<

>>> WARNING - libnvscisync.so not found, Waiving the sample <<<

>>> WARNING - nvscibuf.h not found, Waiving the sample <<<

>>> WARNING - nvscisync.h not found, Waiving the sample <<<

>>> GCC Version is greater or equal to 4.7.0 <<<


root@4e2eb60e3a46:/cuda-samples/Samples/4_CUDA_Libraries/simpleCUFFT_callback# make

/usr/bin/ld: /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make: *** [Makefile:366: simpleCUFFT_callback] Error 1

 

 


5_Domain_Specific/SLID3D10Textur


5_Domain_Specific/volumeRender

nvcc fatal   : Value '-m64' is not defined for option 'cudart'

make: *** [Makefile:350: volumeRender] Error 1
반응형