ok…so i somehow got NVIDIA-Linux-x86-173.14.09-pkg1 and got libcuda.so from it.
Now when I execute “make emu=1” it gives
make[1]: Entering directory `/home/NVIDIA_CUDA_SDK/projects/threadMigration’
obj/emudebug/threadMigration.cpp_o: In function `FinalErrorCheck(int, int, int)':
/home/NVIDIA_CUDA_SDK/projects/threadMigration/threadMigration.cpp:247: undefined reference to `cuCtxDestroy’
obj/emudebug/threadMigration.cpp_o: In function `ThreadProc(_CUDAContext_st*)':
/home/NVIDIA_CUDA_SDK/projects/threadMigration/threadMigration.cpp:189: undefined reference to `cuCtxPushCurrent’
/home/NVIDIA_CUDA_SDK/projects/threadMigration/threadMigration.cpp:225: undefined reference to `cuCtxPopCurrent’
obj/emudebug/threadMigration.cpp_o: In function `InitCUDAContext(_CUDAContext_st*, int, int, char*)':
/home/NVIDIA_CUDA_SDK/projects/threadMigration/threadMigration.cpp:157: undefined reference to `cuCtxPopCurrent’
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/linux/emudebug/threadMigration] Error 1
make[1]: Leaving directory `/home/NVIDIA_CUDA_SDK/projects/threadMigration’
make: *** [projects/threadMigration/Makefile.ph_build] Error 2
I am using gnu gcc-4.1 as compiler.
Can someone guide me what to do next.