Error when cross-compiling for ARM
Date: Mon, 9 May 2005 11:03:33 +0100
I am currently developing an embedded application for which I would like to use the cURL library.
The application will run on Linux (kernel 2.4) on an ARM processor (Intel PXA255).
I am trying to cross-compile cURL but I am running into a compilation error which I hope someone could help me with.
I have written a small configuration script (based on the INSTALL document) which specifies my tool-chain which I am successfully using
for my application code:
./configure --disable-shared --disable-manual --target=arm-linux --host=arm-linux --build=i586-pc-linux-gnu --prefix=/home/Tim/Development/Curl/curl-7.12.3/ArmBin
This seems to run OK and gives the following result:
curl version: 7.13.2
Host setup: arm-unknown-linux-gnu
Install prefix: /home/Tim/Development/Curl/curl-7.12.3/ArmBin
SSL support: no (--with-ssl)
zlib support: no (--with-zlib)
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
c-ares support: no (--enable-ares)
ipv6 support: no (--enable-ipv6)
IDN support: no (--with-libidn)
Build libcurl: Shared=no, Static=yes
Built-in manual: no (--enable-manual)
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
When I try to do a make however I quickly get the following error:
base64.c: In function `size_t Curl_base64_decode(const char *, unsigned char **)':
base64.c:112: ANSI C++ forbids implicit conversion from `void *' in assignment
If anyone could shed some light on this problem I'd be very grateful.
Received on 2005-05-09