[GRASS-user] Error installing v.label.sa

Markus Neteler neteler at osgeo.org
Thu Apr 30 09:50:49 EDT 2009


On Thu, Apr 30, 2009 at 2:50 PM, Patton, Eric
<Eric.Patton at nrcan-rncan.gc.ca> wrote:
> Using today's checkout of trunk, I get the following error after running make distclean, configure, make:
>
> Errors in:
> /usr/local/grass_trunk/vector/v.label.sa
>
> $ cd /vector/v.label.sa
> (make clean)
>
> v.label.sa> make
> test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu
> gcc -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include  -g -O2   -I/usr/local/include  -DPACKAGE=\""grassmods"\"   -I/usr/include/freetype2/ -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/annealing.o -c annealing.c
> gcc -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include  -g -O2   -I/usr/local/include  -DPACKAGE=\""grassmods"\"   -I/usr/include/freetype2/ -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/labels.o -c labels.c
> labels.c: In function ‘labels_init’:
> labels.c:62: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
> labels.c:68: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
> labels.c:86: warning: assignment makes pointer from integer without a cast
> labels.c:123: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
> gcc -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include  -g -O2   -I/usr/local/include  -DPACKAGE=\""grassmods"\"   -I/usr/include/freetype2/ -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.c
> gcc -L/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib   -o /usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/bin/v.label.sa OBJ.x86_64-unknown-linux-gnu/annealing.o OBJ.x86_64-unknown-linux-gnu/labels.o OBJ.x86_64-unknown-linux-gnu/main.o  -lgrass_display -lgrass_gis -lgrass_datetime -lz     -lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis -lgrass_datetime -lz     -lpng  -lz  -lm  -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis -lgrass_datetime -lz      -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis -lgrass_datetime -lz       -lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis -lgrass_datetime -lz     -lpng  -lz  -lm  -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis -lgrass_datetime -lz      -lgrass_driver -lgrass_gis -lgrass_datetime -lz     -lfreetype    -lgrass_gis -lgrass_datetime -lz      -lgrass_vect -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dgl -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_gis -lgrass_datetime -lz     -lgrass_linkm -lgrass_rtree  -lgrass_dig2 -lgrass_gis -lgrass_datetime -lz     -lgrass_rtree  -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz      -lgrass_gis -lgrass_datetime -lz      -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz       -L/usr/local/lib -lgdal  -lgrass_gis -lgrass_datetime -lz     -lfreetype   -lm  -lz
> OBJ.x86_64-unknown-linux-gnu/labels.o: In function `labels_init':
> /usr/local/grass_trunk/vector/v.label.sa/labels.c:86: undefined reference to `find_font_from_freetypecap'
> /usr/local/grass_trunk/vector/v.label.sa/labels.c:98: undefined reference to `free_freetypecap'
> collect2: ld returned 1 exit status
> make: *** [/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/bin/v.label.sa] Error 1

See my previous message:

On Sat, Apr 25, 2009 at 2:40 PM, Markus Neteler <neteler at osgeo.org> wrote:
> It won't compile in trunk:
>
> labels.c: In function ‘labels_init’:
> labels.c:86: error: implicit declaration of function
> ‘find_font_from_freetypecap’
> labels.c:98: error: implicit declaration of function ‘free_freetypecap’
> make: *** [OBJ.x86_64-unknown-linux-gnu/labels.o] Error 1
>
> because...
> http://lists.osgeo.org/pipermail/grass-commit/2008-December/005885.html
>
> Markus
>

Markus


More information about the grass-user mailing list