help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Octave 3.4.2 Build error under CentOS 5.4 x86_64


From: puppy 06
Subject: Octave 3.4.2 Build error under CentOS 5.4 x86_64
Date: Tue, 26 Jul 2011 12:39:11 +0800

Hi,

I met an error while building Octave 3.4.2 under CentOS 5.4 x86_64 with the configuration listed below.

./configure --prefix=/opt/edatools/octave/3.4.2 CXX=g++44 CFLAGS=-fPIC CXXFLAGS=-fPIC 

The error message is shown below.

libtool: link: g++44  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux6E/4.4.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux6E/4.4.4/crtbeginS.o  DLD-FUNCTIONS/.libs/DLD_FUNCTIONS___fltk_uigetfile___la-__fltk_uigetfile__.o  -Wl,--whole-archive ../libcruft/.libs/libranlib.a ../libgnu/.libs/libgnu.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/export/home/install/octave/octave-3.4.2/src/.libs -Wl,-rpath -Wl,/export/home/install/octave/octave-3.4.2/liboctave/.libs -Wl,-rpath -Wl,/export/home/install/octave/octave-3.4.2/libcruft/.libs -Wl,-rpath -Wl,/opt/edatools/octave/3.4.2/lib/octave/3.4.2 ./.libs/liboctinterp.so ../liboctave/.libs/liboctave.so ../libcruft/.libs/libcruft.so -L/usr/local/lib -L/usr/lib64 -lfltk_gl -lGLU -lGL -lfltk -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lX11 -lfreetype -L/usr/lib/gcc/x86_64-redhat-linux6E/4.4.4 -L/usr/lib/gcc/x86_64-redhat-linux6E/4.4.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux6E/4.4.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux6E/4.4.4/crtendS.o /usr/lib/gcc/x86_64-redhat-linux6E/4.4.4/../../../../lib64/crtn.o  -pthread -Wl,-rpath -Wl,/opt/edatools/octave/3.4.2/lib/octave/3.4.2   -pthread -Wl,-soname -Wl,__fltk_uigetfile__.so.0 -o DLD-FUNCTIONS/.libs/__fltk_uigetfile__.so.0.0.0
/usr/bin/ld: /usr/local/lib/libfltk.a(Fl.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/libfltk.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [DLD-FUNCTIONS/__fltk_uigetfile__.la] Error 1

BTW, my FLTK is 1.3.0 built from source.

I'm appreciated if anyone can offer help.

Thanks a lot and regards,
Xiaoshuo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]