gcc -o ./pgms/ubgears -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ./src/ubgears.c -lGL -lXext -lX11
./src/ubgears.c:51:19: error: GL/gl.h: No such file or directory
./src/ubgears.c:52:20: error: GL/glx.h: No such file or directory
./src/ubgears.c:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'view_rotx'
...省略
./src/ubgears.c:632: error: 'GL_RENDERER' undeclared (first use in this function)
./src/ubgears.c:633: error: 'GL_VERSION' undeclared (first use in this function)
./src/ubgears.c:634: error: 'GL_VENDOR' undeclared (first use in this function)
./src/ubgears.c:635: error: 'GL_EXTENSIONS' undeclared (first use in this function)
./src/ubgears.c:643: warning: implicit declaration of function 'glXDestroyContext'
make: *** [pgms/ubgears] Error 1</p> <p>**********************************************
Run: "make all" failed; aborting