Details Ticket 4519


Comment | Reply | Take | Resolve


Serial Number 4519
Subject errors in Grass 55 build
Area grass5.4
Queue grass
Requestors tutey@o2.pl
Owner none
Status open
Last User Contact Fri Jul 28 18:20:22 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Jul 30 19:24:58 2006 (2 yr ago)
Created Mon May 29 17:10:17 2006 (2 yr ago)

Transaction History Ticket 4519


Mon, May 29 2006 17:10:17    Request created by guest  
Subject: errors in Grass 55 build

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-05-29

Building Grass 5.5 CVS on Ubuntu Dapper RC I get following errors:

Compilation error in module: src/imagery/i.cca (ignored)
Compilation error in module: src/raster/r.grow2 (ignored)
Compilation error in module: src/sites/s.in.ascii (ignored)
Compilation error in module: src.contrib/SDTS (ignored)
Compilation error in module: src.garden/grass.postgresql (ignored)
Compilation error in module: src.contrib/DUKE/r.terraflow (ignored)

What could it be? 

Configure was:

./configure --with-cxx --without-odbc --with-tcltk-includes="/usr/include/tcl8.4/"
--with-postgres-includes="/usr/include/postgresql/" --with-freetype --with-freetype-includes="/usr/i
nclude/freetype2/"
--with-readline --without-fftw

config.log and make.log are here:
http://www.biol.uni.wroc.pl/sieczka/udostepnione/grass/logs.tar.bz2

Maciek
Tue, May 30 2006 03:58:40    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 30 May 2006 13:58:31 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
Message-Id <20060530135831.76ee2aa6.hamish_nospam@yahoo.com>
In-Reply-To <20060529151017.838221006AF@lists.intevation.de>
References <20060529151017.838221006AF@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4519
> ---------------------------------------------------------------------
> 
> Subject: errors in Grass 55 build
> 
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 2006-05-29
> 
> Building Grass 5.5 CVS on Ubuntu Dapper RC I get following errors:
> 
> Compilation error in module: src/imagery/i.cca (ignored)
> Compilation error in module: src/raster/r.grow2 (ignored)
> Compilation error in module: src/sites/s.in.ascii (ignored)
> Compilation error in module: src.contrib/SDTS (ignored)
> Compilation error in module: src.garden/grass.postgresql (ignored)
> Compilation error in module: src.contrib/DUKE/r.terraflow (ignored)
> 
> What could it be? 

cd src/sites/s.in.ascii
gmake5

and see the error.


(gmake5 may be gmake55 or something, using "new" or "old" build system?)

?
Hamish


Tue, May 30 2006 19:48:01    Mail sent by werchowyna@epf.pl  
Return-Path <werchowyna@epf.pl>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 30 May 2006 19:47:49 +0200
From Maciek Sieczka <werchowyna@epf.pl>
To Hamish <hamish_nospam@yahoo.com>
Cc grass-bugs@intevation.de, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
Message-Id <20060530194749.ac127a54.werchowyna@epf.pl>
In-Reply-To <20060530135831.76ee2aa6.hamish_nospam@yahoo.com>
References <20060529151017.838221006AF@lists.intevation.de> <20060530135831.76ee2aa6.hamish_nospam@yahoo.com>
X-Mailer Sylpheed version 2.1.1 (GTK+ 2.8.6; i486-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Tue, 30 May 2006 13:58:31 +1200
Hamish <hamish_nospam@yahoo.com> wrote:

>> this bug's URL: http://intevation.de/rt/webrt?serial_num=4519

> cd src/sites/s.in.ascii
> gmake5
> 
> and see the error.
> 
> 
> (gmake5 may be gmake55 or something, using "new" or "old" build
> system?)

I'm affraid I will not be able to - it was quick install on somebodys
laptop, who's using Ubuntu Dapper RC. I myself am using Breezy still,
and I'm able to build 55 with no problems (planning to switch to Dapper
in few weeks though). So all I can help currently is to say that the
error is maybe due to some new build software present in Dapper.

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze
z nich!
http://katalog.panoramainternetu.pl/


Sun, Jul 23 2006 20:37:09    Mail sent by msieczka  
Maciek wrote:

> > Building Grass 5.5 CVS on Ubuntu Dapper RC I get following errors:
> > 
> > Compilation error in module: src/imagery/i.cca (ignored)
> > Compilation error in module: src/raster/r.grow2 (ignored)
> > Compilation error in module: src/sites/s.in.ascii (ignored)
> > Compilation error in module: src.contrib/SDTS (ignored)
> > Compilation error in module: src.garden/grass.postgresql (ignored)
> > Compilation error in module: src.contrib/DUKE/r.terraflow (ignored)

Hamish wrote:

> cd src/sites/s.in.ascii
> gmake5
> 
> and see the error.
> 
> 
> (gmake5 may be gmake55 or something, using "new" or "old" build system?)
> 
> ?

So I have Ubuntu Dapper installed on my machine, and reproduced the problem.
I
tried following Hamish'es tip, but it won't work. See:

$ cd src/imagery/i.cca

Now, whatever gmake* I try (gmake5, gmake, gmake55, gmake54) I'm getting
"bash: gmake5: command not found".

When I try make, it says "make: *** No targets specified and no makefile
found.  Stop."

Sorry, I'm a complete dummy here. How do I proceed?

Maciek
Mon, Jul 24 2006 04:34:32    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 24 Jul 2006 14:34:10 +1200
From Hamish <hamish_nospam@yahoo.com>
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Cc werchowyna@epf.pl
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
Message-Id <20060724143410.7213478e.hamish_nospam@yahoo.com>
In-Reply-To <20060723183709.8AC681005BA@lists.intevation.de>
References <20060723183709.8AC681005BA@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-1.809 tagged_above=-999 required=3 tests=[AWL=1.096, BAYES_00=-5, FORGED_YAHOO_RCVD=2.095]
X-Spam-Level
On Sun, 23 Jul 2006 20:37:09 +0200 (CEST)
Maciek Sieczka via RT <grass-bugs@intevation.de> wrote:

> 
> > (gmake5 may be gmake55 or something, using "new" or "old" build system?)
> > 
> > ?
> 
> So I have Ubuntu Dapper installed on my machine, and reproduced the problem.
I
> tried following Hamish'es tip, but it won't work. See:
> 
> $ cd src/imagery/i.cca
> 
> Now, whatever gmake* I try (gmake5, gmake, gmake55, gmake54) I'm getting
> "bash: gmake5: command not found".


look for it in src/build/


Hamish


Mon, Jul 24 2006 10:32:58    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 24 Jul 2006 09:32:48 +0100 (BST)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
X-X-Sender paulk@agrippa.ukshells.co.uk
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Cc werchowyna@epf.pl, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
In-Reply-To <20060723183709.8AC681005BA@lists.intevation.de>
Message-ID <Pine.LNX.4.62.0607240929360.19359@agrippa.ukshells.co.uk>
References <20060723183709.8AC681005BA@lists.intevation.de>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-SA-Do-Not-Run Yes
X-SA-Exim-Connect-IP 217.10.143.90
X-SA-Exim-Mail-From paul-grass@stjohnspoint.co.uk
X-SA-Exim-Scanned No (on mail.ukshells.net); SAEximRunCond expanded to false
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.155 tagged_above=-999 required=3 tests=[AWL=0.845, BAYES_00=-5]
X-Spam-Level
On Sun, 23 Jul 2006, Maciek Sieczka via RT wrote:

> Hamish wrote:
>
>> cd src/sites/s.in.ascii
>> gmake5
>>
>> and see the error.
>>
>>
>> (gmake5 may be gmake55 or something, using "new" or "old" build system?)
>>
>> ?
>
> So I have Ubuntu Dapper installed on my machine, and reproduced the problem.
I
> tried following Hamish'es tip, but it won't work. See:

Ah you must be using the new "alternative" build system then - Hamish's 
instructions were for the old system. You need to find the script gmake55 
which will be in the root of your build directory (this directory should 
be outside of the source tree structure) and run it from there as follows:

./gmake55 src/imagery/i.cca

(or capture the make output from the whole system build and send the i.cca 
part to the list?)

Paul


Mon, Jul 24 2006 16:40:04    Mail sent by msieczka  
paul-grass@stjohnspoint.co.uk wrote (Mon, Jul 24 2006 10:32:58):

> Ah you must be using the new "alternative" build system then - Hamish's 
> instructions were for the old system. You need to find the script gmake55 
> which will be in the root of your build directory (this directory should 
> be outside of the source tree structure) and run it from there as follows:
> 
> ./gmake55 src/imagery/i.cca

This method failed too. Finally I found gmake55 executable in
bin.i686-pc-linux-gnu dir, copied it to a dir included in my PATH and it
works. Details:

$ gmake55 src/imagery/i.cca/
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src/imagery/i.cca
  make -f OBJ.i686-pc-linux-gnu/make.rules

