[GRASS-dev] Error compiling 6.3
Agustin Diez Castillo
adiez at uv.es
Fri Aug 18 14:05:20 EDT 2006
I got this error when compiling simlib on a PPC iMac G5 from latest cvs:
cc -dynamiclib -flat_namespace -compatibility_version 6.3 -
current_version 6.3 -install_name /usr/local/grass-6.3.cvs/lib/
libgrass_sim.dylib -o /Users/Shared/src/grass6_3/grass6/dist.powerpc-
apple-darwin8.7.0/lib/libgrass_sim.6.3.cvs.dylib -L/Users/Shared/src/
grass6_3/grass6/dist.powerpc-apple-darwin8.7.0/lib -L/usr/local/lib -
L/usr/local/pgsql/lib OBJ.powerpc-apple-darwin8.7.0/input.o
OBJ.powerpc-apple-darwin8.7.0/random.o OBJ.powerpc-apple-darwin8.7.0/
hydro.o OBJ.powerpc-apple-darwin8.7.0/output.o OBJ.powerpc-apple-
darwin8.7.0/erod.o -lgrass_gis -lgrass_datetime -lz -lgrass_bitmap
-lgrass_dbmiclient -lgrass_dbmibase -lgrass_gmath -L/usr/local/lib -
lfftw -lgrass_linkm -lz -lgrass_sites && if [ -z "" ] ; then ln -
f -s libgrass_sim.6.3.cvs.dylib /Users/Shared/src/grass6_3/grass6/
dist.powerpc-apple-darwin8.7.0/lib/libgrass_sim.dylib; fi
ld: warning can't open dynamic library: /usr/local/grass-6.3.cvs/lib/
libgrass_vect.dylib (checking for undefined symbols may be affected)
(No such file or directory, errno = 2)
ld: warning can't open dynamic library: /usr/local/grass-6.3.cvs/lib/
libgrass_dig2.dylib (checking for undefined symbols may be affected)
(No such file or directory, errno = 2)
ld: warning can't open dynamic library: /usr/local/grass-6.3.cvs/lib/
libgrass_dgl.dylib (checking for undefined symbols may be affected)
(No such file or directory, errno = 2)
ld: warning can't open dynamic library: /usr/local/grass-6.3.cvs/lib/
libgrass_rtree.dylib (checking for undefined symbols may be affected)
(No such file or directory, errno = 2)
ld: Undefined symbols:
_Vect_append_point
_Vect_build
_Vect_cat_get
_Vect_cat_set
_Vect_close
_Vect_get_comment
_Vect_get_field
_Vect_get_name
_Vect_is_3d
_Vect_new_cats_struct
_Vect_new_line_struct
_Vect_open_new
_Vect_open_old
_Vect_read_next_line
_Vect_reset_cats
_Vect_reset_line
_Vect_set_comment
_Vect_set_date
_Vect_set_map_name
_Vect_set_open_level
_Vect_write_line
/usr/bin/libtool: internal link edit command failed
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/lib/libgrass_sim.6.3.cvs.dylib] Error 1
r.sim.water
gcc -L/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/lib -L/usr/local/lib -L/usr/local/pgsql/lib -I/usr/
local/include -DPACKAGE=\""grassmods"\" -o /Users/Shared/src/
grass6_3/grass6/dist.powerpc-apple-darwin8.7.0/bin/r.sim.water
OBJ.powerpc-apple-darwin8.7.0/main.o -lgrass_sim -lgrass_bitmap -
lgrass_linkm -lgrass_sites -lgrass_vect -lgrass_dig2 -lgrass_dgl -
lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -L/
usr/local/lib -lgdal -lgrass_dbmiclient -lgrass_dbmibase -
lgrass_gis -lgrass_datetime -lz -lgrass_datetime -lgrass_gmath -L/
usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_sim
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/r.sim.water] Error 1
r.sim.sediment
gcc -L/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/lib -L/usr/local/lib -L/usr/local/pgsql/lib -I/usr/
local/include -DPACKAGE=\""grassmods"\" -o /Users/Shared/src/
grass6_3/grass6/dist.powerpc-apple-darwin8.7.0/bin/r.sim.sediment
OBJ.powerpc-apple-darwin8.7.0/main.o -lgrass_sim -lgrass_bitmap -
lgrass_linkm -lgrass_sites -lgrass_vect -lgrass_dig2 -lgrass_dgl -
lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -L/
usr/local/lib -lgdal -lgrass_dbmiclient -lgrass_dbmibase -
lgrass_gis -lgrass_datetime -lz -lgrass_datetime -lgrass_gmath -L/
usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_sim
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/r.sim.sediment] Error 1
*******************************************************
Dr. Agustin Diez Castillo
Departament de Prehistoria i Arqueologia
Universitat de Valencia Phone: +34 963 86 42 42
Avda. Blasco Iba–ez, 28 Fax: +34 963 98 38 87
Valencia 46010
*******************************************************
More information about the grass-dev
mailing list