0

ld: foo.o: relocation R_X86_64_PC32 against undefined symbol `bar' can not be used when making a shared object; recompile with -fPIC

I recompile with -fPIC and it still produces this error.

1 Answer 1

1

Versions of your compiler and linker? Perhaps your problem is related to this bug, that seems to be fixed now: http://sources.redhat.com/bugzilla/show_bug.cgi?id=584?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.