[Buildroot] [PATCH 2/3] gnutls: make it non-wchar friendly

Peter Korsgaard jacmet at uclibc.org
Tue Feb 5 10:17:07 UTC 2013

>>>>> "Gustavo" == Gustavo Zacarias <gustavo at zacarias.com.ar> writes:

 Gustavo> Make gnutls work for non-wchar toolchains.
 Gustavo> It's just a matter of throwing a helping hand to configure.

While this makes gnutls build, it doesn't actually work as there's no
rpl_wctomb implementation so the .so ends up with an undefined reference
to wctomb:

./host/usr/bin/arm-linux-nm -D staging/usr/lib/libgnutls.so.28|grep wctomb
         U wctomb

Causing linker errors for packages trying to use it:

  CCLD   msmtp
host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnutls.so: undefined reference to `wctomb'
collect2: ld returned 1 exit status

So I'll have to revert this.

Bye, Peter Korsgaard

More information about the buildroot mailing list