cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Not able to cross-compile curl for ARM uClinux

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Dec 2012 15:15:14 +0100 (CET)

On Fri, 14 Dec 2012, Bernard Evensrud wrote:

> Trying to run the configure script without setting any variables and
> without options other than --host=arm-elf gives this output:

It does appear to be somewhat broken. See the specific configure test and its
failure in config.log:

> configure:4219: checking for C compiler default output file name
> configure:4241: arm-elf-gcc conftest.c >&5
> /usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.text+0xc4):
> In function `__do_global_ctors':
> : undefined reference to `__CTOR_LIST__'
> /usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.data+0x0):
> undefined reference to `__DTOR_LIST__'
> collect2: ld returned 1 exit status

The compile command clearly fails on a rather simple program compilation. Why?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-14