JOGL's Strange errors
Posted by smabakane on Feb 02, 2015; 3:02pm
URL: https://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980.html
Hello
I am currently installing JOGL but get strange errors. Basically, I managed to install JOGL dependencies (e.g apache-ant. jdk) and also successfully installed gluegen. The problem is when i attempt to install JOGL using ant command. Below is a piece of errors that am getting:
setup.java.home.dir.nonmacosx:
setup.java.home.dir.macosx:
setup.java.home.dir:
[echo] java.home.dir /usr/java/jdk1.8.0_25/jre/..
[echo] java.includes.dir /usr/java/jdk1.8.0_25/jre/../include
gluegen.cpptasks.configure.compiler:
gluegen.cpptasks.declare.compiler.environment:
gluegen.cpptasks.declare.compiler.win32.vc6:
gluegen.cpptasks.declare.compiler.win32.vc7:
gluegen.cpptasks.declare.compiler.win32.vc8:
gluegen.cpptasks.declare.compiler.win32.vc8_x64:
gluegen.cpptasks.declare.compiler.win32.vc9:
gluegen.cpptasks.declare.compiler.win32.mingw:
gluegen.cpptasks.declare.compiler.win64.mingw:
gluegen.cpptasks.declare.compiler.win32:
gluegen.cpptasks.declare.compiler.linux.x86:
[echo] Linux.x86
gluegen.cpptasks.declare.compiler.linux.amd64:
gluegen.cpptasks.declare.compiler.linux.ia64:
gluegen.cpptasks.declare.compiler.linux.armv6:
gluegen.cpptasks.declare.compiler.linux.aarch64:
gluegen.cpptasks.declare.compiler.linux.alpha:
gluegen.cpptasks.declare.compiler.linux.hppa:
gluegen.cpptasks.declare.compiler.linux.mips:
gluegen.cpptasks.declare.compiler.linux.mipsel:
gluegen.cpptasks.declare.compiler.linux.ppc:
gluegen.cpptasks.declare.compiler.linux.s390:
gluegen.cpptasks.declare.compiler.linux.s390x:
gluegen.cpptasks.declare.compiler.linux.sparc:
gluegen.cpptasks.declare.compiler.linux:
gluegen.cpptasks.declare.compiler.solaris32:
gluegen.cpptasks.declare.compiler.solaris.sparcv9:
gluegen.cpptasks.declare.compiler.solaris.amd64:
gluegen.cpptasks.declare.compiler.solaris:
gluegen.cpptasks.declare.compiler.macosx:
gluegen.cpptasks.declare.compiler.freebsd.x86:
gluegen.cpptasks.declare.compiler.freebsd.amd64:
gluegen.cpptasks.declare.compiler.freebsd:
gluegen.cpptasks.declare.compiler.hpux:
gluegen.cpptasks.declare.compiler:
[echo] java.lib.dir.platform: /usr/java/jdk1.8.0_25/jre/../jre/lib/i386
gluegen.cpptasks.setup.compiler:
c.configure.1:
c.configure.win32.vc:
c.configure.win32.mingw:
c.configure.win64.mingw:
c.configure.win32:
c.configure.linux.x86:
[echo] Linux.x86
[echo] linker.cfg.id.oswin linker.cfg.linux.x86.newt.x11
c.configure.linux.amd64:
c.configure.linux.armv6:
c.configure.linux.aarch64:
c.configure.linux.hppa:
c.configure.linux.mips:
c.configure.linux.mipsel:
c.configure.linux.ppc:
c.configure.linux.s390:
c.configure.linux.sparc:
c.configure.linux.ia64:
c.configure.x11:
c.configure.linux:
c.configure.android:
c.configure.solaris32:
c.configure.solaris.sparcv9:
c.configure.solaris.amd64:
c.configure.macosx:
c.configure.freebsd.x86:
c.configure.freebsd.amd64:
c.configure.freebsd:
c.configure.hpux:
c.configure.2:
c.configure:
c.build.newt.prepare:
c.build.newt.prepare.android:
c.build.newt.windowlib:
[echo] Output lib name = newt
[echo] Compiling newt
[cc] 8 total files to be compiled.
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c: In function ‘putPtrIn32Long’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c:72:9: warning: right shift count >= width of type [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c: In function ‘getPtrOut32Long’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11Window.c:80:15: warning: left shift count >= width of type [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getScreenResources0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:42:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:42:31: warning: initialization makes pointer from integer without a cast [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_freeScreenResources0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:38: note: each undeclared identifier is reported only once for each function it appears in
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:56:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: At top level:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:64:59: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:64:103: error: unknown type name ‘RROutput’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:81:26: error: unknown type name ‘XRRModeInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_dumpInfo0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:112:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:129:83: error: request for member ‘ncrtc’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:130:25: error: request for member ‘ncrtc’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:131:9: error: unknown type name ‘RRCrtc’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:131:32: error: request for member ‘crtcs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:132:9: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:132:36: warning: initialization makes pointer from integer without a cast [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:27: error: request for member ‘x’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:43: error: request for member ‘y’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:59: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:79: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:100: error: request for member ‘rotations’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:134:124: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:135:31: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:136:83: error: request for member ‘outputs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:141:72: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:141:92: error: request for member ‘outputs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:143:83: error: request for member ‘nmode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:144:25: error: request for member ‘nmode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:145:9: error: unknown type name ‘XRRModeInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:145:39: error: request for member ‘modes’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:147:33: error: request for member ‘hTotal’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:147:48: error: request for member ‘vTotal’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:74: error: request for member ‘id’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:84: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:97: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:116: error: request for member ‘name’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:149:116: error: request for member ‘name’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDeviceCount0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:161:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:162:45: error: request for member ‘ncrtc’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorInfoHandle0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:175:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:177:50: error: request for member ‘ncrtc’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:180:5: error: unknown type name ‘RRCrtc’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:180:28: error: request for member ‘crtcs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:181:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:181:32: warning: initialization makes pointer from integer without a cast [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_freeMonitorInfoHandle0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:46: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:194:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getAvailableRotations0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:46: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:208:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:212:47: error: request for member ‘rotations’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorViewport0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:46: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:252:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:259:28: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:259:54: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:268:36: error: request for member ‘x’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:269:36: error: request for member ‘y’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:270:36: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:271:36: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorMode0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:290:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:292:51: error: request for member ‘nmode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:296:5: error: unknown type name ‘XRRModeInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:296:35: error: request for member ‘modes’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:297:29: error: request for member ‘hTotal’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:297:44: error: request for member ‘vTotal’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:300:13: error: request for member ‘modeFlags’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:300:27: error: ‘RR_Interlace’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:303:13: error: request for member ‘modeFlags’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:303:27: error: ‘RR_DoubleScan’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:311:29: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:312:29: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:316:29: error: request for member ‘id’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorCurrentMode0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:336:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:46: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:337:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:344:28: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:344:54: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:349:29: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:350:5: error: unknown type name ‘XRRModeInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:352:25: error: request for member ‘nmode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:353:9: error: unknown type name ‘XRRModeInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:353:40: error: request for member ‘modes’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:354:18: error: request for member ‘id’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:364:29: error: request for member ‘hTotal’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:364:44: error: request for member ‘vTotal’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:367:13: error: request for member ‘modeFlags’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:367:27: error: ‘RR_Interlace’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:370:13: error: request for member ‘modeFlags’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:370:27: error: ‘RR_DoubleScan’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:378:29: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:379:29: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:383:29: error: request for member ‘id’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:384:69: error: request for member ‘rotation’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDevice0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:404:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:46: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:405:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:407:73: error: request for member ‘ncrtc’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:412:28: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:412:54: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:417:5: error: unknown type name ‘RROutput’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:417:34: error: request for member ‘outputs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:418:5: error: unknown type name ‘XRROutputInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:418:37: warning: initialization makes pointer from integer without a cast [enabled by default]
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:419:33: error: request for member ‘nmode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:427:38: error: request for member ‘mm_width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:428:38: error: request for member ‘mm_height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:429:36: error: request for member ‘x’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:430:36: error: request for member ‘y’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:431:36: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:432:36: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:433:36: error: request for member ‘x’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:434:36: error: request for member ‘y’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:435:36: error: request for member ‘width’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:436:36: error: request for member ‘height’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:437:36: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:438:69: error: request for member ‘rotation’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:442:42: error: request for member ‘modes’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_setMonitorMode0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:465:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:5: error: unknown type name ‘XRRCrtcInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:33: error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:46: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:466:59: error: expected ‘,’ or ‘;’ before ‘monitorInfo’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:469:73: error: request for member ‘ncrtc’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:474:28: error: request for member ‘mode’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:474:54: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:485:24: error: request for member ‘x’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:486:24: error: request for member ‘y’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:489:64: error: request for member ‘crtcs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:491:50: error: request for member ‘outputs’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:491:72: error: request for member ‘noutput’ in something not a structure or union
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c: In function ‘Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0’:
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:5: error: unknown type name ‘XRRScreenResources’
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:38: error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:58: error: expected expression before ‘)’ token
[cc] /opt/gridware/libraries/jogl/jogl-master/src/newt/native/X11RandR13.c:507:71: error: expected ‘,’ or ‘;’ before ‘screenResources’
BUILD FAILED
/opt/gridware/libraries/jogl/jogl-master/make/build.xml:79: The following error occurred while executing this line:
/opt/gridware/libraries/jogl/jogl-master/make/build-newt.xml:737: The following error occurred while executing this line:
/opt/gridware/libraries/jogl/jogl-master/make/build-newt.xml:656: gcc failed with return code 1
Total time: 3 minutes 15 seconds
root@login02:/opt/gridware/libraries/jogl/jogl-master/make $
I have tried to use different gcc compilers 4.12 and 4.7.2 but that doesn't help. Can you please help me?
Regards,
Sticks