[GRASS-dev] Compilation errors in GRASS for Mac
Agustin Diez Castillo
adiez at uv.es
Fri Jul 28 00:23:49 EDT 2006
Thanks Glynn,
in a Dual Power Mac7.2 (Power Mac G5)
things went bettet but ...
Started compilation: Fri Jul 28 02:28:39 CEST 2006
--
Errors in:
/private/var/root/cvs_grass/grass6/raster/simwe/simlib
/private/var/root/cvs_grass/grass6/raster/simwe/r.sim.water
/private/var/root/cvs_grass/grass6/raster/simwe/r.sim.sediment
--
Finished compilation: Fri Jul 28 02:41:22 CEST 2006
(In case of errors please change into the directory with error and
run 'make')
smigol:~/cvs_grass/grass6 root# cd /private/var/root/cvs_grass/grass6/
raster/simwe/simlib
smigol:/private/var/root/cvs_grass/grass6/raster/simwe/simlib root# make
cc -dynamiclib -flat_namespace -compatibility_version 6.1 -
current_version 6.1 -install_name /usr/local/grass-6.1.cvs/lib/
libgrass_sim.dylib -o /private/var/root/cvs_grass/grass6/dist.powerpc-
apple-darwin8.7.0/lib/libgrass_sim.6.1.cvs.dylib -L/private/var/root/
cvs_grass/grass6/dist.powerpc-apple-darwin8.7.0/lib -L/usr/local/
grasslib/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/grasslib/lib -lfftw3 -lgrass_linkm -lz -
lgrass_sites && if [ -z "" ] ; then ln -f -s libgrass_sim.
6.1.cvs.dylib /private/var/root/cvs_grass/grass6/dist.powerpc-apple-
darwin8.7.0/lib/libgrass_sim.dylib; fi
ld: warning can't open dynamic library: /usr/local/grass-6.1.cvs/lib/
libgrass_vect.dylib referenced from: /private/var/root/cvs_grass/
grass6/dist.powerpc-apple-darwin8.7.0/lib/libgrass_sites.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.1.cvs/lib/
libgrass_dig2.dylib referenced from: /private/var/root/cvs_grass/
grass6/dist.powerpc-apple-darwin8.7.0/lib/libgrass_sites.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.1.cvs/lib/
libgrass_dgl.dylib referenced from: /private/var/root/cvs_grass/
grass6/dist.powerpc-apple-darwin8.7.0/lib/libgrass_sites.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.1.cvs/lib/
libgrass_rtree.dylib referenced from: /private/var/root/cvs_grass/
grass6/dist.powerpc-apple-darwin8.7.0/lib/libgrass_sites.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: *** [/private/var/root/cvs_grass/grass6/dist.powerpc-apple-
darwin8.7.0/lib/libgrass_sim.6.1.cvs.dylib] Error 1
smigol:/private/var/root/cvs_grass/grass6/raster/simwe/simlib root#
cd /private/var/root/cvs_grass/grass6/raster/simwe/r.sim.water
smigol:/private/var/root/cvs_grass/grass6/raster/simwe/r.sim.water
root# make
gcc -L/private/var/root/cvs_grass/grass6/dist.powerpc-apple-
darwin8.7.0/lib -L/usr/local/grasslib/lib -L/usr/local/pgsql/lib -
I/usr/local/gislibs/include -DPACKAGE=\""grassmods"\" -o /private/
var/root/cvs_grass/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/gislibs/lib -lgdal -lgrass_dbmiclient -
lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz -lgrass_datetime
-lgrass_gmath -L/usr/local/grasslib/lib -lfftw3 -lz
/usr/bin/ld: can't locate file for: -lgrass_sim
collect2: ld returned 1 exit status
make: *** [/private/var/root/cvs_grass/grass6/dist.powerpc-apple-
darwin8.7.0/bin/r.sim.water] Error 1
smigol:/private/var/root/cvs_grass/grass6/raster/simwe/r.sim.water
root# cd /private/var/root/cvs_grass/grass6/raster/simwe/r.sim.sediment
smigol:/private/var/root/cvs_grass/grass6/raster/simwe/r.sim.sediment
root# make
gcc -L/private/var/root/cvs_grass/grass6/dist.powerpc-apple-
darwin8.7.0/lib -L/usr/local/grasslib/lib -L/usr/local/pgsql/lib -
I/usr/local/gislibs/include -DPACKAGE=\""grassmods"\" -o /private/
var/root/cvs_grass/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/gislibs/lib -lgdal -lgrass_dbmiclient -
lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz -lgrass_datetime
-lgrass_gmath -L/usr/local/grasslib/lib -lfftw3 -lz
/usr/bin/ld: can't locate file for: -lgrass_sim
collect2: ld returned 1 exit status
make: *** [/private/var/root/cvs_grass/grass6/dist.powerpc-apple-
darwin8.7.0/bin/r.sim.sediment] Error 1
Agustin
On 28/07/2006, at 03:00 AM, Glynn Clements wrote:
>
> Agustin Diez Castillo wrote:
>
>> Errors in:
>> /Users/agus/grass6/lib/gmath
>
>> 81-202-194-12:/Users/agus/grass6/lib/gmath root# make
>> cc -dynamiclib -flat_namespace -compatibility_version 6.1 -
>
> [snip]
>
>> apple-darwin8.7.0/svd.o -lgrass_gis -lgrass_datetime -lz -lfftw3
>> && if [ -z "" ] ; then ln -f -s libgrass_gmath.
>> 6.1.cvs.dylib /Users/agus/grass6/dist.powerpc-apple-darwin8.7.0/lib/
>> libgrass_gmath.dylib; fi
>> ld: Undefined symbols:
>> _fftw2d_create_plan
>> _fftwnd_destroy_plan
>> _fftwnd_one
>
> It's trying to use FFTW 2.x headers with the FFTW 3.x library.
>
> You need to determine why the check for the FFTW 3.x headers fails;
> look in config.log.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
More information about the grass-dev
mailing list