[GRASS-dev] Error compiling 6.3 PPC iMac G5
Agustin Diez Castillo
adiez at uv.es
Fri Aug 18 17:01:14 EDT 2006
William,
$(VECTLIB) did it in simwe, but make stills fails at lidar and nviz.
/usr/bin/libtool: internal link edit command failed
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/lib/libgrass_lidar.6.3.cvs.dylib] Error 1
v.bspline
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/v.bspline
OBJ.powerpc-apple-darwin8.7.0/main.o -lgrass_lidar -lgrass_vect -
lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -
lgrass_dbmiclient -lgrass_dbmibase -L/usr/local/lib -lgdal -
lgrass_gis -lgrass_datetime -lz -lgrass_segment -lgrass_gmath -L/
usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_lidar
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/v.bspline] Error 1
v.outlier
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/v.outlier
OBJ.powerpc-apple-darwin8.7.0/main.o OBJ.powerpc-apple-darwin8.7.0/
outlier.o -lgrass_lidar -lgrass_vect -lgrass_dig2 -lgrass_dgl -
lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -L/
usr/local/lib -lgdal -lgrass_gis -lgrass_datetime -lz -
lgrass_segment -lgrass_gmath -L/usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_lidar
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/v.outlier] Error 1
v.lidar.correction
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/v.lidar.correction
OBJ.powerpc-apple-darwin8.7.0/correction.o OBJ.powerpc-apple-
darwin8.7.0/main.o -lgrass_lidar -lgrass_vect -lgrass_dig2 -
lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -
lgrass_dbmibase -L/usr/local/lib -lgdal -lgrass_gis -lgrass_datetime
-lz -lgrass_segment -lgrass_gmath -L/usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_lidar
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/v.lidar.correction] Error 1
v.lidar.edgedetection
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/
v.lidar.edgedetection OBJ.powerpc-apple-darwin8.7.0/edgedetection.o
OBJ.powerpc-apple-darwin8.7.0/main.o -lgrass_lidar -lgrass_vect -
lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -
lgrass_dbmiclient -lgrass_dbmibase -L/usr/local/lib -lgdal -
lgrass_gis -lgrass_datetime -lz -lgrass_segment -lgrass_gmath -L/
usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_lidar
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/v.lidar.edgedetection] Error 1
v.lidar.growing
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/v.lidar.growing
OBJ.powerpc-apple-darwin8.7.0/ConvexHull.o OBJ.powerpc-apple-
darwin8.7.0/growing.o OBJ.powerpc-apple-darwin8.7.0/main.o -
lgrass_lidar -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree -
lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -L/usr/local/lib -
lgdal -lgrass_gis -lgrass_datetime -lz -lgrass_segment -
lgrass_gmath -L/usr/local/lib -lfftw -lz
/usr/bin/ld: can't locate file for: -lgrass_lidar
collect2: ld returned 1 exit status
make[1]: *** [/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/bin/v.lidar.growing] Error 1
__________
At nviz
____________
gcc -I/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/include -I/usr/local/include -I/usr/include -g -O3 -
D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/X11R6/include -I/usr/
X11R6/include -I/Users/Shared/src/grass6_3/grass6/dist.powerpc-apple-
darwin8.7.0/include -I/usr/local/include -I/usr/local/include -
DPACKAGE=\""grassmods"\" -I/Users/Shared/src/grass6_3/grass6/
dist.powerpc-apple-darwin8.7.0/include \
-o OBJ.powerpc-apple-darwin8.7.0/togl.o -c togl.c
In file included from togl.c:55:
/usr/include/tkMacOSX.h:19:19: error: tkInt.h: No such file or directory
In file included from /usr/include/tkMacOSX.h:32,
from togl.c:55:
/usr/include/tkPlatDecls.h:107: error: parse error before '*' token
/usr/include/tkPlatDecls.h:152: error: parse error before '*' token
togl.c:56:54: error: tkMacOSXInt.h: No such file or directory
*******************************************************
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
*******************************************************
On 18/08/2006, at 08:29 PM, William Kyngesburye wrote:
> A bit of a quirk with Apple's linker (though it might be more
> general), if you've never installed 6.3 before. Some of those
> libraries needed by simlib also use other grass libraries.
> Normally the linker would find those automatically from their
> install locations, but since you don't have GRASS installed yet
> (this version at least), it fails.
>
> Edit raster/simwe/simlib/makefile, and add $(VECTLIB) to EXTRA_LIBS.
>
> I also have to do this when I build a universal GRASS, since
> everything is going thru the Universal SDK which alters paths on
> the fly. I've been a bit hesitant (and lazy) to file this as a
> bug, but maybe I should.
>
> On Aug 18, 2006, at 1:05 PM, Agustin Diez Castillo wrote:
>
>> 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
>> *******************************************************
>>
>>
>>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grass-dev
>
> -----
> William Kyngesburye <kyngchaos at kyngchaos.com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am. Or in my case - I am, therefore I ache."
>
> - Marvin
>
>
>
More information about the grass-dev
mailing list