[GRASS5] troubles compiling v.in.ogr, sites, et al.
Kirk R. Wythers
kwythers at umn.edu
Mon Nov 29 17:13:15 EST 2004
I'm running down compile errors in individual modules on grass57.cvs.
It looks to me as if several of them are related to -lgrass_vect. For
example, errors in both /lib/sites and /vector/v.in.ogr are indicating
problems locating -lgrass_vect:
truffula:~/grass5_dev/grass57_cvs/lib/sites kirkw$ make
cc -dynamiclib -Wl,-flat_namespace,-U,_cuserid -compatibility_version
5.7 -current_version 5.7 -install_name
/usr/local/grass-5.7.cvs/lib/libgrass_sites.dylib -o
/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/lib/
libgrass_sites.5.7.cvs.dylib -L/usr/X11R6/lib
-L/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/
lib OBJ.powerpc-apple-darwin7.6.0/sites.o -lgrass_gis
-lgrass_datetime -lz -lgrass_dbmiclient -lgrass_dbmibase
-lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm
-lgrass_dbmiclient -lgrass_dbmibase -L/usr/local/lib -lgdal -lgeotiff
&& ln -sf libgrass_sites.5.7.cvs.dylib
/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/lib/
libgrass_sites.dylib
/usr/bin/libtool: can't locate file for: -lgrass_vect
/usr/bin/libtool: file: -lgrass_vect is not an object file (not allowed
in a library)
make: ***
[/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/
lib/libgrass_sites.5.7.cvs.dylib] Error 1
truffula:~/grass5_dev/grass57_cvs/vector/v.in.ogr kirkw$ make
gcc -L/usr/X11R6/lib
-L/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/
lib -I/usr/local/include -DPACKAGE=\""grassmods"\" -o
/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/bin/
v.in.ogr OBJ.powerpc-apple-darwin7.6.0/geom.o
OBJ.powerpc-apple-darwin7.6.0/main.o -lgrass_vect -lgrass_dig2
-lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient
-lgrass_dbmibase -L/usr/local/lib -lgdal -lgeotiff -lgrass_gproj
-lproj -L/usr/local/lib -lgdal -lgeotiff -lgrass_dbmiclient
-lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz -L/usr/local/lib
-lgdal -lgeotiff -lz
ld: can't locate file for: -lgrass_vect
make: ***
[/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.6.0/
bin/v.in.ogr] Error 1
truffula:~/grass5_dev/grass57_cvs/vector/v.in.ogr kirkw$
Any thoughts?
Kirk
More information about the grass-dev
mailing list