[ltp] relocation error:
sensors
linux-thinkpad@linux-thinkpad.org
Fri, 01 Oct 2004 05:38:50 +0000
Hi James
I compiled a C file using gcc and linked some shared libraies. The file compiled without any errors but when I tried to run, it is giving the error as............
fatal: relocation error: ................. unreferenced symbol
Thanks
>-----Original Message-----
>From: James McKenzie [mailto:jjmckenzie51@sprintpcs.com]
>Sent: Friday, October 1, 2004 04:48 AM
>To: linux-thinkpad@linux-thinkpad.org
>Subject: Re: [ltp] relocation error:
>
>Sensors:
>
>What does your gcc line look like? It is possible that you statically
>compiled the executiable so that it cannot be run as a relocatable (a
>program that can be swapped out to virtual memory) code.
>
>James McKenzie
>
>
>sensors wrote:
>
>>Hi All
>>
>>I have a problem in executing a .exe file. Iam gettting a error as
>>fatal: relocation error:
>>I have used gcc to compile the file and also included some shared libraries created by me. Iam running this on Red Hat-9 with kernel version 2.4.20-8.
>>What could be the problem can anybody help me out with it.
>>
>>Thanks in advance....................
>>
>>
>>
>>
>>
>>
>>
>
>--
>The linux-thinkpad mailing list home page is at:
>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>