[uClibc]elf2flt linker error

Erik Andersen andersen at codepoet.org
Fri Aug 2 10:46:06 UTC 2002


On Fri Aug 02, 2002 at 06:13:39PM +0800, Bob Cheng wrote:
> If I enable the 'TARGETS:=elf2flt' line, I will get linker error:
> 
> /home/bob/gcc-3.1/toolchain/lib/gcc-lib/arm-linux/3.1/../../../../arm-linux/lib/
> libstdc++.a(locale.o):/home/bob/gcc-3.1/build/gcc-3.1/libstdc++-v3/src/locale.cc
> :308: the 'setlocale' function supports only C|POSIX locales
> /home/bob/gcc-3.1/toolchain/bin/arm-uclibc-ld.real: address 0x42ad80 of 
> obj_linu
> x_arm_r/openisdngw.elf section .text is not within region flatmem
> collect2: ld returned 1 exit status
> make[1]: *** [obj_linux_arm_r/openisdngw] Error 1

I am not sure why, but it appears you are trying to compile
elf2flt using the target compiler!?!?!  elf2flt runs on your
development system, not the target system.   I think you must
have done something to the Makefile for this to happen,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list