[GRASS5] Gmakefiles - $(VECTLIB) question

Markus Neteler neteler at geog.uni-hannover.de
Wed Jan 3 12:12:17 EST 2001


Hi all,

a somewhat strange thing I found in r.in.shape Gmakefile:

Using the LIBES line like that:
LIBES=$(VECTLIB) $(GISLIB) $(VASK) $(DATETIMELIB)

I get this compilation error:
gcc -s  -o
/home/neteler/ggg/dist.i686-pc-linux-gnu/etc/bin/contrib/cmd/r.in.shape
OBJ.i686-pc-linux-gnu/main.o
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libvect.a
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libdig2.a
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libgis.a
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libvask.a -lncurses
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libdatetime.a
/home/neteler/ggg/src/libes/vect32_64/shapelib-1.2.8/LIB.i686-pc-linux-gnu/libshape.a
-lm  -lz 
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libdig2.a(chk_inside.o):
In function 'dig_point_in_area':
/home/neteler/ggg/src/libes/vect32/diglib/chk_inside.c:56: undefined
reference to 'V2_read_line'
collect2: ld returned 1 exit status
make: ***
[/home/neteler/ggg/dist.i686-pc-linux-gnu/etc/bin/contrib/cmd/r.in.shape]
Error 1


If I change the LIBES line to
LIBES=$(VECTLIB) $(VECTLIB) $(GISLIB) $(VASK) $(DATETIMELIB)
                 ^^^^^^^^^^

it is compiling o.k. I guess that's not correct, somewhere a reference is
missing. Although looking at
src/CMD/generic/make.mid

I don't get an idea. Other modules having the same problem are:
./mapdev/v.build/Gmakefile
./mapdev/v.spag/Gmakefile
./mapdev/v.what/cmd/Gmakefile

Any comment is welcome!

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list