It is happening because you have not told the compiler where to find those includes from the SDK. You will need to add -I directives to point the compiler to wherever the SDK /inc and common/inc are located.
In file included from teste.cu:19:
/home/pinto/NVIDIA_CUDA_SDK/common/inc/GL/glut.h:64:1: warning: "APIENTRY" redefined
In file included from /home/pinto/NVIDIA_CUDA_SDK/common/inc/GL/glut.h:59, from teste.cu:19:
/usr/include/GL/gl.h:105:1: warning: this is the location of the previous definition