It works doing like that :D
I thought it was as easy as only copying the include files missing.
Thanks!
Daniel Stenberg wrote:
> On Tue, 17 Nov 2009, Angel Sánchez wrote:
>
>> I have the toolchain for the platform, it's based on openwrt. And
>> built some required libraries on the Fonera and then copied the
>> libraries to my system for crosscompiling the application. The
>> problem I found was that I hadn't the headers of curl, so I
>> downloaded the .tgz from the main page and put only the headers.
>
> Don't do that. Build libcurl from sources with your correct toolset,
> then you 'make install' the lot properly (use DESTDIR if you prefer)
> as then you'll get the correct set of include files put where they
> should be and those headers are what you should use for your target
> platform!
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
--
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-18