/home/shoofi/bin/gmake55 -all
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src/imagery/i.cca/cmd
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src/imagery/i.cca/cmd'
gcc -I/home/shoofi/src/straight/grass/src/include  -g -O2    -c matrix.c -o
OBJ.i686-pc-linux-gnu/matrix.o
In file included from matrix.c:3:
globals.h:12: error: array type has incomplete element type
make[1]: *** [OBJ.i686-pc-linux-gnu/matrix.o] Error 1
make[1]: Leaving directory `/home/shoofi/src/straight/grass/src/imagery/i.cca/cmd'
make: *** [all] Error 1




$ gmake55 src/raster/r.grow2
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src/raster/r.grow2
  make -f OBJ.i686-pc-linux-gnu/make.rules

gcc -I/home/shoofi/src/straight/grass/src/include  -g -O2    -c main.c -o
OBJ.i686-pc-linux-gnu/main.o
main.c:13: error: static declaration of 'abs' follows non-static declaration
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1




$ gmake55 src/sites/s.in.ascii
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src/sites/s.in.ascii
  make -f OBJ.i686-pc-linux-gnu/make.rules

gcc -I/home/shoofi/src/straight/grass/src/include  -g -O2    -c main.c -o
OBJ.i686-pc-linux-gnu/main.o
main.c: In function 'G_site_put_new':
main.c:184: error: invalid storage class for function 'format_double'
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1




$ gmake55 src.contrib/SDTS
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/SDTS
  make -f OBJ.i686-pc-linux-gnu/make.rules

/home/shoofi/bin/gmake55 ./libes/fips123
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/SDTS/libes/fips123
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/libes/fips123'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/libes/fips123'
/home/shoofi/bin/gmake55 ./mapdev/v.out.sdts
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
gcc -I/home/shoofi/src/straight/grass/src/include
-I../../libes/fips123/f123inc -g -O2    -c v.out.sdts.c -o
OBJ.i686-pc-linux-gnu/v.out.sdts.o
In file included from v.out.sdts.c:29:
externs.h:29: error: array type has incomplete element type
externs.h:30: error: array type has incomplete element type
externs.h:31: error: array type has incomplete element type
externs.h:32: error: array type has incomplete element type
externs.h:33: error: array type has incomplete element type
make[1]: *** [OBJ.i686-pc-linux-gnu/v.out.sdts.o] Error 1
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
make: *** [all] Error 2





$ gmake55 src.garden/grass.postgresql
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.garden/grass.postgresql
  make -f OBJ.i686-pc-linux-gnu/make.rules

/home/shoofi/bin/gmake55 d.rast.pg
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.rast.pg
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.rast.pg'
make[1]:
`/home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu/etc/bin/cmd/d.rast.pg'
is up to date.
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.rast.pg'
/home/shoofi/bin/gmake55 d.site.pg
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.site.pg
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.site.pg'
make[1]:
`/home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu/etc/bin/cmd/d.site.pg'
is up to date.
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.site.pg'
/home/shoofi/bin/gmake55 d.vect.pg
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.vect.pg
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.vect.pg'
make[1]:
`/home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu/etc/bin/cmd/d.vect.pg'
is up to date.
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.vect.pg'
/home/shoofi/bin/gmake55 d.what.s.pg
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.what.s.pg
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.what.s.pg'
gcc -I/home/shoofi/src/straight/grass/src/include -I/usr/include/postgresql/
-Wall -DPACKAGE=\""d.what.s.pg"\" -g -O2    -c runPg.c -o
OBJ.i686-pc-linux-gnu/runPg.o
runPg.c: In function 'runPg':
runPg.c:122: error: invalid lvalue in assignment
make[1]: *** [OBJ.i686-pc-linux-gnu/runPg.o] Error 1
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.garden/grass.postgresql/d.what.s.pg'
make: *** [all] Error 2





$ gmake55 src.contrib/DUKE/r.terraflow
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/DUKE/r.terraflow
  make -f OBJ.i686-pc-linux-gnu/make.rules

