[GRASS-dev] Compilation errors in GRASS for Mac

William Kyngesburye woklist at kyngchaos.com
Thu Jul 27 20:00:05 EDT 2006


On Jul 27, 2006, at 6:35 PM, Agustin Diez Castillo wrote:

>
> I got these errors with Kyngesburye's flags.
> Agustin
> Imac G5
> Started compilation: Fri Jul 28 00:49:21 CEST 2006
> --
> Errors in:
> /Users/agus/grass6/lib/gmath
>
...

> cc -dynamiclib -flat_namespace -compatibility_version 6.1 - 
> current_version 6.1 -install_name /usr/local/grass-6.1.cvs/lib/ 
> libgrass_gmath.dylib -o /Users/agus/grass6/dist.powerpc-apple- 
> darwin8.7.0/lib/libgrass_gmath.6.1.cvs.dylib -L/Users/agus/grass6/ 
> dist.powerpc-apple-darwin8.7.0/lib -L/usr/local/grasslib/lib  -L/ 
> usr/local/pgsql/lib   OBJ.powerpc-apple-darwin8.7.0/brent.o  
> OBJ.powerpc-apple-darwin8.7.0/dalloc.o OBJ.powerpc-apple- 
> darwin8.7.0/del2g.o OBJ.powerpc-apple-darwin8.7.0/eigen.o  
> OBJ.powerpc-apple-darwin8.7.0/eigen_tools.o OBJ.powerpc-apple- 
> darwin8.7.0/fft.o OBJ.powerpc-apple-darwin8.7.0/gauss.o OBJ.powerpc- 
> apple-darwin8.7.0/getg.o OBJ.powerpc-apple-darwin8.7.0/ialloc.o  
> OBJ.powerpc-apple-darwin8.7.0/jacobi.o OBJ.powerpc-apple- 
> darwin8.7.0/la.o OBJ.powerpc-apple-darwin8.7.0/lu.o OBJ.powerpc- 
> apple-darwin8.7.0/max_pow2.o OBJ.powerpc-apple-darwin8.7.0/mult.o  
> OBJ.powerpc-apple-darwin8.7.0/rand1.o OBJ.powerpc-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
> /usr/bin/libtool: internal link edit command failed
> make: *** [/Users/agus/grass6/dist.powerpc-apple-darwin8.7.0/lib/ 
> libgrass_gmath.6.1.cvs.dylib] Error 1
> Agustin
>
Well, that one is a problem with FFTW.  From the -L options present,  
it looks like it's expecting it in Lorenzo's grasslib.  And as the  
newer FFTW3.  Those functions are a part of the old FFTW2, so  
configure somehow misidentified FFTW3 as FFTW2.  Maybe both are in  
grasslib and configure is getting confused?

>>>
>>> --with-tcltk-includes=/usr/local/grasslibs/include \
>>> --with-tcltk-libs=/usr/local/grasslibs/lib \
>>> --with-x --without-motif --without-glw --with-opengl=x11
>>>

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that  
the past isn't a fiction designed to account for the discrepancy  
between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe




More information about the grass-dev mailing list