Cuda sdk problem on 64 bit AMD with fedora 10 SDK programs shows error while compiling on 64 bit AMD

I am trying to run CUDA sdk programs on my machine which has a tesla 1060 card and fedora 10 (64 bit) on 64 bit AMD, but I get following error while compiling…

/usr/bin/ld: skipping incompatible …/…/lib/libcutil.a when searching for -lcutil
/usr/bin/ld: skipping incompatible …/…/lib/libcutil.a when searching for -lcutil
/usr/bin/ld: cannot find -lcutil
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/matrixMul] Error 1

Please help me to resolve this error.

You might need to recompile the cutil library - it seems like you might have an IA-32 format version of it in the sdk. Check that the makefile (in ~/NVIDIA_CUDA_SDK/common if I remember correctly) is set to compile 64 bit with the -fPIC option set during compilation.