Compiling SDK: make error 2 Ubuntu 8.10, CUDA 2

nvm i got this problem fixed. I had to change the 32 bit compatibility.

I am running Ubuntu 8.1 64bit and CUDA 2. I having trouble compiling the SDK from Nvidia. I already have the driver and toolbox installed.

here’s the error I’m getting when I compile using make:

[codebox]make[1]: Entering directory `/root/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 `/root/NVIDIA_CUDA_SDK/common’

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/common’

a - obj/release/paramgl.cpp.o

a - obj/release/param.cpp.o

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/common’

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/common’

a - obj/release/rendercheck_gl.cpp.o

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/common’

make -C projects/simpleTextureDrv/

make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/projects/simpleTextureDrv’

In file included from /usr/include/features.h:354,

             from /usr/local/cuda/bin/../include/host_config.h:53,

             from /usr/local/cuda/bin/../include/cuda_runtime.h:45,

             from <command-line>:0:

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

make[1]: *** [data/simpleTexture_kernel.cubin] Error 255

make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/projects/simpleTextureDrv’

make: *** [projects/simpleTextureDrv/Makefile.ph_build] Error 2[/codebox]

Thanks you in advance.

You need to install the 32bit compat libraries. This has been discussed on this forum before.