[GRASS-dev] [GRASS GIS] #165: compilation error

GRASS GIS trac at osgeo.org
Tue May 13 11:11:09 EDT 2008


#165: compilation error
---------------------+------------------------------------------------------
 Reporter:  watti    |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  6.3.1                    
Component:  default  |     Version:  svn-trunk                
 Keywords:           |  
---------------------+------------------------------------------------------
 when compiling Grass 6.3 on RHEL 4 64 bit I get the following errors

 Errors in:
 /data/users/soi534/GRASS/grass63_release/lib/gmath
 /data/users/soi534/GRASS/grass63_release/lib/imagery
 /data/users/soi534/GRASS/grass63_release


 going to the directories

 /lib/gmath:

 -gnu/svd.o -lgrass_gis -lgrass_datetime -lz     -lfftw3 -lm   && \
 (cd /data/users/soi/GRASS/grass63_release/dist.x86_64-unknown-linux-
 gnu/lib; ln -f -s libgrass_gmath.6.3.1svn.so
 /data/users/soi/GRASS/grass63_release/dist.x86_64-unknown-linux-
 gnu/lib/libgrass_gmath.so)
 /usr/bin/ld: /usr/local/lib/libfftw3.a(mapflags.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/libfftw3.a: could not read symbols: Bad value
 collect2: ld returned 1 exit status
 make: *** [/data/users/soi/GRASS/grass63_release/dist.x86_64-unknown-
 linux-gnu/lib/libgrass_gmath.6.3.1svn.so] Error 1

 in /lib/imagery I get the error propagation

 /usr/bin/ld: cannot find -lgrass_gmath

 same in /lib/rst/interp_float

 /usr/bin/ld: cannot find -lgrass_gmath

 I use fftw-3.1.2.

 Any suggestions ?

 Cheers,

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/165>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list