When I try to link the libcudpp_x86_64.a from the SDK to create a shared library, under 64bit linux, I get the following error:
/usr/bin/ld: /home/kashif/NVIDIA_GPU_Computing_SDK/C/common/lib/linux/libcudpp_x86_64.a(cudpp_plan.cpp_o): relocation R_X86_64_32S against `vtable for CUDPPPlan' can not be used when making a shared object; recompile with -fPIC
/home/kashif/NVIDIA_GPU_Computing_SDK/C/common/lib/linux/libcudpp_x86_64.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
and I could get cudpp and compile it myself in which case it works, but I would like to be able to link to it without compiling it myself. Could the SDK maintainers kindly provide the cudpp with PIC enabled?
When I try to link the libcudpp_x86_64.a from the SDK to create a shared library, under 64bit linux, I get the following error:
/usr/bin/ld: /home/kashif/NVIDIA_GPU_Computing_SDK/C/common/lib/linux/libcudpp_x86_64.a(cudpp_plan.cpp_o): relocation R_X86_64_32S against `vtable for CUDPPPlan' can not be used when making a shared object; recompile with -fPIC
/home/kashif/NVIDIA_GPU_Computing_SDK/C/common/lib/linux/libcudpp_x86_64.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
and I could get cudpp and compile it myself in which case it works, but I would like to be able to link to it without compiling it myself. Could the SDK maintainers kindly provide the cudpp with PIC enabled?