Pb UpnpInit()

"zze-THULEAU Edouard RD-RESA-LAN" <[email protected]> Thu, 18 May 2006 18:23:07 +0200
Newsgroups gmane.linux.upnp-sdk.general
Message-ID <BAF83494CE653943A97B9F755016A066031FEDA8@ftrdmel1.rd.francetelecom.fr>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C67A97.59357EA1
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hello,
I cross compil the libupnp-1.3.1 for an architecture armv5b/xscale on
linux with uclibc.
The compilation is ok.
I use this configure option :

./configure --host=3Darmv5b-xscale-linux-uclibc && make

i've only this warning :
configure: WARNING: If you wanted to set the --build type, don't use
--host.
    If a cross compiler is detected then cross compile mode will be
used.

But when I taste the prog test_init.c, i've a pb :

UPNP_VERSION_STRING =3D "1.3.1"
UPNP_VERSION_MAJOR  =3D 1
UPNP_VERSION_MINOR  =3D 3
UPNP_VERSION_PATCH  =3D 1
UPNP_VERSION        =3D 10301

UPNP_HAVE_DEBUG         =3D yes
UPNP_HAVE_CLIENT        =3D yes
UPNP_HAVE_DEVICE        =3D yes
UPNP_HAVE_WEBSERVER     =3D yes
UPNP_HAVE_TOOLS         =3D yes

Intializing UPnP ...
** ERROR UpnpInit(): -208 Unknown Error

I try with an alder version (1.2.1a) but I've the same error.
Any idea ?

Can you help me ??


------_=_NextPart_001_01C67A97.59357EA1
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7638.1">
<TITLE>Pb UpnpInit()</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">I cross compil the libupnp-1.3.1 for =
an architecture armv5b/xscale on linux with uclibc.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">The compilation is ok.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">I use this configure option :</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">./configure =
--host=3Darmv5b-xscale-linux-uclibc &amp;&amp; make</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">i've only this warning :</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">configure: WARNING: If you wanted to =
set the --build type, don't use --host.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; If a cross compiler =
is detected then cross compile mode will be used.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">But when I taste the prog test_init.c, =
i've a pb :</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">UPNP_VERSION_STRING =3D =
&quot;1.3.1&quot;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">UPNP_VERSION_MAJOR&nbsp; =3D 1</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">UPNP_VERSION_MINOR&nbsp; =3D 3</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">UPNP_VERSION_PATCH&nbsp; =3D 1</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">UPNP_VERSION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3D 10301</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">UPNP_HAVE_DEBUG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; =3D yes</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">UPNP_HAVE_CLIENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 =3D yes</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">UPNP_HAVE_DEVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 =3D yes</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">UPNP_HAVE_WEBSERVER&nbsp;&nbsp;&nbsp;&nbsp; =3D =
yes</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">UPNP_HAVE_TOOLS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; =3D yes</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Intializing UPnP ...</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">** ERROR UpnpInit(): -208 Unknown =
Error</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I try with an alder version (1.2.1a) =
but I've the same error.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Any idea ?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Can you help me ??</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C67A97.59357EA1--


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642