curl-library
Re: Error when cross-compiling for ARM
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 9 May 2005 12:32:41 +0200 (CEST)
Date: Mon, 9 May 2005 12:32:41 +0200 (CEST)
On Mon, 9 May 2005, Tim Hatton wrote:
> export CC=/usr/local/arm/2.95.3/bin/arm-linux-g++
...
> 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
So why are you telling it to use a C++ compiler to compile C code? Try:
export CC=/usr/local/arm/2.95.3/bin/arm-linux-gcc
... and I bet it builds slightly better!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-05-09