Hello,
I am shifting to Linux from windows after a long gap. I installed driver, CUDA SDK and Tool kit 2.3. nvcc is working fine but I am facing following errors when I make.
make[1]: *** [obj/release/cutil.cpp.o] Error 1
make: *** [lib/libcutil.so] Error 2
Can anyone tell me why I am getting these errors. The detail is given below.
Thanks in advance,
Heshsham
[root@Heshsham C]# pwd
/root/NVIDIA_GPU_Computing_SDK/C
[root@Heshsham C]# ls
bin common doc lib Makefile releaseNotesData ReleaseNotes.html src tools
[root@Heshsham C]# make
make[1]: Entering directory /root/NVIDIA_GPU_Computing_SDK/C/common' [b]src/cutil.cpp:29:27: error: builtin_types.h: No such file or directory[/b] In file included from ./../common/inc/stopwatch.h:18, from src/cutil.cpp:34: ./../common/inc/stopwatch_base.h:56: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_base.h:60: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch_base.h:72, from ./../common/inc/stopwatch.h:18, from src/cutil.cpp:34: ./../common/inc/stopwatch_base.inl:67: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_base.inl:78: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch.h:25, from src/cutil.cpp:34: ./../common/inc/stopwatch_linux.h:46: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:50: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:126: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:143: warning: type qualifiers ignored on function return type In file included from src/cutil.cpp:34: ./../common/inc/stopwatch.h:35: warning: type qualifiers ignored on function return type In file included from src/cutil.cpp:35: ./../common/inc/bank_checker.h:34: warning: type qualifiers ignored on function return type ./../common/inc/bank_checker.h:220: warning: type qualifiers ignored on function return type [b]make[1]: *** [obj/release/cutil.cpp.o] Error 1 make[1]: Leaving directory
/root/NVIDIA_GPU_Computing_SDK/C/common’
make: *** [lib/libcutil.so] Error 2
[/b]