Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm new to Linux and Ubuntu. I'm trying to install Cuda 4.2 on Ubuntu 12.04. I'm following the instructions found here: https://help.ubuntu.com/community/Cuda

Has anyone been able to get CUDA installed using those instructions? The errors I get happen when I try the compilation of the SDK. This is what I get:

smaragh@ubuntu69:~/NVIDIA_GPU_Computing_SDK/C$ LINKFLAGS=-L/usr/lib/nvidia-current-updates/ make cuda-install=/opt/cuda
make[1]: Entering directory `/home/smaragh/NVIDIA_GPU_Computing_SDK/C/common'
cc1plus: warning: command line option ‘-Wimplicit’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from src/bank_checker.cpp:15:0:
./../common/inc/bank_checker.h:34:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
./../common/inc/bank_checker.h:220:39: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
src/bank_checker.cpp:57:24: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
src/bank_checker.cpp:259:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Assembler messages:
Fatal error: can't create obj/x86_64/release/bank_checker.cpp.o: Permission denied
make[1]: *** [obj/x86_64/release/bank_checker.cpp.o] Error 1
make[1]: Leaving directory `/home/smaragh/NVIDIA_GPU_Computing_SDK/C/common'
make: *** [lib/libcutil.so] Error 2

Any help would be greatly appreciated. Thank you.

share|improve this question

1 Answer 1

Fatal error: can't create obj/x86_64/release/bank_checker.cpp.o: Permission denied

Hace you been trying to run commands as root/with sudo? Those will have created folders you cannot write to. Try to wipe the cuda directory and start from scratch.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.