5fd5c48547ded7236.jpg_fo742.png

编译时make过程中出错
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will

also get errors from anything which uses the library.

Finished compilation: Fri Aug 8 16:40:47 CST 2014
make: *** [default] Error 1
在进入到相关子文件中再进行make时,仍出错,如下:

[wanghao@node02 gmath]$ pwd
/home/wanghao/grass-6.4.3/lib/gmath
[wanghao@node02 gmath]$ make
gcc -shared -o /home/wanghao/grass-6.4.3/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.6.4.3.so -L/home/wanghao/grass-6.4.3/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/wanghao/grass-6.4.3/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/findzc.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.6.4.3 -lgrass_datetime.6.4.3 -lz -lfftw3 -lm -lm
/usr/bin/ld: /usr/local/lib/libfftw3.a(mapflags.o): relocation R_X86_64_32 against `.rodata' 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: *** [/home/wanghao/grass-6.4.3/dist.x86_64-unknown-linux-gnu/lib/libgrass_gmath.6.4.3.so] Error 1

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code