Details Ticket 3357


Comment | Reply | Take | Open


Serial Number 3357
Subject Build Errors in 6.1
Area grass6
Queue grass
Requestors tom_colson@ncsu.edu
Owner none
Status resolved
Last User Contact Tue Jul 19 22:54:45 2005 (3 yr ago)
Current Priority 20
Final Priority 70
Due No date assigned
Last Action Tue Jul 19 22:54:49 2005 (3 yr ago)
Created Fri Jun 17 17:55:07 2005 (3 yr ago)

Transaction History Ticket 3357


Fri, Jun 17 2005 17:55:07    Request created by guest  
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
Mon, Jun 20 2005 17:50:04    Mail sent by guest  
Removing
> Try removing the following lines from lib/gmath/numeric.h:
>
>         /* jacobi.c */
>         #define MC 50
>         extern char outputfile[50];
>         extern char groupname[50], subgroup[50], signame[50];


>From numeric.h seemed to do the trick, in 6.0.0 and 6.1 "unstable" (latest
CVS).

Tue, Jul 19 2005 22:54:45    Mail sent by mneteler  
Tom,

I have removed the lines from numerical.h (in both 6.1-CVS and 6.0-CVS).

Please see INSTALL in the current 6.1-CVS for latest hints on 64bit
compilation. I have such a machine "myself" now and updated INSTALL
accordingly.

Cheers

 Markus
Tue, Jul 19 2005 22:54:49    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request