[GRASSLIST:2463] Re: Compilation problem

Daniel Tourde ted at foi.se
Thu Sep 20 03:33:47 EDT 2001


Hello,

I cleaned up my building and destination directories and restarted the
compilation. The problem disappeared (apparently). I don't really know
what happened.


		Daniel



> I am trying to build Grass5pre2 on a RedHat 7.1 box
> 
> I use the following command:
> 
> ./configure --prefix=/opt/grass --bindir=/usr/local/bin
> --with-postgres-includes=/usr/include/pgsql
> --with-zlib-includes=/usr/include
> 
> and I end up with the following error messages:
> 
> #################################################################
> /usr/src/redhat/BUILD/grass5.0.0pre2/src/paint/Programs/p.map/inter
>   mkdir OBJ.i686-pc-linux-gnu
>   make -f OBJ.i686-pc-linux-gnu/make.rules
> 
> ...
> 
> gcc -g -O2  -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include
> -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/paint  -c scan_color.c -o
> OBJ.i686-pc-linux-gnu/scan_color.o
> gcc -g -O2  -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/include
> -I/usr/src/redhat/BUILD/grass5.0.0pre2/src/paint  -c scan_scale.c -o
> OBJ.i686-pc-linux-gnu/scan_scale.o
> scan_scale.c: In function `scan_scale':
> scan_scale.c:31: `_' undeclared (first use in this function)
> scan_scale.c:31: (Each undeclared identifier is reported only once
> scan_scale.c:31: for each function it appears in.)
> scan_scale.c:31: parse error before `const'
> scan_scale.c:31: parse error before `)'
> make[3]: *** [OBJ.i686-pc-linux-gnu/scan_scale.o] Error 1
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/grass5.0.0pre2/src/paint/Programs/p.map/inter'
> make[2]: *** [all] Error 1
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/grass5.0.0pre2/src/paint/Programs/p.map'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory
> `/usr/src/redhat/BUILD/grass5.0.0pre2/src/paint/Programs'
> GISGEN failure at STEP: src/paint/Programs
> 
> GISGEN: src/paint/Programs/p.map.new/cmd - Wed Sep 19 15:50:16 CEST 2001

-- 
***********************************************************************
Daniel TOURDE                             E-mail : daniel.tourde at foi.se
                                             Tel : +46 (0)8-55 50 43 44
                                        Cellular :  +46 (0)70-849 93 40
   FOI, Swedish Defence Research Agency; Aeronautics Division - FFA
       Dept. of Wind Energy and Aviation Environmental Research
SE-172 90 Stockholm, Sweden                     Fax : +46 (0)8-25 34 81
***********************************************************************



More information about the grass-user mailing list