On Tue, Apr 09, 2002 at 07:08:10PM +0800, Jason Chan wrote:

[followup set to linux-arm because this is NOT kernel related]

>    I am trying to build a shared library from a set of object files 
> (only binary, no source code) for ARM Linux. After I write a simple 
> application to test the binary, I always get "error in loading shared 
> libraries: /buffer/libtmp.so: R_ARM_PC24 relocation out of range" error 
> message.
> 
> Can anyone tell me how to build a share library for ARM Linux.

Use the -fpic flag. Or just use libtool to create libraries.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to