make[1]: Entering directory `/root/NVIDIA_CUDA_SDK/common' In file included from src/bank_checker.cpp:33: ./../common/inc/bank_checker.h:52: warning: type qualifiers ignored on function return type ./../common/inc/bank_checker.h:238: warning: type qualifiers ignored on function return type src/bank_checker.cpp:75: warning: type qualifiers ignored on function return type src/bank_checker.cpp:277: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch.h:36, from src/cutil.cpp:52: ./../common/inc/stopwatch_base.h:74: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_base.h:78: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch_base.h:90, from ./../common/inc/stopwatch.h:36, from src/cutil.cpp:52: ./../common/inc/stopwatch_base.inl:85: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_base.inl:96: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch.h:43, from src/cutil.cpp:52: ./../common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type In file included from src/cutil.cpp:52: ./../common/inc/stopwatch.h:53: warning: type qualifiers ignored on function return type In file included from src/cutil.cpp:53: ./../common/inc/bank_checker.h:52: warning: type qualifiers ignored on function return type ./../common/inc/bank_checker.h:238: warning: type qualifiers ignored on function return type src/cutil.cpp: In function ‘CUTBoolean::loadPPM(const char*, unsigned char**, unsigned int*, unsigned int*, unsigned int*)’: src/cutil.cpp:185: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result src/cutil.cpp:207: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result src/cutil.cpp:242: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result In file included from ./../common/inc/stopwatch.h:36, from src/stopwatch.cpp:35: ./../common/inc/stopwatch_base.h:74: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_base.h:78: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch_base.h:90, from ./../common/inc/stopwatch.h:36, from src/stopwatch.cpp:35: ./../common/inc/stopwatch_base.inl:85: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_base.inl:96: warning: type qualifiers ignored on function return type In file included from ./../common/inc/stopwatch.h:43, from src/stopwatch.cpp:35: ./../common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type In file included from src/stopwatch.cpp:35: ./../common/inc/stopwatch.h:53: warning: type qualifiers ignored on function return type src/stopwatch.cpp:89: warning: type qualifiers ignored on function return type In file included from src/stopwatch_linux.cpp:33: ./../common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type ./../common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type ar: creating ./../lib/libcutil.a 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' In file included from ./../common/inc/paramgl.h:13, from src/paramgl.cpp:8: ./../common/inc/GL/glut.h:59:19: error: GL/gl.h: No such file or directory ./../common/inc/GL/glut.h:60:20: error: GL/glu.h: No such file or directory In file included from ./../common/inc/paramgl.h:13, from src/paramgl.cpp:8: ./../common/inc/GL/glut.h:433: warning: ‘glutUseLayer’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:433: error: variable or field ‘glutUseLayer’ declared void ./../common/inc/GL/glut.h:433: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:491: error: ‘GLfloat’ has not been declared ./../common/inc/GL/glut.h:491: error: ‘GLfloat’ has not been declared ./../common/inc/GL/glut.h:491: error: ‘GLfloat’ has not been declared ./../common/inc/GL/glut.h:492: error: ‘GLfloat’ does not name a type ./../common/inc/GL/glut.h:496: warning: ‘glutGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:496: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:497: warning: ‘glutDeviceGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:497: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:504: warning: ‘glutLayerGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:504: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:518: warning: ‘glutWireSphere’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:518: error: variable or field ‘glutWireSphere’ declared void ./../common/inc/GL/glut.h:518: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:518: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:518: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:519: warning: ‘glutSolidSphere’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:519: error: variable or field ‘glutSolidSphere’ declared void ./../common/inc/GL/glut.h:519: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:519: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:519: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:520: warning: ‘glutWireCone’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:520: error: variable or field ‘glutWireCone’ declared void ./../common/inc/GL/glut.h:520: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:520: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:520: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:520: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:521: warning: ‘glutSolidCone’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:521: error: variable or field ‘glutSolidCone’ declared void ./../common/inc/GL/glut.h:521: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:521: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:521: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:521: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:522: warning: ‘glutWireCube’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:522: error: variable or field ‘glutWireCube’ declared void ./../common/inc/GL/glut.h:522: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:523: warning: ‘glutSolidCube’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:523: error: variable or field ‘glutSolidCube’ declared void ./../common/inc/GL/glut.h:523: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:524: warning: ‘glutWireTorus’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:524: error: variable or field ‘glutWireTorus’ declared void ./../common/inc/GL/glut.h:524: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:524: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:524: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:524: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:525: warning: ‘glutSolidTorus’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:525: error: variable or field ‘glutSolidTorus’ declared void ./../common/inc/GL/glut.h:525: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:525: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:525: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:525: error: ‘GLint’ was not declared in this scope ./../common/inc/GL/glut.h:528: warning: ‘glutWireTeapot’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:528: error: variable or field ‘glutWireTeapot’ declared void ./../common/inc/GL/glut.h:528: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:529: warning: ‘glutSolidTeapot’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:529: error: variable or field ‘glutSolidTeapot’ declared void ./../common/inc/GL/glut.h:529: error: ‘GLdouble’ was not declared in this scope ./../common/inc/GL/glut.h:539: warning: ‘glutVideoResizeGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:539: error: ‘GLenum’ was not declared in this scope ./../common/inc/GL/glut.h:579: warning: ‘glutGameModeGet’ initialized and declared ‘extern’ ./../common/inc/GL/glut.h:579: error: ‘GLenum’ was not declared in this scope src/paramgl.cpp: In function ‘void beginWinCoords()’: src/paramgl.cpp:13: error: ‘GL_MODELVIEW’ was not declared in this scope src/paramgl.cpp:13: error: ‘glMatrixMode’ was not declared in this scope src/paramgl.cpp:14: error: ‘glPushMatrix’ was not declared in this scope src/paramgl.cpp:15: error: ‘glLoadIdentity’ was not declared in this scope src/paramgl.cpp:16: error: ‘glutGet’ cannot be used as a function src/paramgl.cpp:16: error: ‘glTranslatef’ was not declared in this scope src/paramgl.cpp:17: error: ‘glScalef’ was not declared in this scope src/paramgl.cpp:19: error: ‘GL_PROJECTION’ was not declared in this scope src/paramgl.cpp:22: error: ‘glutGet’ cannot be used as a function src/paramgl.cpp:22: error: ‘glutGet’ cannot be used as a function src/paramgl.cpp:22: error: ‘glOrtho’ was not declared in this scope src/paramgl.cpp: In function ‘void endWinCoords()’: src/paramgl.cpp:29: error: ‘GL_PROJECTION’ was not declared in this scope src/paramgl.cpp:29: error: ‘glMatrixMode’ was not declared in this scope src/paramgl.cpp:30: error: ‘glPopMatrix’ was not declared in this scope src/paramgl.cpp:32: error: ‘GL_MODELVIEW’ was not declared in this scope src/paramgl.cpp: In function ‘void glPrint(int, int, const char*, void*)’: src/paramgl.cpp:38: error: ‘glRasterPos2f’ was not declared in this scope src/paramgl.cpp: In function ‘void glPrintShadowed(int, int, const char*, void*, float*)’: src/paramgl.cpp:47: error: ‘glColor3f’ was not declared in this scope src/paramgl.cpp:50: error: ‘GLfloat’ was not declared in this scope src/paramgl.cpp:50: error: expected primary-expression before ‘)’ token src/paramgl.cpp:50: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp: At global scope: src/paramgl.cpp:45: warning: unused parameter ‘color’ src/paramgl.cpp: In member function ‘void ParamListGL::Render(int, int, bool)’: src/paramgl.cpp:94: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp:96: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp:106: error: ‘GLfloat’ was not declared in this scope src/paramgl.cpp:106: error: expected primary-expression before ‘)’ token src/paramgl.cpp:106: error: ‘glColor3fv’ was not declared in this scope src/paramgl.cpp:107: error: ‘GL_LINE_LOOP’ was not declared in this scope src/paramgl.cpp:107: error: ‘glBegin’ was not declared in this scope src/paramgl.cpp:108: error: ‘glVertex2f’ was not declared in this scope src/paramgl.cpp:112: error: ‘glEnd’ was not declared in this scope src/paramgl.cpp:114: error: expected primary-expression before ‘)’ token src/paramgl.cpp:115: error: ‘glRectf’ was not declared in this scope make[1]: *** [obj/release/paramgl.cpp.o] Error 1 make[1]: Leaving directory `/root/NVIDIA_CUDA_SDK/common' make: *** [lib/libparamgl.so] Error 2