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.
Good luck,
Thomas Cameron
CEI Systems, Inc.
-----Original Message-----
From: Mariano Drzazga [
mailto:mad@xxxxxxxxxxxxxx]
Sent: Tuesday, July 08, 2003 4:03 PM
To: uclibc@xxxxxxxxxx
Subject: [uClibc] upnp-igd compling against uclibc
Hi,
I get the following error when I try to compile the upnpsdk-1.0.4
sources using uClibc. I'm using uClibc 0.9.20 (I chroot into the 150MB
ext2 filesystem that I downloaded form www.uclibc.org
Any suggestions would be appreciated.
Thanks in advance
Mariano Drzazga.
make[2]: Entering directory `/home/upnpsdk-1.0.4/src/upnpdom'
g++ -fpic -Wall -D_REENTRANT -O2 -DNO_DEBUG -DINCLUDE_CLIENT_APIS
-DINCLUDE_DEVICE_APIS -c -I ../../inc/upnpdom -I ../inc domCif.cpp In
file included from ../../inc/upnpdom/iostream.h:31,
from domCif.cpp:40:
../../inc/upnpdom/backward_warning.h:32:2: warning: #warning This file
includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated. In file
included from domCif.cpp:40:
../../inc/upnpdom/iostream.h:32:20: iostream: No such file or directory
In file included from domCif.cpp:40:
../../inc/upnpdom/iostream.h:34: error: `iostream' not declared
../../inc/upnpdom/iostream.h:35: error: `ostream' not declared
../../inc/upnpdom/iostream.h:36: error: `istream' not declared
../../inc/upnpdom/iostream.h:37: error: `ios' not declared
../../inc/upnpdom/iostream.h:38: error: `streambuf' not declared
../../inc/upnpdom/iostream.h:40: error: `cout' not declared <snip>
_______________________________________________
uClibc mailing list
uClibc@xxxxxxxxxx
http://codepoet.org/mailman/listinfo/uclibc
Thread at a glance:
Previous Message by Date:
click to view message preview
upnp-igd compling against uclibc
Hi,
I get the following error when I try to compile the upnpsdk-1.0.4
sources using uClibc.
I'm using uClibc 0.9.20 (I chroot into the 150MB ext2 filesystem that I
downloaded form www.uclibc.org
Any suggestions would be appreciated.
Thanks in advance
Mariano Drzazga.
make[2]: Entering directory `/home/upnpsdk-1.0.4/src/upnpdom'
g++ -fpic -Wall -D_REENTRANT -O2 -DNO_DEBUG -DINCLUDE_CLIENT_APIS
-DINCLUDE_DEVICE_APIS -c -I ../../inc/upnpdom -I ../inc domCif.cpp
In file included from ../../inc/upnpdom/iostream.h:31,
from domCif.cpp:40:
../../inc/upnpdom/backward_warning.h:32:2: warning: #warning This file
includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from domCif.cpp:40:
../../inc/upnpdom/iostream.h:32:20: iostream: No such file or directory
In file included from domCif.cpp:40:
../../inc/upnpdom/iostream.h:34: error: `iostream' not declared
../../inc/upnpdom/iostream.h:35: error: `ostream' not declared
../../inc/upnpdom/iostream.h:36: error: `istream' not declared
../../inc/upnpdom/iostream.h:37: error: `ios' not declared
../../inc/upnpdom/iostream.h:38: error: `streambuf' not declared
../../inc/upnpdom/iostream.h:40: error: `cout' not declared
<snip>
Next Message by Date:
click to view message preview
Re: upnp-igd compling against uclibc
Tom,
On Tue, Jul 08, 2003 at 04:45:16PM -0400, tom@xxxxxxxxxxxxxx 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
Previous Message by Thread:
click to view message preview
upnp-igd compling against uclibc
Hi,
I get the following error when I try to compile the upnpsdk-1.0.4
sources using uClibc.
I'm using uClibc 0.9.20 (I chroot into the 150MB ext2 filesystem that I
downloaded form www.uclibc.org
Any suggestions would be appreciated.
Thanks in advance
Mariano Drzazga.
make[2]: Entering directory `/home/upnpsdk-1.0.4/src/upnpdom'
g++ -fpic -Wall -D_REENTRANT -O2 -DNO_DEBUG -DINCLUDE_CLIENT_APIS
-DINCLUDE_DEVICE_APIS -c -I ../../inc/upnpdom -I ../inc domCif.cpp
In file included from ../../inc/upnpdom/iostream.h:31,
from domCif.cpp:40:
../../inc/upnpdom/backward_warning.h:32:2: warning: #warning This file
includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from domCif.cpp:40:
../../inc/upnpdom/iostream.h:32:20: iostream: No such file or directory
In file included from domCif.cpp:40:
../../inc/upnpdom/iostream.h:34: error: `iostream' not declared
../../inc/upnpdom/iostream.h:35: error: `ostream' not declared
../../inc/upnpdom/iostream.h:36: error: `istream' not declared
../../inc/upnpdom/iostream.h:37: error: `ios' not declared
../../inc/upnpdom/iostream.h:38: error: `streambuf' not declared
../../inc/upnpdom/iostream.h:40: error: `cout' not declared
<snip>
Next Message by Thread:
click to view message preview
Re: upnp-igd compling against uclibc
Tom,
On Tue, Jul 08, 2003 at 04:45:16PM -0400, tom@xxxxxxxxxxxxxx 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