For the first time, I am trying to build FLTK 1.1 with shared libraries. When I 
do so, I get the followint error message:

g++ -L/usr/lib64 -Wl,-soname,libfltk.so.1.1 -ldl -lm -lXext -lX11 -shared -fPIC 
-o libfltk.so.1.1 ...
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/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

I am using g++ (GCC) 4.2.1 (SUSE Linux) on x86_64. Is this a problem with g++ 
4.2.1, an x86_64 problem, or something else?

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to