cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Error when cross-compiling for ARM

From: Tim Hatton <tim_at_coherent-tech.co.uk>
Date: Mon, 9 May 2005 11:58:09 +0100

Damn, was that embarrassing...

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

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se 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: http://haxx.se/curl.html
Received on 2005-05-09