I just bought a GTX 460 and installed Ubuntu 10.10
When I try to compile the SDK sample programs appears the following error:
/usr/bin/ld: cannot find -lcuda collect2: ld returned 1 exit status make: ***[../../bin/linux/release/vectorAddDrv] Error 1 make: exit directory <</home/federico/NVIDIA_GPU_Computing_SDK/C/src/vectorAddDrv>> make: *** [src/vectorAddDrv/Makefile.ph_build] Error 2
I have already installed cuda-toolkit and cuda-sdk.
The current cuda-driver is: 260.19.06
I didn’t install the newest driver because when I installed it and then reboot there’s no more GUI and if I try to launch the X-Server appears this:
Error: API mismatch: the NVIDIA kernel module has the version 260.19.26, but this X module has the version 260.19.06. Please make sure that the kernel module and all NVIDIA driver components have the same version.
And don’t know how to solve that problem, that’s why I didn’t install the latest driver.
Why I get the error “cannot find -lcuda”? if that problem is attached to the driver version, How can I solve the problem of the X server. I’m really new to linux.