cURL / Mailing Lists / curl-library / Single Mail


RE: Error when cross-compiling for ARM

From: Tim Hatton <>
Date: Mon, 9 May 2005 11:58:09 +0100

Damn, was that embarrassing...

Thanks for your help. Funnily enough it compiles fine now.

-----Original Message-----
From: on behalf of Daniel Stenberg
Sent: Mon 5/9/2005 11:32 AM
To: libcurl development
Subject: Re: Error when cross-compiling for ARM
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:
Received on 2005-05-09