/home/shoofi/bin/gmake55 IOStream/lib
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/DUKE/r.terraflow/IOStream/lib
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.contrib/DUKE/r.terraflow/IOStream/lib'
c++ -I/home/shoofi/src/straight/grass/src/include -I../include -g -O2   -c
minmaxheap_test.cc -o OBJ.i686-pc-linux-gnu/minmaxheap_test.o
../include/replacementHeap.h:155: error: invalid use of constructor as a template
../include/replacementHeap.h:155: note: use 'ReplacementHeap<T,
Compare>::ReplacementHeap' instead of 'ReplacementHeap<T, Compare>::class
ReplacementHeap<T, Compare>' to name the constructor in a qualified name
../include/replacementHeapBlock.h:161: error: invalid use of constructor as a
template
../include/replacementHeapBlock.h:161: note: use 'ReplacementHeapBlock<T,
Compare>::ReplacementHeapBlock' instead of 'ReplacementHeapBlock<T,
Compare>::class ReplacementHeapBlock<T, Compare>' to name the constructor in
a
qualified name
make[1]: *** [OBJ.i686-pc-linux-gnu/minmaxheap_test.o] Error 1
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.contrib/DUKE/r.terraflow/IOStream/lib'
make: *** [IOStream/lib/LIB.i686-pc-linux-gnu/libiostream.a] Error 2


Maciek
Mon, Jul 24 2006 17:06:35    Mail sent by pkelly  
OK I think I have fixed those in the 5.5 CVS HEAD (apart from the C++ errors
in r.terraflow which I don't have a clue about).
But the modules compiled OK for me so I think the problem might be that your
compiler settings are too strict. Some of the GRASS code is very old and
conforms to Kernighan & Ritchie style instead of ANSI C. That may or may not
be considered a bug but you should be able to configure your compiler to
accept it. I think most of the code has now been converted to ANSI C in 6.x.
Paul
Mon, Jul 24 2006 18:10:51    Mail sent by msieczka  
pkelly wrote (Mon, Jul 24 2006 17:06:35):

> OK I think I have fixed those in the 5.5 CVS HEAD (apart from the C++ errors
> in r.terraflow which I don't have a clue about).

Allright, mostly OK. Only src.contrib/SDTS still fails (and the r.terraflow,
but since you can't help it let's leave this aside for a moment):

$ gmake55 src.contrib/SDTS
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/SDTS
  make -f OBJ.i686-pc-linux-gnu/make.rules

/home/shoofi/bin/gmake55 ./libes/fips123
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/SDTS/libes/fips123
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/libes/fips123'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/libes/fips123'
/home/shoofi/bin/gmake55 ./mapdev/v.out.sdts
  SRC     = /home/shoofi/src/straight/grass/src
  CMD     = /home/shoofi/src/straight/grass/src/CMD
  UNUSED  = /home/shoofi/src/straight/grass/unused
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /home/shoofi/src/straight/grass/dist.i686-pc-linux-gnu
  VERSION = 5.5-cvs 2004
#################################################################
/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts
  make -f OBJ.i686-pc-linux-gnu/make.rules

make[1]: Entering directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
gcc -I/home/shoofi/src/straight/grass/src/include
-I../../libes/fips123/f123inc -g -O2    -c v.out.sdts.c -o
OBJ.i686-pc-linux-gnu/v.out.sdts.o
In file included from v.out.sdts.c:30:
globals.h:30: error: conflicting types for 'Ddr_elem'
externs.h:30: error: previous declaration of 'Ddr_elem' was here
globals.h:62: error: conflicting types for 'Mod'
externs.h:29: error: previous declaration of 'Mod' was here
make[1]: *** [OBJ.i686-pc-linux-gnu/v.out.sdts.o] Error 1
make[1]: Leaving directory
`/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
make: *** [all] Error 2



> But the modules compiled OK for me so I think the problem might be that your
> compiler settings are too strict. Some of the GRASS code is very old and
> conforms to Kernighan & Ritchie style instead of ANSI C. That may or may not
> be considered a bug but you should be able to configure your compiler to
> accept it.

I'm not using any custom compiler/linker options. I'm relying on a default,
just doing:

./configure --with-cxx --without-odbc
--with-tcltk-includes="/usr/include/tcl8.4/"
--with-postgres-includes="/usr/include/postgresql/" --with-freetype
--with-freetype-includes="/usr/include/freetype2/" --with-readline

then make

Maybe the issue is my GCC version - 4.0.3?

Maciek
Tue, Jul 25 2006 01:45:22    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <44C55B11.2050308@stjohnspoint.co.uk>
Date Tue, 25 Jul 2006 00:43:13 +0100
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
User-Agent Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language en-us, en
MIME-Version 1.0
To Maciek Sieczka via RT <grass-bugs@intevation.de>
Cc werchowyna@epf.pl, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
References <20060724161051.72C291005DF@lists.intevation.de>
In-Reply-To <20060724161051.72C291005DF@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.324 tagged_above=-999 required=3 tests=[AWL=0.676, BAYES_00=-5]
X-Spam-Level
Maciek Sieczka via RT wrote:
> pkelly wrote (Mon, Jul 24 2006 17:06:35):
> 
> 
>>OK I think I have fixed those in the 5.5 CVS HEAD (apart from the C++ errors
>>in r.terraflow which I don't have a clue about).
> 
> 
> Allright, mostly OK. Only src.contrib/SDTS still fails (and the r.terraflow,
> but since you can't help it let's leave this aside for a moment):
> 
[...]
> make[1]: Entering directory
> `/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
> gcc -I/home/shoofi/src/straight/grass/src/include
> -I../../libes/fips123/f123inc -g -O2    -c v.out.sdts.c -o
> OBJ.i686-pc-linux-gnu/v.out.sdts.o
> In file included from v.out.sdts.c:30:
> globals.h:30: error: conflicting types for 'Ddr_elem'
> externs.h:30: error: previous declaration of 'Ddr_elem' was here
> globals.h:62: error: conflicting types for 'Mod'
> externs.h:29: error: previous declaration of 'Mod' was here
> make[1]: *** [OBJ.i686-pc-linux-gnu/v.out.sdts.o] Error 1
> make[1]: Leaving directory
> `/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
> make: *** [all] Error 2

OK well I don't see an easy answer to this so I have reverted my earlier 
change. It obviously hasn't been a problem up to now - it looks like it 
is something to do with your compiler being pedantic about not allowing 
arrays of structs or something, but I'm really not very sure and don't 
think it is worth fixing.

Maybe Glynn will have a clue as I see he made some changes to the 
relevant files in 2001.

Paul


Tue, Jul 25 2006 09:56:53    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17605.52920.214351.851700@cerise.gclements.plus.com>
Date Tue, 25 Jul 2006 08:56:40 +0100
To Paul Kelly <paul-grass@stjohnspoint.co.uk>
Cc Maciek Sieczka via RT <grass-bugs@intevation.de>, werchowyna@epf.pl, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
In-Reply-To <44C55B11.2050308@stjohnspoint.co.uk>
References <20060724161051.72C291005DF@lists.intevation.de> <44C55B11.2050308@stjohnspoint.co.uk>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-3.538 tagged_above=-999 required=3 tests=[AWL=1.196, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
X-Spam-Level
Paul Kelly wrote:

> >>OK I think I have fixed those in the 5.5 CVS HEAD (apart from the C++ errors
> >>in r.terraflow which I don't have a clue about).
> > 
> > 
> > Allright, mostly OK. Only src.contrib/SDTS still fails (and the r.terraflow,
> > but since you can't help it let's leave this aside for a moment):
> > 
> [...]
> > make[1]: Entering directory
> > `/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
> > gcc -I/home/shoofi/src/straight/grass/src/include
> > -I../../libes/fips123/f123inc -g -O2    -c v.out.sdts.c -o
> > OBJ.i686-pc-linux-gnu/v.out.sdts.o
> > In file included from v.out.sdts.c:30:
> > globals.h:30: error: conflicting types for 'Ddr_elem'
> > externs.h:30: error: previous declaration of 'Ddr_elem' was here
> > globals.h:62: error: conflicting types for 'Mod'
> > externs.h:29: error: previous declaration of 'Mod' was here
> > make[1]: *** [OBJ.i686-pc-linux-gnu/v.out.sdts.o] Error 1
> > make[1]: Leaving directory
> > `/home/shoofi/src/straight/grass/src.contrib/SDTS/mapdev/v.out.sdts'
> > make: *** [all] Error 2
> 
> OK well I don't see an easy answer to this so I have reverted my earlier 
> change. It obviously hasn't been a problem up to now - it looks like it 
> is something to do with your compiler being pedantic about not allowing 
> arrays of structs or something, but I'm really not very sure and don't 
> think it is worth fixing.
> 
> Maybe Glynn will have a clue as I see he made some changes to the 
> relevant files in 2001.

It's because the declaration of Ddr_elem uses "struct SDTS_ddr_elems"
before the structure is defined, while the definition uses it
afterwards. The two types are technically different types, resulting
in a "conflicting types" error.

The fix is to put the structure definitions before any variable
declarations or definitions which use them.

-- 
Glynn Clements <glynn@gclements.plus.com>


Tue, Jul 25 2006 23:07:00    Mail sent by werchowyna@epf.pl  
Return-Path <werchowyna@epf.pl>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <44C687E5.401@epf.pl>
Date Tue, 25 Jul 2006 23:06:45 +0200
From Maciej Sieczka <werchowyna@epf.pl>
User-Agent Thunderbird 1.5.0.4 (X11/20060615)
MIME-Version 1.0
To Glynn Clements <glynn@gclements.plus.com>
Cc Paul Kelly <paul-grass@stjohnspoint.co.uk>, grass-bugs@intevation.de, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
References <20060724161051.72C291005DF@lists.intevation.de> <44C55B11.2050308@stjohnspoint.co.uk> <17605.52920.214351.851700@cerise.gclements.plus.com>
In-Reply-To <17605.52920.214351.851700@cerise.gclements.plus.com>
Content-Type text/plain; charset=ISO-8859-2
Content-Transfer-Encoding 8bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-3.616 tagged_above=-999 required=3 tests=[AWL=1.333, BAYES_00=-5, RCVD_BY_IP=0.051]
X-Spam-Level
Glynn Clements napisał(a):
> Paul Kelly wrote:

>> Maybe Glynn will have a clue as I see he made some changes to the 
>> relevant files in 2001.

> It's because the declaration of Ddr_elem uses "struct SDTS_ddr_elems"
> before the structure is defined, while the definition uses it
> afterwards. The two types are technically different types, resulting
> in a "conflicting types" error.
> 
> The fix is to put the structure definitions before any variable
> declarations or definitions which use them.


Glynn,

Sorry if abusing you, but do you possibly have also a clue about the
r.terraflow build error?

Thanks,
Maciek

--------------------
W polskim Internecie są setki milionów stron. My przekazujemy Tobie tylko najlepsze
z nich!
http://katalog.panoramainternetu.pl/


Wed, Jul 26 2006 02:31:47    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17606.47066.74745.454473@cerise.gclements.plus.com>
Date Wed, 26 Jul 2006 01:31:22 +0100
To Maciej Sieczka <werchowyna@epf.pl>
Cc Paul Kelly <paul-grass@stjohnspoint.co.uk>, grass-bugs@intevation.de, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4519] (grass) errors in Grass 55 build
In-Reply-To <44C687E5.401@epf.pl>
References <20060724161051.72C291005DF@lists.intevation.de> <44C55B11.2050308@stjohnspoint.co.uk> <17605.52920.214351.851700@cerise.gclements.plus.com> <44C687E5.401@epf.pl>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-3.549 tagged_above=-999 required=3 tests=[AWL=1.185, BAYES_00=-5, FORGED_RCVD_HELO=0.266]
X-Spam-Level
Maciej Sieczka wrote:

> Sorry if abusing you, but do you possibly have also a clue about the
> r.terraflow build error?

No. Although most non-trivial r.terraflow errors boil down to the
r.terraflow code assuming a specific version of GCC which differs from
the one actually being used.

-- 
Glynn Clements <glynn@gclements.plus.com>


Wed, Jul 26 2006 18:43:55    User changed to tutey@o2.pl by msieczka  
Fri, Jul 28 2006 18:20:22    Mail sent by pkelly  
I committed another change to try and fix the v.out.sdts problem; please test.
Sun, Jul 30 2006 19:24:58    Mail sent by tutey@o2.pl  
Return-Path <tutey@o2.pl>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <44CCEB67.4050303@o2.pl>
Date Sun, 30 Jul 2006 19:24:55 +0200
From Maciej Sieczka <tutey@o2.pl>
User-Agent Thunderbird 1.5.0.5 (X11/20060728)
MIME-Version 1.0
To Paul Kelly via RT <grass-bugs@intevation.de>, Paul Kelly <paul-grass@stjohnspoint.co.uk>
Subject Re: [bug #4519] (grass) errors in Grass 55 build
References <20060728162022.BF9AE10016A@lists.intevation.de>
In-Reply-To <20060728162022.BF9AE10016A@lists.intevation.de>
Content-Type text/plain; charset=ISO-8859-2
Content-Transfer-Encoding 8bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.734 tagged_above=-999 required=3 tests=[BAYES_00=-5, FORGED_RCVD_HELO=0.266]
X-Spam-Level
Paul Kelly via RT napisał(a):
> I committed another change to try and fix the v.out.sdts problem; please test.
It builts OK now. Thanks!

I'll leave the bug open though as r.terraflow still doesn't.

Maciek


Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request