[GRASS5] GRASS5.1: compile problem - cannot find -lgrass_gis

Radim Blazek blazek at itc.it
Wed Jul 23 09:21:14 EDT 2003


On Wednesday 23 July 2003 14:54, Moritz Lennert wrote:
> Hello all,
>
> Trying to compile todays CVS version of 5.1 (using todays CVS version fo
> 5.0 for mix), I get the following error during make:
>
> make[4]: Entering directory `/data/GRASSCVS/grass51/lib/db/sqlp/test'
> gcc -I/usr/include/ -I/usr/local/include/ -g -Wall  -Wall  -I/usr/include/
> -I/usr/local/include/ -I/data/GRASSCVS/grass51/include
> -I/data/GRASSCVS/grass51/dist.i686-pc-linux-gnu/include  -L/usr/lib/
> -L/usr/local/lib -L/data/GRASSCVS/grass51/dist.i686-pc-linux-gnu/lib
> -L/usr/lib/ -L/usr/local/lib -o sqlptest sqlptest.c  -lgrass_sqlp
> -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime     -lm
> -lz
> /data/GRASSCVS/grass51/include/gis.h:36: warning: `GRASS_copyright'
> defined but not used
> /data/GRASSCVS/grass51/include/sqlp.h:145: warning: `newNode' declared
> `static' but never defined
> /usr/bin/ld: ne peut trouver -lgrass_gis (translation: "/usr/bin/ld:
> cannot find -lgrass_gis")
> collect2: ld returned 1 exit status
> make[4]: *** [sqlptest] Erreur 1
>
> Can someone help me with this ?
>
> Also, I don't know if this test is really necessary for running 5.1, so
> couldn't compilation continue even if this fails ?

No it is not needed, I have removed that from sqlp/Makefile, simply
delete this row:
    (cd test && make) || exit 1


Radim




More information about the grass-dev mailing list