public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* libcurl for omap arm linux
@ 2006-11-30  7:42 binil antony
  2006-11-30  7:51 ` David Brownell
  0 siblings, 1 reply; 5+ messages in thread
From: binil antony @ 2006-11-30  7:42 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

The Libcurl.so is the library used for client side URL
transfers. This Lib is available for gcc on redhat
linux.

But the same lib is not available for omap-arm-linux.

I require this lib to perform some HTTP related 
operations[GET, POST etc]. 

Let me know, how I could go about doing HTTP related 
operations on omap-arm-linux. 

Is there an equivalent libray or libraries available?

Regards!
Binil...~


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libcurl for omap arm linux
  2006-11-30  7:42 binil antony
@ 2006-11-30  7:51 ` David Brownell
  2006-11-30 16:39   ` Dirk Behme
  2006-11-30 18:25   ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: David Brownell @ 2006-11-30  7:51 UTC (permalink / raw)
  To: linux-omap-open-source, binsoft007

> I require this lib to perform some HTTP related 
> operations[GET, POST etc]. 
>
> Let me know, how I could go about doing HTTP related 
> operations on omap-arm-linux. 

Did you try compiling it yourself?  Or cross-compiling it?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libcurl for omap arm linux
  2006-11-30  7:51 ` David Brownell
@ 2006-11-30 16:39   ` Dirk Behme
  2006-11-30 18:25   ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Dirk Behme @ 2006-11-30 16:39 UTC (permalink / raw)
  To: binsoft007; +Cc: linux-omap-open-source

David Brownell wrote:
>>I require this lib to perform some HTTP related 
>>operations[GET, POST etc]. 
>>
>>Let me know, how I could go about doing HTTP related 
>>operations on omap-arm-linux. 
> 
> Did you try compiling it yourself?  Or cross-compiling it?

Or prebuild Debian package?

http://packages.debian.org/oldstable/devel/libcurl-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libcurl for omap arm linux
  2006-11-30  7:51 ` David Brownell
  2006-11-30 16:39   ` Dirk Behme
@ 2006-11-30 18:25   ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2006-11-30 18:25 UTC (permalink / raw)
  To: David Brownell; +Cc: linux-omap-open-source


On Nov 29, 2006, at 11:51 PM, David Brownell wrote:

>> I require this lib to perform some HTTP related
>> operations[GET, POST etc].
>>
>> Let me know, how I could go about doing HTTP related
>> operations on omap-arm-linux.
>
> Did you try compiling it yourself?  Or cross-compiling it?

and you can get curl from  http://curl.haxx.se/

>
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source

Khem Raj <kraj@mvista.com>
MontaVista Software Inc.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libcurl for omap arm linux
       [not found] <829041.25922.qm@web34504.mail.mud.yahoo.com>
@ 2006-12-03 16:42 ` Dirk Behme
  0 siblings, 0 replies; 5+ messages in thread
From: Dirk Behme @ 2006-12-03 16:42 UTC (permalink / raw)
  To: binil antony; +Cc: linux-omap-open-source

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-03 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <829041.25922.qm@web34504.mail.mud.yahoo.com>
2006-12-03 16:42 ` libcurl for omap arm linux Dirk Behme
2006-11-30  7:42 binil antony
2006-11-30  7:51 ` David Brownell
2006-11-30 16:39   ` Dirk Behme
2006-11-30 18:25   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox