> > ./prog: error in loading shared libraries: /usr/lib/libfoo.so: R_ARM_PC24
> > relocation out of range
>
> You have to compile the object files with -fPIC.
>
Thanks. It works. :)
When I look at gcc command line options, I see two
options related to generate position independent code --
-fPIC and -fpic.
But, what is the difference?
When I ldconfig and print libraries in ld.so.cache,
some libraries are marked as libc6 and others ELF.
What is the difference between these two types?
Regards,
Murphy
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm