Wed, Feb 19 2003
08:06:19
|
|
Request created by guest
|
|
Subject: error during compilation of SG3d module
Platform: Irix
grass binary for platform: Compiled from Sources
GRASS Version: grass5.0.0 (August 2002)
My Name : Ambili Sudhi
Error Description :
I am unable to install it.
working on an SGI IRIX6.5 machine.
First I have run the commands :
src.contrib/CERL/SGI/panel/9.6/src/make
and
src.contrib/CERL/SGI/libimage/make
they are working fine however while running the command gmake5 in the SG3d
module a whole lot of errors come up "some" of which are as follows:
----------------- SG3d ---------------
amit 12:56pm <~/GRASS/grass-5.0.0/src.contrib/GMSL/SG3d> :: gmake5
SRC = /usr/people/amit/GRASS/grass-5.0.0/src
CMD = /usr/people/amit/GRASS/grass-5.0.0/src/CMD
UNUSED = /usr/people/amit/GRASS/grass-5.0.0/unused
HEADER = head.mips-sgi-irix6.5
ARCH = mips-sgi-irix6.5
GISBASE = /usr/people/amit/GRASS/grass-5.0.0/dist.mips-sgi-irix6.5
VERSION = 5.0.0 August 2002
#################################################################
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/GMSL/SG3d
make -f OBJ.mips-sgi-irix6.5/make.rules
/usr/freeware/bin/gcc
-I/usr/people/amit/GRASS/grass-5.0.0/src/include -g -O2
-I/usr/people/amit/GRASS/grass-5.0.0/src/../src.contrib/CERL/SGI/panel/9.6/include
-DVERSION_NUMBER=\"\\\"5.0.0\\\"\" -c main.c -o
OBJ.mips-sgi-irix6.5/main.o
In file included from externs.h:41,
from main.c:16:
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:28:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:35:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:36:8:
warning: extra tokens at end of #endif directive
In file included from externs.h:41,
from main.c:16:
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:73:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:80:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:98:9:
warning: extra tokens at end of #endif directive
In file included from externs.h:41,
from main.c:16:
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:368:
parse error before \"pnl_white_color\"
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:368:
warning: data definition has no type or storage class
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:369:
parse error before \"pnl_bevel_light_color\"
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:369:
warning: data definition has no type or storage class
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:370:
parse error before \"pnl_normal_color\"
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:370:
warning: data definition has no type or storage class
In file included from main.c:16:
externs.h:267: parse error before \"top\"
externs.h:267: warning: data definition has no type or storage class
externs.h:307: parse error before \"Ccolori\"
externs.h:307: warning: data definition has no type or storage class
externs.h:314: parse error before \'*\' token
externs.h:314: warning: data definition has no type or storage class
externs.h:315: parse error before \'*\' token
externs.h:315: warning: data definition has no type or storage class
In file included from main.c:16:
externs.h:382: parse error before \"ID_matrix\"
externs.h:383: warning: excess elements in scalar initializer
externs.h:383: warning: (near initialization for `ID_matrix\')
externs.h:383: warning: excess elements in scalar initializer
externs.h:383: warning: (near initialization for `ID_matrix\')
externs.h:383: warning: excess elements in scalar initializer
externs.h:383: warning: (near initialization for `ID_matrix\')
externs.h:384: warning: excess elements in scalar initializer
externs.h:384: warning: (near initialization for `ID_matrix\')
externs.h:384: warning: excess elements in scalar initializer
externs.h:384: warning: (near initialization for `ID_matrix\')
|
|
Wed, Feb 19 2003
14:14:52
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15955.32548.283387.68030@cerise.nosuchdomain.co.uk>
|
Date |
Wed, 19 Feb 2003 12:57:08 +0000
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1664] (grass) error during compilation of SG3d module
|
In-Reply-To |
<20030219070619.DFEED13B35@lists.intevation.de>
|
References |
<20030219070619.DFEED13B35@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 12) "Portable Code" XEmacs Lucid
|
X-Spam-Status |
No, hits=-2.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_03_05 version=2.43
|
X-Spam-Level |
|
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1664
> -------------------------------------------------------------------------
>
> Subject: error during compilation of SG3d module
>
> Platform: Irix
> grass binary for platform: Compiled from Sources
> GRASS Version: grass5.0.0 (August 2002)
>
> My Name : Ambili Sudhi
>
> Error Description :
>
> I am unable to install it.
> working on an SGI IRIX6.5 machine.
> First I have run the commands :
>
> src.contrib/CERL/SGI/panel/9.6/src/make
>
> and
>
> src.contrib/CERL/SGI/libimage/make
>
> they are working fine however while running the command gmake5 in the SG3d
> module a whole lot of errors come up "some" of which are as follows:
I suspect that you need to change line 40 of
src.contrib/GMSL/SG3d/externs.h from:
#include <GL/gl.h>
to:
#include <gl.h>
SG3d uses IrisGL, not OpenGL.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Wed, Feb 19 2003
14:41:10
|
|
Mail sent by paul-grass@stjohnspoint.co.uk
|
|
Return-Path |
<paul-grass@stjohnspoint.co.uk>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 19 Feb 2003 13:41:08 +0000 (GMT)
|
From |
Paul Kelly <paul-grass@stjohnspoint.co.uk>
|
X-X-Sender |
paulk@agrippa.ukshells.co.uk
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1664] (grass) error during compilation of SG3d module
|
In-Reply-To |
<20030219070619.DFEED13B35@lists.intevation.de>
|
Message-ID |
<Pine.LNX.4.50.0302191333530.32626-100000@agrippa.ukshells.co.uk>
|
References |
<20030219070619.DFEED13B35@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
TEXT/PLAIN; charset=US-ASCII
|
X-Spam-Status |
No, hits=-1.4 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT_PINE version=2.43
|
X-Spam-Level |
|
Note that the IRIX binaries on the GRASS website include SG3d. I had to
make some local modifications to get it to compile. When I have time
later on I will have a look at putting those into CVS.
Changing GL/gl.h to gl/gl.h will also work (gl.h is a symlink to gl/gl.h),
and you need to add #include "site.h" to some files; that is all I can
remember off-hand but I will try and fix it later.
I don't think you have to compile libimage; all recent versions of IRIX
include it anyway. The panel library was fairly awkward to compile and
uses ordinary Makefiles, not part of the GRASS gmake5 system so it had to
be compiled separately first. I'm not sure how easy it would be to
incorporate this into the GRASS build system.
Also SG3d is currently disabled in the src/CMD/lists/GRASS compile-list.
If this was re-enabled I'm not sure how to make its compilation conditional
on being compiled on an SGI system. Hopefully it wouldn't have to involve
lots of #ifdef __sgi in the source code.
SG3d still includes a few very useful features not available in other
GRASS modules so it is worth having.
Paul Kelly
|
|
Thu, Feb 20 2003
10:52:27
|
|
Mail sent by paul-grass@stjohnspoint.co.uk
|
|
Return-Path |
<paul-grass@stjohnspoint.co.uk>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Thu, 20 Feb 2003 09:52:20 +0000 (GMT)
|
From |
Paul Kelly <paul-grass@stjohnspoint.co.uk>
|
X-X-Sender |
paulk@agrippa.ukshells.co.uk
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1664] (grass) error during compilation of SG3d module
|
In-Reply-To |
<20030219070619.DFEED13B35@lists.intevation.de>
|
Message-ID |
<Pine.LNX.4.50.0302200951180.26329-100000@agrippa.ukshells.co.uk>
|
References |
<20030219070619.DFEED13B35@lists.intevation.de>
|
MIME-Version |
1.0
|
Content-Type |
TEXT/PLAIN; charset=US-ASCII
|
X-Spam-Status |
No, hits=-3.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,USER_AGENT_PINE version=2.43
|
X-Spam-Level |
|
On Wed, 19 Feb 2003, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1664
> -------------------------------------------------------------------------
>
> Subject: error during compilation of SG3d module
>
> Platform: Irix
> grass binary for platform: Compiled from Sources
> GRASS Version: grass5.0.0 (August 2002)
>
> My Name : Ambili Sudhi
>
> Error Description :
>
> I am unable to install it.
> working on an SGI IRIX6.5 machine.
> First I have run the commands :
>
> src.contrib/CERL/SGI/panel/9.6/src/make
>
> and
>
> src.contrib/CERL/SGI/libimage/make
>
> they are working fine however while running the command gmake5 in the SG3d
> module a whole lot of errors come up "some" of which are as follows:
>
>
...
Yes these errors look like they are all caused by the wrong gl.h being
included. I have fixed it now in CVS so it should compile now.
|
|
Thu, Feb 20 2003
13:29:10
|
|
Mail sent by ambili79@sify.com
|
|
Return-Path |
<ambili79@sify.com>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
To |
grass-bugs@intevation.de
|
Subject |
Re: [bug #1664] (grass) Transaction (paul-grass@stjohnspoint.co.uk)
|
Message-ID |
<1045743540.3e54c7b4dbb9d@webmail1.maa.sify.net>
|
Date |
Thu, 20 Feb 2003 17:49:00 +0500 (IST)
|
From |
ambili <ambili79@sify.com>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=iso-8859-1
|
Content-Transfer-Encoding |
8bit
|
X-Spam-Status |
No, hits=2.8 required=5.0 tests=DEAR_SOMEBODY,DEAR_SOMETHING,FROM_ENDS_IN_NUMS, QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01,SUPERLONG_LINE version=2.43
|
X-Spam-Level |
** |
Dear Sir,
I have changed the include statements in the externs.h file
and also script.c file from <GL/gl.h> to <gl/gl.h>
as you suggested . The previous errors are now
fixed however there is one error thats now come up.
The error is as follows :
SRC = /usr/people/amit/GRASS/grass-5.0.0/src
CMD = /usr/people/amit/GRASS/grass-5.0.0/src/CMD
UNUSED = /usr/people/amit/GRASS/grass-5.0.0/unused
HEADER = head.mips-sgi-irix6.5
ARCH = mips-sgi-irix6.5
GISBASE = /usr/people/amit/GRASS/grass-5.0.0/dist.mips-sgi-irix6.5
VERSION = 5.0.0 August 2002
#################################################################
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/GMSL/SG3d
make -f OBJ.mips-sgi-irix6.5/make.rules
/usr/freeware/bin/gcc -I/usr/people/amit/GRASS/grass-5.0.0/src/include
-g -O2 -I/usr/people/amit/GRASS/grass-5.0.0/src/../src.contrib/CERL/SGI/panel/9.6/include
-DVERSION_NUMBER=\"\\\"5.0.0\\\"\" -c script.c -o OBJ.mips-sgi-irix6.5/script.o
In file included from script.c:29:
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:29:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:36:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:37:8:
warning: extra tokens at end of #endif directive
In file included from script.c:29:
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:74:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:81:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:99:9:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:454:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:479:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:482:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:520:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:528:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:870:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:873:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:946:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:999:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:1062:8:
warning: extra tokens at end of #else directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:1121:8:
warning: extra tokens at end of #endif directive
/usr/people/amit/GRASS/grass-5.0.0/src.contrib/CERL/SGI/panel/9.6/include/panel.h:1123:8:
warning: extra tokens at end of #endif directive
script.c: In function `my_initscriptpanel\':
script.c:132: warning: assignment makes pointer from integer without a cast
script.c:145:8: macro names must be identifiers
*** Error code 1 (bu21)
----------------------------
please help me out with this.
Thanking You,
Yours Sincerely,
Ambili Sudhi.
Quoting Paul Kelly via RT <grass-bugs@intevation.de>:
> Yes these errors look like they are all caused by the wrong gl.h being
> included. I have fixed it now in CVS so it should compile now.
>
>
-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com
Sify Power mail- a Premium Service from Sify Mail!
know more at http://mail.sify.com
|
|
Tue, Mar 11 2003
10:31:10
|
|
Status changed to resolved by mneteler
|
|