I have installed the latest (Redhat 5.x 64 bit) drivers from the Nvidia website along with the SDK and toolkit. When I try to make the files in NVIDIA_CUDA_SDK I get the following error message:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/…/…/…/…/lib/libcuda.so when searching for -lcuda
/usr/bin/ld: skipping incompatible /usr/lib/…/lib/libcuda.so when searching for -lcuda
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/…/…/…/libcuda.so when searching for -lcuda
/usr/bin/ld: skipping incompatible /usr/bin/…/lib/libcuda.so when searching for -lcuda
/usr/bin/ld: skipping incompatible /usr/lib64/libcuda.so when searching for -lcuda
/usr/bin/ld: skipping incompatible /usr/lib/libcuda.so when searching for -lcuda
/usr/bin/ld: cannot find -lcuda
I have also installed the:
sudo apt-get install libc6-dev-i386
I have been busting my head at this for a few days, and come to the conclusion: I need help :)
Please help and thanks for your time. Just ask if you need more information.
Ubuntu-8.04 is not currently supported with CUDA (only 7.04 & 7.10). Even if you resolve the problem above, you will very likely run into issues with the version of gcc that ships with 8.04.
A next release of CUDA (after 2.0) will support Ubuntu-8.04.
It sounds like you’ve somehow installed an incompatible version of the driver and the toolkit, so I would double check that everything’s okay there first. But as netllama said, gcc 4.3 doesn’t play nicely with CUDA sometimes and isn’t officially supported yet.