[GRASS5] [bug #3357] (grass) Build Errors in 6.1

Request Tracker grass-bugs at intevation.de
Fri Jun 17 11:55:07 EDT 2005


this bug's URL: http://intevation.de/rt/webrt?serial_num=3357
-------------------------------------------------------------------------

Subject: Build Errors in 6.1

Platform: other
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 6.1

>  ./configure --with-proj-includes=/usr/local/lib
> --with-tcltk-includes=/usr/local/lib --without-postgres --with-freetype
> --with-gdal --with-x --enable-largefile --enable-64bit --enable-w11
> --with-opengl-libs=/usr/X11R6/lib64
> --with-freetype-includes=/usr/include/freetype2 --with-blas --with-cxx
>
> then make results in:
>
>
>
> Following modules are missing the 'description.html' file in src code:
> v.parallel
> v.split
> ----------------------------------------------------------------------
> GRASS GIS compilation log
> -------------------------
> Started compilation: Fri Jun 17 09:32:05 EDT 2005
> Errors in:
> /grass6/lib/gmath
> /grass6/lib/imagery
> /grass6/lib/rst/interp_float
> /grass6/display/drivers/XDRIVER/XDRIVER24
> /grass6/display/d.mon/pgms
> /grass6/imagery/i.class
> /grass6/imagery/i.cluster
> /grass6/imagery/i.gensig
> /grass6/imagery/i.gensigset
> /grass6/imagery/i.group
> /grass6/imagery/i.his.rgb
> /grass6/imagery/i.maxlik
> /grass6/imagery/i.ortho.photo/libes
> /grass6/imagery/i.ortho.photo/menu
> /grass6/imagery/i.ortho.photo/photo.2image
> /grass6/imagery/i.ortho.photo/photo.2target
> /grass6/imagery/i.ortho.photo/photo.camera
> /grass6/imagery/i.ortho.photo/photo.elev
> /grass6/imagery/i.ortho.photo/photo.init
> /grass6/imagery/i.ortho.photo/photo.rectify
> /grass6/imagery/i.ortho.photo/photo.target
> /grass6/imagery/i.points
> /grass6/imagery/i.rectify
> /grass6/imagery/i.rgb.his
> /grass6/imagery/i.smap/shapiro
> /grass6/imagery/i.target
> /grass6/imagery/i.vpoints
> /grass6/imagery/i.cca
> /grass6/imagery/i.fft
> /grass6/imagery/i.ifft
> /grass6/imagery/i.pca
> /grass6/imagery/i.zc
> /grass6/ps/ps.map
> /grass6/raster/r.param.scale
> /grass6/raster/r.resamp.rst
> /grass6/raster/r.in.gdal
> /grass6/raster/r.surf.fractal
> /grass6/raster/r.surf.gauss
> /grass6/raster/r.surf.random
> /grass6/raster/r.terraflow
> /grass6/vector/v.kernel
> /grass6/vector/v.surf.rst
> Finished compilation: Fri Jun 17 09:32:34 EDT 2005
> (In case of errors please change into the directory with error and run
> 'make')
>
>
> cd lib
> make
> /usr/bin/ld: cannot find -lgrass_gmath
> collect2: ld returned 1 exit status
>
> cd rst
> make
> /usr/bin/ld: cannot find -lgrass_gmath
> collect2: ld returned 1 exit status
> make[1]: *** [/grass6/dist./lib/libgrass_interpfl.6.1.cvs.so] Error 1
> make[1]: Leaving directory `/grass6/lib/rst/interp_float'
>
> cd raster
> make
> /usr/bin/ld: cannot find -lgrass_gmath
> collect2: ld returned 1 exit status
>
>
> cd ps
> make
> /usr/bin/ld: cannot find -lgrass_I
> collect2: ld returned 1 exit status
> make[1]: *** [/grass6/dist./bin/ps.map] Error 1
> make[1]: Leaving directory `/grass6/ps/ps.map'
>
>
> ...and so forth.
>
cd lib/gmath
make
gcc -shared -o
/grass6/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.6.1.cvs.so
-Wl,--export-dynamic -L/grass6/dist.x86_64-unknown-linux-gnu/lib
-Wl,-rpath-link,/grass6/dist.x86_64-unknown-linux-gnu/lib   
OBJ.x86_64-unknown-linux-gnu/brent.o OBJ.x86_64-unknown-linux-gnu/dalloc.o
OBJ.x86_64-unknown-linux-gnu/del2g.o OBJ.x86_64-unknown-linux-gnu/eigen.o
OBJ.x86_64-unknown-linux-gnu/eigen_tools.o
OBJ.x86_64-unknown-linux-gnu/fft.o OBJ.x86_64-unknown-linux-gnu/gauss.o
OBJ.x86_64-unknown-linux-gnu/getg.o OBJ.x86_64-unknown-linux-gnu/ialloc.o
OBJ.x86_64-unknown-linux-gnu/jacobi.o OBJ.x86_64-unknown-linux-gnu/la.o
OBJ.x86_64-unknown-linux-gnu/lu.o OBJ.x86_64-unknown-linux-gnu/max_pow2.o
OBJ.x86_64-unknown-linux-gnu/mult.o OBJ.x86_64-unknown-linux-gnu/rand1.o
OBJ.x86_64-unknown-linux-gnu/svd.o -lgrass_gis -lgrass_datetime -lz   
-lfftw -lm   && ln -sf libgrass_gmath.6.1.cvs.so
/grass6/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.so
/usr/bin/ld: /usr/local/lib/libfftw.a(fftwnd.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/libfftw.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: ***
[/grass6/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.6.1.cvs.so]
Error 1

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list