Hi all. Am currently trying to compile the SDK on RHEL 5.5 64-bit. The test box is an HP Z800 with 2 Tesla C2050 boards in it. Thanks to this forum, I resolved a few library issues that others have had. Currently ran into some undefined references (see below). I think the linker is trying to bring them in but can’t find them. What do you think?
Thanks,
Philippe
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/src/matrixMulDrv' obj/x86_64/release/matrixMulDrv.cpp.o: In function
initCUDA(int, char**, CUfunc_st**)‘:
matrixMulDrv.cpp:(.text+0x326): undefined reference to cuDeviceTotalMem_v2' matrixMulDrv.cpp:(.text+0x6db): undefined reference to
cuCtxCreate_v2’
obj/x86_64/release/matrixMulDrv.cpp.o: In function runTest(int, char**)': matrixMulDrv.cpp:(.text+0xc1b): undefined reference to
cuMemAlloc_v2’
matrixMulDrv.cpp:(.text+0xc35): undefined reference to cuMemAlloc_v2' matrixMulDrv.cpp:(.text+0xc55): undefined reference to
cuMemcpyHtoD_v2’
matrixMulDrv.cpp:(.text+0xc75): undefined reference to cuMemcpyHtoD_v2' matrixMulDrv.cpp:(.text+0xc95): undefined reference to
cuMemAlloc_v2’
matrixMulDrv.cpp:(.text+0xe22): undefined reference to cuMemcpyDtoH_v2' matrixMulDrv.cpp:(.text+0xef4): undefined reference to
cuMemFree_v2’
matrixMulDrv.cpp:(.text+0xf08): undefined reference to cuMemFree_v2' matrixMulDrv.cpp:(.text+0xf1c): undefined reference to
cuMemFree_v2’
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/linux/release/matrixMulDrv] Error 1
make[1]: Leaving directory `/root/NVIDIA_GPU_Computing_SDK/C/src/matrixMulDrv’
make: *** [src/matrixMulDrv/Makefile.ph_build] Error 2