roman schindlauer <[EMAIL PROTECTED]> writes: > This results in the following error: > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: > ./libraptor.a(raptor_parse.o): relocation R_X86_64_32S against `a > local symbol' can not be used when making a shared object; recompile with > -fPIC
The linker told you what you must do: recompile all objects in libraptor.a with -fPIC. > (What does -shared actually mean: that it PRODUCES a shared lib or Yes. > that the linker should LINK dynamically to the specified libs? No. That's '-dynamic' (linker default). > Then, what is -static?) That the linker should produce a statically-linked executable. The '-static' is antonym to '-dynamic'. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
