RV: [uClibc] upnp-igd compling against uclibc

Mariano Drzazga mdrzazga at ciudad.com.ar
Tue Jul 29 18:21:32 UTC 2003


Hi guys!

Finally I could get compiled the upnpd sources against uClibc 0.9.20

But, in the last line of the compiler output i get :

/usr/lib/gcc-lib/i386-linux/3.3/../../../libstdc++.a(locale.o): In
function `std::locale::global(std::locale const&)':
/home/andersen/CVS/buildroot/toolchain_build_i386/gcc-final/i386-linux/l
ibstdc++-v3/include/bits/basic_string.h:471: the 'setlocale' function
supports only C|POSIX locales

Could you tell me if this is an error or a warning, and if it can be
"workarrounded"?

Thanks again for your responses.

Mariano


-----Mensaje original-----
De: Manuel Novoa III [mailto:mjn3 at codepoet.org] 
Enviado el: Martes, 08 de Julio de 2003 18:00
Para: tom at ceisystems.com
CC: mad at citynet.net.ar; uclibc at uclibc.org
Asunto: Re: [uClibc] upnp-igd compling against uclibc


Tom,

On Tue, Jul 08, 2003 at 04:45:16PM -0400, tom at ceisystems.com wrote:
> Mariano,
> 	I believe it has been posted here that streams are not supported

> under uClibc.  I do not know if they are in the works for a later 
> release, or if there is even a desire to get them to work.  My 
> suggestion would be to attempt to statically compile the uPNP 
> libraries against the standard Glibc, and see where that gets you.

You're confusing the STREAMS functions prototyped in strotps.h with
standard C++ streams.  uClibc doesn't support stropts.h and the
associated STREAMS functions.  However, a uClibc version of libstd++
(say from
buildroot) should support C++ streams.

Manuel




More information about the uClibc mailing list