[GRASS5] GRASS 5.7 release

Moritz Lennert mlennert at club.worldonline.be
Fri May 21 11:30:54 EDT 2004


Funkmeister said:
> Hi Radim, Could this be possibly causing some compile problems. I have
> fresh source and I am getting compile errors in Vlib like:
>
> close_post.c: In function `V1_close_post':
> close_post.c:51: warning: implicit declaration of function `PQfinish'
> close_post.c:51: error: structure has no member named `post'
>
> and
>
> build_shp.c: In function `Vect_build_shp':
> build_shp.c:57: error: structure has no member named `shp'
> build_shp.c:64: error: structure has no member named `shp'
> build_shp.c:65: error: structure has no member named `shp'
> build_shp.c:66: error: structure has no member named `shp'
> build_shp.c:74: warning: implicit declaration of function
> `V1_read_next_line_shp'
> build_shp.c:80: warning: implicit declaration of function
> `Vect_last_line_offset_shp'
> build_shp.c:97: warning: passing arg 1 of `G_malloc' as signed due to
> prototype
> build_shp.c:98: warning: passing arg 1 of `G_malloc' as signed due to
> prototype
> build_shp.c:99: warning: passing arg 1 of `G_malloc' as signed due to
> prototype
> build_shp.c:107: error: structure has no member named `shp'
> build_shp.c:111: warning: passing arg 2 of `G_realloc' as signed due to
> prototype
> build_shp.c:112: warning: passing arg 2 of `G_realloc' as signed due to
> prototype
> build_shp.c:113: warning: passing arg 2 of `G_realloc' as signed due to
> prototype
> build_shp.c:132: warning: passing arg 4 of `Vect_append_point' as
> floating rather than integer due to prototype
> build_shp.c:232: warning: passing arg 4 of `Vect_append_point' as
> floating rather than integer due to prototype
>

Just to confirm/amend: I have the same problem with build_shp.c, but
nothing concerning close_post.c. My configure statement is as follows:

CFLAGS="-g -Wall" ./configure
--with-grass50=/data/CVS/GRASSCVS/grass-5.3.0
--with-tcltk-includes=/usr/include/tcl8.3/
--with-postgres-includes="/usr/include/postgresql/
/usr/include/postgresql/internal/" --with-readline --with-dbm
--with-includes="/usr/include/ /usr/local/include/" --with-libs="/usr/lib/
/usr/local/lib" --with-gdal=/usr/bin/gdal-config


Moritz




More information about the grass-dev mailing list