[uClibc]Compiling Xmail.
Manuel Novoa III
mjn3 at codepoet.org
Sun May 25 18:28:31 UTC 2003
On Sun, May 25, 2003 at 08:11:07PM +0200, Henri van Riel wrote:
> I got the STLport sources, applied the patch from the tarball and
> build the lib myself using the wrapper. I had to compile uClibc with
> wide-char support though, don't know why that is.
libstl++ uses some of the mb<->wc conversion funcs, which are only
supplied in uClibc if wide char support is enabled.
> Eventually I got the libstdc++ library. Not in the toolchain though
> but in the wrapper and I tried to build Xmail. Compilation went ok but
> linking is a problem:
>
> /usr/i386-linux-uclibc/lib/libstdc++.so: the 'setlocale' function supports only C|POSIX locales
> /usr/i386-linux-uclibc/lib/libstdc++.so: undefined reference to `hypot'
> collect2: ld returned 1 exit status
>
> Could anybody tell me what the problem is here, or better, how to
> solve it?
hypot lives in libm, so try adding -lm to the link.
Manuel
More information about the uClibc
mailing list