Hi,

I'm trying to build the FLTK 1.3.0 with --enable-shared option under Centos 5.4 
x86_64 and meet the following error.


=== making src ===
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk.so.1.3 -lXext -lXft -lfontconfig 
-lXinerama -lpthread -ldl -lm -lX11 -shared -fPIC -o libfltk.so.1.3 ...
/usr/bin/ld: Fl.o: relocation R_X86_64_32 against `a local symbol' can not be 
used when making a shared object; recompile with -fPIC
Fl.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

Does anyone have ideas?

BTW, I don't have problem to build a statistic library (without 
--enable-shared) from same source code.  Meanwhile, my GCC version is 4.4.2-50.

Thanks in advance.

Reagrds,
Xiaoshuo




_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to