Can't compile SDK on Kubuntu 64

I tried compiling the SDK examples on Kubuntu 64. I get the following error message:

make[1]: Leaving directory `/home/baisa/NVIDIA_CUDA_SDK/common'

make -C projects/matrixMulDrv/

make[1]: Entering directory `/home/baisa/NVIDIA_CUDA_SDK/projects/matrixMulDrv'

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

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

                 from <command line>:1:

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

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

I read somewhere this was due to something thinking it was a 32 bit system, not a 64 bit system.

You need to install the OS package which includes gnu/stubs-32.h.