I am unsure as to what is going on here. I have tried a few things and got nothing.
james ~/NVIDIA_CUDA_SDK$ make
make[1]: Entering directory /home/james/NVIDIA_CUDA_SDK/common' a - obj/release/bank_checker.cpp.o a - obj/release/cmd_arg_reader.cpp.o a - obj/release/cutil.cpp.o a - obj/release/stopwatch.cpp.o a - obj/release/stopwatch_linux.cpp.o a - obj/release/multithreading.cpp.o make[1]: Leaving directory
/home/james/NVIDIA_CUDA_SDK/common’
make[1]: Entering directory /home/james/NVIDIA_CUDA_SDK/common' a - obj/release/paramgl.cpp.ocollect2: ld returned 1 exit status a - obj/release/param.cpp.o make[1]: Leaving directory
/home/james/NVIDIA_CUDA_SDK/common’
make[1]: Entering directory /home/james/NVIDIA_CUDA_SDK/common' a - obj/release/rendercheck_gl.cpp.o make[1]: Leaving directory
/home/james/NVIDIA_CUDA_SDK/common’
make -C projects/simpleGL/
make[1]: Entering directory /home/james/NVIDIA_CUDA_SDK/projects/simpleGL' /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libGL.so: undefined reference to
_nv001250gl’
/usr/lib/gcc/i486-linux-gnu/4.2.4/…/…/…/…/lib/libGL.so: undefined reference to _nv001253gl' /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libGL.so: undefined reference to
_nv001252gl’
/usr/lib/gcc/i486-linux-gnu/4.2.4/…/…/…/…/lib/libGL.so: undefined reference to _nv001254gl' /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libGL.so: undefined reference to
_nv001249gl’
/usr/lib/gcc/i486-linux-gnu/4.2.4/…/…/…/…/lib/libGL.so: undefined reference to _nv001251gl' /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libGL.so: undefined reference to
_nv001255gl’
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/linux/release/simpleGL] Error 1
make[1]: Leaving directory `/home/james/NVIDIA_CUDA_SDK/projects/simpleGL’
make: *** [projects/simpleGL/Makefile.ph_build] Error 2
I obviously get these two errors. I am not sure if it is connecting up with the right libraries. I do not think it is.
I do not know if /usr/lib/ director’s permissions against do not permit write.
I have both libglut.so and libglu.so.3 in the library directory. /usr/lib/ so I am unsure as to what is going on. I guess the directory
has no write permission. Is that right?
newport_j