public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: binil antony <binsoft007@yahoo.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: libcurl for omap arm linux
Date: Sun, 03 Dec 2006 17:42:58 +0100	[thread overview]
Message-ID: <4572FE92.7060405@gmail.com> (raw)
In-Reply-To: <829041.25922.qm@web34504.mail.mud.yahoo.com>

binil antony wrote:
> I took the pre built lib from the link that you
> specified. But I get the following linker errors when
> I link the libcurl.a with my sample appl.

You really should send questions publically to the list.

> /usr/local/wma/mvl-tool/mvl-tools-229/montavista/cee/devkit/arm/v5t_le/bin/../lib/gcc-lib/armv5tl-hardhat-linux/3.3.1/../../../../armv5tl-hardhat-linux/bin/ld:
> ERROR: /home/binil/lib/usr/lib//libcurl.a(easy.o) uses
> hardware FP, whereas ./sample.out uses software FP

Your sample.out is compiled to use software floating point, 
whereas the library is compiled to use hardware floating 
point. I'm not a toolchain expert, but IMHO hardware 
floating point is correct here (because ARM kernel emulates 
floating point). So you should compile sample.out with 
option for hardware floating point as well.

Having compiler version (armv5tl-hardhat-linux-gcc -v (?)) 
and compile & link options you used for sample.out may be 
helpful here.

> /usr/local/wma/mvl-tool/mvl-tools-229/montavista/cee/devkit/arm/v5t_le/bin/../lib/gcc-lib/armv5tl-hardhat-linux/3.3.1/../../../../armv5tl-hardhat-linux/bin/ld:
> Warning: /home/binil/lib/usr/lib//libcurl.a(easy.o)
> does not support interworking, whereas ./sample.out
> does
> No such file or directory: failed to merge target
> specific data of file
> /home/binil/lib/usr/lib//libcurl.a(easy.o)

You compiled sample.out with interworking enabled, which 
isn't supported by the library. Again, having compile & link 
options may clarify this.

Conclusion is that the compile & link options you used for 
sample.out are incompatible which those the library is build 
with.

Dirk

       reply	other threads:[~2006-12-03 16:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <829041.25922.qm@web34504.mail.mud.yahoo.com>
2006-12-03 16:42 ` Dirk Behme [this message]
2006-11-30  7:42 libcurl for omap arm linux binil antony
2006-11-30  7:51 ` David Brownell
2006-11-30 16:39   ` Dirk Behme
2006-11-30 18:25   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4572FE92.7060405@gmail.com \
    --to=dirk.behme@googlemail.com \
    --cc=binsoft007@yahoo.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox