root@bt:/opt/cuda/NVIDIA_CUDA_SDK/C# make
make[1]: Entering directory `/opt/cuda/NVIDIA_CUDA_SDK/C/common’
make[1]: Leaving directory `/opt/cuda/NVIDIA_CUDA_SDK/C/common’
make[1]: Entering directory `/opt/cuda/NVIDIA_CUDA_SDK/C/common’
make[1]: Leaving directory `/opt/cuda/NVIDIA_CUDA_SDK/C/common’
make[1]: Entering directory `/opt/cuda/NVIDIA_CUDA_SDK/C/common’
make[1]: Leaving directory `/opt/cuda/NVIDIA_CUDA_SDK/C/common’
make[1]: Entering directory `/opt/cuda/NVIDIA_CUDA_SDK/shared’
make[1]: Leaving directory `/opt/cuda/NVIDIA_CUDA_SDK/shared’
make -C src/vectorAddDrv/
make[1]: Entering directory `/opt/cuda/NVIDIA_CUDA_SDK/C/src/vectorAddDrv’
In file included from …/…/common/inc/cutil_inline.h:20,
from vectorAddDrv.cpp:24:
…/…/common/inc/cutil_inline_runtime.h: In function ‘void __cufftSafeCall(cufftResult, const char*, int)’:
…/…/common/inc/cutil_inline_runtime.h:307: error: ‘CUFFT_UNALIGNED_DATA’ was not declared in this scope
…/…/common/inc/cutil_inline_runtime.h: At global scope:
…/…/common/inc/cutil_inline_runtime.h:472: warning: unused parameter ‘argc’
…/…/common/inc/cutil_inline_runtime.h:472: warning: unused parameter ‘argv’
vectorAddDrv.cpp: In function ‘int main(int, char**)’:
vectorAddDrv.cpp:212: error: ‘cuLaunchKernel’ was not declared in this scope
vectorAddDrv.cpp:232: error: ‘cuLaunchKernel’ was not declared in this scope
vectorAddDrv.cpp: In function ‘bool findModulePath(const char*, std::string&, char**, std::string&)’:
vectorAddDrv.cpp:361: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[1]: *** [obj/i386/release/vectorAddDrv.cpp.o] Error 1
make[1]: Leaving directory `/opt/cuda/NVIDIA_CUDA_SDK/C/src/vectorAddDrv’
make: *** [src/vectorAddDrv/Makefile.ph_build] Error 2
root@bt:/opt/cuda/NVIDIA_CUDA_SDK/C#