[GRASS5] [bug #1926] (grass) Compilation error in function main
Piero Cavalieri
pi.cavalieri at tiscali.it
Fri Jun 6 10:07:45 EDT 2003
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=1926
> -------------------------------------------------------------------------
>
> Subject: Compilation error in function main
>
> make[2]: Entering in directory `/root/Grass5/grass51_exp_2003_05_31/vector/v.
> in.
> ogr'
> gcc -g -O2 -Wall -I/root/Grass5/grass51_exp_2003_05_31/include
> -I/root/Grass5/
> grass51_exp_2003_05_31/dist.i686-pc-linux-gnu/include -I/usr/local/include
> -DUS
> E_GDAL_H -I/usr/local/pgsql/include/
> -I/root/Grass5/grass51_exp_2003_05_31/incl
> ude -I/root/Grass5/grass51_exp_2003_05_31/dist.i686-pc-linux-gnu/include \
> -o OBJ.i686-pc-linux-gnu/geom.o -c geom.c
> /root/Grass5/grass51_exp_2003_05_31/include/gis.h:36: warning:
> `GRASS_copyright'
> defined but not used
> gcc -g -O2 -Wall -I/root/Grass5/grass51_exp_2003_05_31/include
> -I/root/Grass5/
> grass51_exp_2003_05_31/dist.i686-pc-linux-gnu/include -I/usr/local/include
> -DUS
> E_GDAL_H -I/usr/local/pgsql/include/
> -I/root/Grass5/grass51_exp_2003_05_31/incl
> ude -I/root/Grass5/grass51_exp_2003_05_31/dist.i686-pc-linux-gnu/include \
> -o OBJ.i686-pc-linux-gnu/main.o -c main.c
> main.c: In function `main':
> main.c:142: `wkbLinearRing' undeclared (first use in this function)
> main.c:142: (Each undeclared identifier is reported only once
> main.c:142: for each function it appears in.)
> /usr/include/ctype.h: At top level:
> /root/Grass5/grass51_exp_2003_05_31/include/gis.h:36: warning:
> `GRASS_copyright'
> defined but not used
> make[2]: ** [OBJ.i686-pc-linux-gnu/main.o] Erro 1
> make[2]: Saindo do diretório `/root/Grass5/grass51_exp_2003_05_31/vector/v.in.
> og
> r'
> make[1]: ** [subdirs] Error 1
> make[1]: Saindo do diretório `/root/Grass5/grass51_exp_2003_05_31/vector'
> make: ** [default] Error 1
>
> -------------------------------------------- Managed by Request Tracker
Had you ./configured with GDAL/OGR support ?
You have to do it with
--with-gdal[=path/gdal-config]
More information about the grass-dev
mailing list