Cross-compiling C++ for the ICnova AP7000 base (AVR32) - unresolved references
WANG.Jiong
wong.kwongyuan at gmail.com
Thu Jul 28 03:08:53 UTC 2011
It seems your uClibc has not enabled the following feature
UCLIBC_HAS_WCHAR
UCLIBC_HAS_LOCALE
UCLIBC_HAS_XLOCALE
suggest you to check your libc with avr32-linux-nm to see if these
function's avaiable
if not, then check uClibc config file to make sure those feature macro
has been set
On 07/28/2011 10:54 AM, higgins-demack at bigpond.com wrote:
> Cross-compiling <myprog>.cpp (under Ubuntu with a buildroot toolchain) with avr32-linux-g++ produces a bunch of undefined references as shown below. I know it's something to do with libraries in the toolchain, but I can't track it down. Which buildroot options should I fiddle with?
>
> /home/neil/Projects/icnova_20080430/ICnova_base/build_avr32/staging_dir/lib/gcc/avr32-linux-uclibc/4.0.4-atmel.0.99.0/../../../../avr32-linux-uclibc/lib/libstdc++.so: undefined reference to `__towupper_l'
> ... undefined reference to `__strtold_l'
> ... undefined reference to `__strftime_l'
> ... undefined reference to `__nl_langinfo_l'
> ... undefined reference to `__newlocale'
> ... undefined reference to `__freelocale'
> ... undefined reference to `__wcsxfrm_l'
> ... undefined reference to `__iswctype_l'
> ... undefined reference to `__towlower_l'
> ... undefined reference to `__strtod_l'
> ... undefined reference to `__uselocale'
> ... undefined reference to `__strcoll_l'
> ... undefined reference to `__wctype_l'
> ... undefined reference to `__strxfrm_l'
> ... undefined reference to `__wcsftime_l'
> ... undefined reference to `__strtof_l'
> ... undefined reference to `__wcscoll_l'
> ... undefined reference to `__duplocale'
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
More information about the uClibc
mailing list