Posted by
smabakane on
Feb 03, 2015; 1:57pm
URL: https://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4033996.html
Hello
I have installed this library dependencies, XrandR, git, R-devel, X11.
Below is the output of yum that shows the library are installed but am
still getting the same error about compiling
root@login02:~ $ yum list | grep Xrand
libXrandr.i386 1.1.1-3.3
installed
libXrandr.x86_64 1.1.1-3.3
installed
libXrandr-devel.i386 1.1.1-3.3
installed
libXrandr-devel.x86_64 1.1.1-3.3
installed
root@login02:~ $
root@login02:~ $ yum list | grep git
git.x86_64 1.8.2.1-1.el5
installed
git-all.x86_64 1.8.2.1-1.el5
installed
git-cvs.x86_64 1.8.2.1-1.el5
installed
git-email.x86_64 1.8.2.1-1.el5
installed
git-gui.x86_64 1.8.2.1-1.el5
installed
git-p4.x86_64 1.8.2.1-1.el5
installed
git-svn.x86_64 1.8.2.1-1.el5
installed
gitk.x86_64 1.8.2.1-1.el5
installed
root@login02:~ $
root@login02:~ $ yum list | grep R-devel.
OpenEXR-devel.x86_64 1.4.0a-5.el5
installed
R-devel.x86_64 3.1.2-1.el5
installed
root@login02:~ $
root@login02:~ $ yum list | grep X11
libX11.i386 1.0.3-11.el5_7.1
installed
libX11.x86_64 1.0.3-11.el5_7.1
installed
libX11-devel.i386 1.0.3-11.el5_7.1
installed
libX11-devel.x86_64 1.0.3-11.el5_7.1
installed
perl-X11-Protocol.noarch 0.56-5.el5
installed
vim-X11.x86_64 2:7.0.109-7.2.el5
installed
root@login02:~ $
Below is the latest error when system compile X11RandR13.c file:
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
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c: In
function ‘putPtrIn32Long’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c:72:
warning: right shift count >= width of type
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c: In
function ‘getPtrOut32Long’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11Window.c:80:
warning: left shift count >= width of type
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc] cc1: warning: command line option "-fno-rtti" is valid for
C++/ObjC++ but not for C
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_getScreenResources0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42:
error: (Each undeclared identifier is reported only once
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42:
error: for each function it appears in.)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:42:
error: ‘res’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function
‘Java_jogamp_newt_driver_x11_RandR13_freeScreenResources0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:56:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: At top
level:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:64:
error: expected declaration specifiers or ‘...’ before
‘XRRScreenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:64:
error: expected declaration specifiers or ‘...’ before
‘RROutput’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘dumpOutputs’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:66:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:68:
error: ‘RROutput’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:68:
error: expected ‘;’ before ‘output’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:69:
error: ‘XRROutputInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:69:
error: ‘xrrOutputInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:69:
error: ‘output’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: At top
level:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:81:
error: expected ‘)’ before ‘*’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_dumpInfo0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:112:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:131:
error: ‘RRCrtc’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:131:
error: expected ‘;’ before ‘crtc’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:132:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:132:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:132:
error: ‘crtc’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:141:
error: too many arguments to function ‘dumpOutputs’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:145:
error: ‘XRRModeInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:145:
error: ‘mode’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function
‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDeviceCount0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:161:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function
‘Java_jogamp_newt_driver_x11_RandR13_getMonitorInfoHandle0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:175:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:180:
error: ‘RRCrtc’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:180:
error: expected ‘;’ before ‘crtc’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:181:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:181:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:181:
error: ‘crtc’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function
‘Java_jogamp_newt_driver_x11_RandR13_freeMonitorInfoHandle0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:194:
error: expected ‘;’ before ‘monitorInfo’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function
‘Java_jogamp_newt_driver_x11_RandR13_getAvailableRotations0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:208:
error: expected ‘;’ before ‘monitorInfo’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorViewport0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:252:
error: expected ‘;’ before ‘monitorInfo’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorMode0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:290:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:296:
error: ‘XRRModeInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:296:
error: ‘mode’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:300:
error: ‘RR_Interlace’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:303:
error: ‘RR_DoubleScan’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function
‘Java_jogamp_newt_driver_x11_RandR13_getMonitorCurrentMode0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:336:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:337:
error: expected ‘;’ before ‘monitorInfo’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:350:
error: ‘XRRModeInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:350:
error: ‘mode’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:353:
error: ‘imode’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:367:
error: ‘RR_Interlace’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:370:
error: ‘RR_DoubleScan’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_getMonitorDevice0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:404:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:405:
error: expected ‘;’ before ‘monitorInfo’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:417:
error: ‘RROutput’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:417:
error: expected ‘;’ before ‘output’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:418:
error: ‘XRROutputInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:418:
error: ‘xrrOutputInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:418:
error: ‘output’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_setMonitorMode0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:465:
error: expected ‘;’ before ‘screenResources’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466:
error: ‘XRRCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466:
error: ‘xrrCrtcInfo’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:466:
error: expected ‘;’ before ‘monitorInfo’
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c: In
function ‘Java_jogamp_newt_driver_x11_RandR13_setScreenViewport0’:
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507:
error: ‘XRRScreenResources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507:
error: ‘resources’ undeclared (first use in this function)
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507:
error: expected expression before ‘)’ token
[cc]
/opt/gridware/libraries/jogl/jogl/src/newt/native/X11RandR13.c:507:
error: expected ‘;’ before ‘screenResources’
BUILD FAILED
/opt/gridware/libraries/jogl/jogl/make/build.xml:79: The following
error occurred while executing this line:
/opt/gridware/libraries/jogl/jogl/make/build-newt.xml:737: The
following error occurred while executing this line:
/opt/gridware/libraries/jogl/jogl/make/build-newt.xml:656: gcc failed
with return code 1
Total time: 3 minutes 4 seconds
root@login02:/opt/gridware/libraries/jogl/jogl/make $
Please advise
Regards,
Sticks
>>> "gouessej [via jogamp]" <
[hidden email]>
03/02/2015 14:43 >>>
You need libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm for Centos 7. Keep in
mind
that we can't know the exact naming of the packages required by all
GNU
Linux distros:
http://pkgs.org/centos-7/centos-x86_64/libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm.html<
http://pkgs.org/centos-7/centos-x86_64/libXrandr-devel-1.4.1-2.1.el7.x86_64.rpm.html>
I have never talked about OpenEXR, I wrote "XRandR". I succeeded in
compiling JOGL 2 under Centos 6 in 2010, it should work.
-----
Julien Gouesse | Personal blog | Website | Follow me on Identi.ca
_______________________________________________
If you reply to this email, your message will be added to the
discussion below:
http://forum.jogamp.org/JOGL-s-Strange-errors-tp4033980p4033995.html
To unsubscribe from JOGL's Strange errors, visit
This message is subject to the CSIR's copyright terms and conditions,
e-mail legal notice, and implemented Open Document Format (ODF)
standard.
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by
MailScanner,
and is believed to be clean.
Please consider the environment before printing this email.
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at
http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
Please consider the environment before printing this email.