recompile with -fPIC You need to recompile your obj/*.o with -fPIC option to the compiler.
Separate names with a comma.