[...] In file included from glutint.h:25:0, from glut_cmap.c:30: ../../include/GL/glut.h:63:0: warning: "APIENTRY" redefined #define APIENTRY In file included from /usr/X11R6/include/GL/glx.h:41:0, from glutint.h:22, from glut_cmap.c:30: /usr/X11R6/include/GL/gl.h:104:0: note: this is the location of the previous definition #define APIENTRY GLAPIENTRY In file included from /usr/X11R6/include/GL/glx.h:117:0, from glutint.h:22, from glut_dials.c:8: /usr/include/GL/glxext.h:212:27: error: expected declaration specifiers or '...' before '*' token typedef __GLXextFuncPtr ( *PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName); ^ In file included from glutint.h:25:0, from glut_dials.c:8: ../../include/GL/glut.h:63:0: warning: "APIENTRY" redefined #define APIENTRY In file included from /usr/X11R6/include/GL/glx.h:41:0, from glutint.h:22, from glut_dials.c:8: /usr/X11R6/include/GL/gl.h:104:0: note: this is the location of the previous definition #define APIENTRY GLAPIENTRY make: *** [Makefile:520: glut_cursor.o] Error 1 make: *** [Makefile:520: glut_cindex.o] Error 1 make: *** [Makefile:520: glut_cmap.o] Error 1 make: *** [Makefile:520: glut_dials.o] Error 1 make: Leaving directory '/tmp/B.wBGPOr/BUILD/glut-3.7/lib/glut' error: Bad exit status from /tmp/B.wBGPOr/BUILD/tmp/rpm-tmp.27749 (%build) RPM build errors: Bad exit status from /tmp/B.wBGPOr/BUILD/tmp/rpm-tmp.27749 (%build) ended at: Mon Jan 22 13:58:23 2018, done in 0:00:15.465272 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.wBGPOr/BUILD + rm -rf /tmp/B.wBGPOr/tmp /tmp/B.wBGPOr/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.wBGPOr Begin-TLD-Builder-Info Build-Time: user:12.89s sys:1.83s real:17.11s (faults io:0 non-io:1109246) End-TLD-Builder-Info