[...] In file included from /usr/X11R6/include/GL/glx.h:41:0, from glutint.h:22, from glut_bwidth.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_bwidth.o] Error 1 In file included from /usr/include/sys/types.h:25:0, from /usr/include/X11/Xlib.h:38, from glutint.h:20, from glut_dials.c:8: /usr/include/features.h:183:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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_dials.o] Error 1 make: Leaving directory '/tmp/B.VNtp59/BUILD/glut-3.7/lib/glut' error: Bad exit status from /tmp/B.VNtp59/BUILD/tmp/rpm-tmp.73182 (%build) RPM build errors: Bad exit status from /tmp/B.VNtp59/BUILD/tmp/rpm-tmp.73182 (%build) ended at: Mon Jan 22 13:46:21 2018, done in 0:00:15.748505 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.VNtp59/BUILD + rm -rf /tmp/B.VNtp59/tmp /tmp/B.VNtp59/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.VNtp59 Begin-TLD-Builder-Info Build-Time: user:14.69s sys:2.15s real:25.23s (faults io:0 non-io:1174156) End-TLD-Builder-Info