error not understand

i am new on fedora 9
i have installed all
and set the path also

root@localhost ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
[root@localhost ~]# echo $LD_LIBRARY_PATH

[root@localhost ~]# echo $LD_LIBRARY_PATH

[root@localhost ~]# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib
[root@localhost ~]# echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib
[root@localhost ~]# PATH=$PATH:/usr/local/cuda/bin
[root@localhost ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin:/usr/local/cuda/bin
[root@localhost ~]# cd /root/NVIDIA_CUDA_SDK/projects/alignedTypes/
[root@localhost alignedTypes]# export PATH
[root@localhost alignedTypes]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin:/usr/local/cuda/bin
[root@localhost alignedTypes]# export LD_LIBRARY_PATH
[root@localhost alignedTypes]# echo $LD_LIBRARY_PATH
:/usr/local/cuda/lib
[root@localhost alignedTypes]# dir
alignedTypes.cu alignedTypes.linkinfo doc Makefile obj
[root@localhost alignedTypes]# make dbg=1
/usr/bin/ld: cannot find -lcutilD
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/debug/alignedTypes] Error 1
[root@localhost alignedTypes]#

can not remove the error
please help me

AFAIK the debug libraries are not built by default, so you have to go to the main cudasdk directory and make the regular libs (if you haven’t already with ‘make’) and the debug libs (with ‘make dbg=1’). This should generate the library files libcutil.a, libcutilD.a, libparamgl.a, libparamglD.a, librendercheckgl.a, librendercheckglD.a in your cudasdk/lib directory.

i got this output

is it right?

[root@localhost /]# cd root

[root@localhost ~]# cd NVIDIA_CUDA_SDK/

[root@localhost NVIDIA_CUDA_SDK]# make dbg=1

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/common’

In file included from src/bank_checker.cpp:34:

./…/common/inc/bank_checker.h:52: warning: type qualifiers ignored on function return type

./…/common/inc/bank_checker.h:238: warning: type qualifiers ignored on function return type

src/bank_checker.cpp:75: warning: type qualifiers ignored on function return type

src/bank_checker.cpp:277: warning: type qualifiers ignored on function return type

In file included from ./…/common/inc/stopwatch.h:37,

             from src/cutil.cpp:53:

./…/common/inc/stopwatch_base.h:74: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_base.h:78: warning: type qualifiers ignored on function return type

In file included from ./…/common/inc/stopwatch_base.h:91,

             from ./../common/inc/stopwatch.h:37,

             from src/cutil.cpp:53:

./…/common/inc/stopwatch_base.inl:85: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_base.inl:96: warning: type qualifiers ignored on function return type

In file included from ./…/common/inc/stopwatch.h:44,

             from src/cutil.cpp:53:

./…/common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type

In file included from src/cutil.cpp:53:

./…/common/inc/stopwatch.h:53: warning: type qualifiers ignored on function return type

In file included from src/cutil.cpp:54:

./…/common/inc/bank_checker.h:52: warning: type qualifiers ignored on function return type

./…/common/inc/bank_checker.h:238: warning: type qualifiers ignored on function return type

In file included from ./…/common/inc/stopwatch.h:37,

             from src/stopwatch.cpp:36:

./…/common/inc/stopwatch_base.h:74: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_base.h:78: warning: type qualifiers ignored on function return type

In file included from ./…/common/inc/stopwatch_base.h:91,

             from ./../common/inc/stopwatch.h:37,

             from src/stopwatch.cpp:36:

./…/common/inc/stopwatch_base.inl:85: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_base.inl:96: warning: type qualifiers ignored on function return type

In file included from ./…/common/inc/stopwatch.h:44,

             from src/stopwatch.cpp:36:

./…/common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type

In file included from src/stopwatch.cpp:36:

./…/common/inc/stopwatch.h:53: warning: type qualifiers ignored on function return type

src/stopwatch.cpp:89: warning: type qualifiers ignored on function return type

In file included from src/stopwatch_linux.cpp:34:

./…/common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type

./…/common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type

ar: creating ./…/lib/libcutilD.a

a - obj/debug/bank_checker.cpp.o

a - obj/debug/cmd_arg_reader.cpp.o

a - obj/debug/cutil.cpp.o

a - obj/debug/stopwatch.cpp.o

a - obj/debug/stopwatch_linux.cpp.o

a - obj/debug/multithreading.cpp.o

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/common’

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/common’

In file included from ./…/common/inc/paramgl.h:13,

             from src/paramgl.cpp:8:

./…/common/inc/GL/glut.h:64:1: warning: “APIENTRY” redefined

In file included from ./…/common/inc/GL/glut.h:59,

             from ./../common/inc/paramgl.h:13,

             from src/paramgl.cpp:8:

/usr/include/GL/gl.h:105:1: warning: this is the location of the previous definition

ar: creating ./…/lib/libparamglD.a

a - obj/debug/paramgl.cpp.o

a - obj/debug/param.cpp.o

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/common’

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/common’

ar: creating ./…/lib/librendercheckglD.a

a - obj/debug/rendercheck_gl.cpp.o

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/common’

make -C projects/particles/

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/projects/particles’

In file included from particleSystem.cu:41:

…/…/common/inc/GL/glut.h:64:1: warning: “APIENTRY” redefined

In file included from …/…/common/inc/GL/glut.h:59,

             from particleSystem.cu:41:

/usr/include/GL/gl.h:105:1: warning: this is the location of the previous definition

/usr/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

make[1]: *** […/…/bin/linux/debug/particles] Error 1

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/projects/particles’

make: *** [projects/particles/Makefile.ph_build] Error 2

[root@localhost NVIDIA_CUDA_SDK]#

[root@localhost NVIDIA_CUDA_SDK]# cd projects/

[root@localhost projects]# cd alignedTypes/

[root@localhost alignedTypes]# make dbg=1

[root@localhost alignedTypes]# cd /root/NVIDIA_CUDA_SDK/bin/linux/debug/

[root@localhost debug]# ls

alignedTypes

[root@localhost debug]# ./alignedTypes

./alignedTypes: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory

[root@localhost debug]#

what do i next?

please help me