|
发表于 2004-10-20 21:14:16
|
显示全部楼层
我编译的时候就出现这样的错误:
QUOTE
Hi guys!Finally I could get compiled the upnpd sources against uClibc 0.9.20But, in the last line of the compiler output i get :/usr/lib/gcc-lib/i386-linux/3.3/../../../libstdc++.a(locale.o): Infunction `std::locale::global(std::locale const&)':/home/andersen/CVS/buildroot/toolchain_build_i386/gcc-final/i386-linux/libstdc++-v3/include/bits/basic_string.h:471: the 'setlocale' functionsupports only C|POSIX localesCould 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:00Para: tom at ceisystems.comCC: mad at citynet.net.ar; uclibc at uclibc.orgAsunto: Re: [uClibc] upnp-igd compling against uclibcTom,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 withstandard C++ streams. uClibc doesn't support stropts.h and theassociated STREAMS functions. However, a uClibc version of libstd++(say frombuildroot) should support C++ streams.Manuel |
|