curl-library
Re: Problem cross compiling curl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 Jan 2008 22:55:26 +0100 (CET)
Date: Fri, 25 Jan 2008 22:55:26 +0100 (CET)
On Fri, 25 Jan 2008, Joel Parker wrote:
> I am trying to cross compile libCurl for my gumstix. I made the tool chain the first thing in my
> path. I then specify ./configure --host=arm-linux followed by make
> the compile dies with the following error :
>
> Relocations in generic ELF (EM: 3)
> .libs/file.o: could not read symbols: File in wrong format
It sounds like .libs/file.o is a leftover from a previous build that was made
under different conditions. Try make clean first and then make again.
I've cross-compiled curl numerous times in a manner similar to what you
described and I've never seen this problem.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-01-25