Date: Sun, 26 Feb 2006 23:03:19 GMT From: Catalin Miclaus <catalinm@starcomms.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/93875: linuxigd failed to install from ports for 5.4 Message-ID: <200602262303.k1QN3JPO016221@www.freebsd.org> Resent-Message-ID: <200602262310.k1QNA4ON001155@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93875 >Category: ports >Synopsis: linuxigd failed to install from ports for 5.4 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 26 23:10:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Catalin Miclaus >Release: 5.4 >Organization: Starcomms Ltd. >Environment: root@freebsd# uname -a FreeBSD freebsd.starcomms.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Feb 2 10:44:59 WAT 2006 catalin@freebsd.starcomms.com:/usr/src/sys/i386/compile/02012006 i386 >Description: I am trying to install libunpn and linuxigd for FreeBSD 5.4. First I've installed upnp package from /usr/ports/devel/upnp and it worked (but I suspect problem with this - see below) After this, the second step "cd /usr/ports/net/linuxigd/" and type "make" or even "make clean install" and I receive lots of errors: root@freebsd# ls Makefile distinfo files pkg-descr pkg-plist work root@freebsd# make ===> Building for linuxigd-0.92_2 g++ -O -pipe -Wall -g -O2 -I/usr/local/include -c gate.cpp In file included from sample_util.h:41, from gate.cpp:29: /usr/local/include/upnp/upnp.h:40:18: ixml.h: No such file or directory In file included from /usr/local/include/upnp/upnp.h:41, from sample_util.h:41, from gate.cpp:29: /usr/local/include/upnp/config.h:37:21: ithread.h: No such file or directory In file included from sample_util.h:41, from gate.cpp:29: /usr/local/include/upnp/upnp.h:653: error: ISO C++ forbids declaration of `IXML_Document' with no type /usr/local/include/upnp/upnp.h:653: error: expected `;' before '*' token /usr/local/include/upnp/upnp.h:656: error: ISO C++ forbids declaration of `IXML_Document' with no type /usr/local/include/upnp/upnp.h:656: error: expected `;' before '*' token /usr/local/include/upnp/upnp.h:663: error: ISO C++ forbids declaration of `IXML_Document' with no type /usr/local/include/upnp/upnp.h:663: error: expected `;' before '*' token /usr/local/include/upnp/upnp.h:675: error: ISO C++ forbids declaration of `IXML_Document' with no type /usr/local/include/upnp/upnp.h:675: error: expected `;' before '*' token /usr/local/include/upnp/upnp.h:678: error: ISO C++ forbids declaration of `IXML_Document' with no type /usr/local/include/upnp/upnp.h:678: error: expected `;' before '*' token /usr/local/include/upnp/upnp.h:710: error: `DOMString' does not name a type /usr/local/include/upnp/upnp.h:728: error: `DOMString' does not name a type /usr/local/include/upnp/upnp.h:742: error: ISO C++ forbids declaration of `IXML_Document' with no type /usr/local/include/upnp/upnp.h:742: error: expected `;' before '*' token /usr/local/include/upnp/upnp.h:857: error: `DOMString' does not name a type /usr/local/include/upnp/upnp.h:1418: error: `DOMString' has not been declared /usr/local/include/upnp/upnp.h:1423: error: ISO C++ forbids declaration of `StVarVal' with no type /usr/local/include/upnp/upnp.h:1484: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1485: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1489: error: ISO C++ forbids declaration of `Action' with no type /usr/local/include/upnp/upnp.h:1489: error: ISO C++ forbids declaration of `RespNode' with no type /usr/local/include/upnp/upnp.h:1523: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1526: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1527: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1531: error: ISO C++ forbids declaration of `Header' with no type /usr/local/include/upnp/upnp.h:1531: error: ISO C++ forbids declaration of `Action' with no type /usr/local/include/upnp/upnp.h:1531: error: ISO C++ forbids declaration of `RespNode' with no type /usr/local/include/upnp/upnp.h:1562: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1569: error: ISO C++ forbids declaration of `Action' with no type /usr/local/include/upnp/upnp.h:1600: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1603: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1610: error: ISO C++ forbids declaration of `Header' with no type /usr/local/include/upnp/upnp.h:1610: error: ISO C++ forbids declaration of `Action' with no type /usr/local/include/upnp/upnp.h:1697: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1704: error: ISO C++ forbids declaration of `PropSet' with no type /usr/local/include/upnp/upnp.h:1771: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:1776: error: ISO C++ forbids declaration of `PropSet' with no type /usr/local/include/upnp/upnp.h:2447: error: `IXML_Document' has not been declared /usr/local/include/upnp/upnp.h:2449: error: ISO C++ forbids declaration of `xmlDoc' with no type In file included from gate.cpp:29: sample_util.h:42:34: upnp/tools/upnptools.h: No such file or directory In file included from gate.cpp:29: sample_util.h:44: error: `Upnp_Node' was not declared in this scope sample_util.h:45: error: `Upnp_NodeList' does not name a type sample_util.h:46: error: `Upnp_Node' was not declared in this scope sample_util.h:46: error: expected primary-expression before "char" sample_util.h:46: error: initializer expression list treated as compound expression sample_util.h:47: error: `Upnp_Element' was not declared in this scope sample_util.h:47: error: expected primary-expression before "char" sample_util.h:47: error: initializer expression list treated as compound expression sample_util.h:50: error: `Upnp_Document' was not declared in this scope sample_util.h:50: error: expected primary-expression before "char" sample_util.h:50: error: expected primary-expression before "char" sample_util.h:50: error: expected primary-expression before "char" sample_util.h:50: error: expected primary-expression before "char" sample_util.h:50: error: expected primary-expression before "char" sample_util.h:50: error: initializer expression list treated as compound expression gate.cpp: In member function `int Gate::GateDeviceStateTableInit(char*)': gate.cpp:120: error: `Upnp_Document' undeclared (first use this function) gate.cpp:120: error: (Each undeclared identifier is reported only once for each function it appears in.) gate.cpp:120: error: expected `;' before "DescDoc" gate.cpp:123: error: `DescDoc' undeclared (first use this function) gate.cpp:129: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp: In member function `int Gate::GateDeviceHandleSubscriptionRequest(Upnp_Subscription_Request*)': gate.cpp:136: error: `Upnp_Document' undeclared (first use this function) gate.cpp:136: error: expected `;' before "PropSet" gate.cpp:137: error: `PropSet' undeclared (first use this function) gate.cpp:147: error: `UpnpAddToPropertySet' undeclared (first use this function) gate.cpp:153: error: `UpnpDocument_free' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceHandleGetVarRequest(Upnp_State_Var_Request*)': gate.cpp:182: error: 'struct Upnp_State_Var_Request' has no member named 'CurrentVal' gate.cpp: In member function `int Gate::GateDeviceX(Upnp_Action_Request*)': gate.cpp:274: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp: In member function `int Gate::GateDeviceGetCommonLinkProperties(Upnp_Action_Request*)': gate.cpp:287: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:287: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetTotalBytesSent(Upnp_Action_Request*)': gate.cpp:328: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:328: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetTotalBytesReceived(Upnp_Action_Request*)': gate.cpp:368: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:368: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetTotalPacketsSent(Upnp_Action_Request*)': gate.cpp:406: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:406: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetTotalPacketsReceived(Upnp_Action_Request*)': gate.cpp:444: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:444: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetConnectionTypeInfo(Upnp_Action_Request*)': gate.cpp:464: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:464: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetStatusInfo(Upnp_Action_Request*)': gate.cpp:511: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:511: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetNATRSIPStatus(Upnp_Action_Request*)': gate.cpp:539: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:539: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetExternalIPAddress(Upnp_Action_Request*)': gate.cpp:556: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:556: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceGetGenericPortMappingEntry(Upnp_Action_Request*)': gate.cpp:573: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:573: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:592: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:592: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp:598: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:607: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp: In member function `int Gate::GateDeviceGetSpecificPortMappingEntry(Upnp_Action_Request*)': gate.cpp:623: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:623: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:624: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:624: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:646: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:646: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp:653: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:661: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:669: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp: In member function `int Gate::GateDeviceAddPortMapping(Upnp_Action_Request*)': gate.cpp:687: error: `Upnp_Document' undeclared (first use this function) gate.cpp:687: error: expected `;' before "PropSet" gate.cpp:692: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:692: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:693: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:693: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:694: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:694: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:695: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:695: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:696: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:696: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:723: error: `PropSet' undeclared (first use this function) gate.cpp:723: error: `UpnpCreatePropertySet' undeclared (first use this function) gate.cpp:725: error: `UpnpDocument_free' undeclared (first use this function) gate.cpp:738: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:747: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:755: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:763: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:771: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:771: error: `UpnpParse_Buffer' undeclared (first use this function) gate.cpp: In member function `int Gate::GateDeviceDeletePortMapping(Upnp_Action_Request*)': gate.cpp:791: error: `Upnp_Document' undeclared (first use this function) gate.cpp:791: error: expected `;' before "PropSet" gate.cpp:794: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:794: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:795: error: 'struct Upnp_Action_Request' has no member named 'ActionRequest' gate.cpp:795: error: `SampleUtil_GetFirstDocumentItem' cannot be used as a function gate.cpp:806: error: `PropSet' undeclared (first use this function) gate.cpp:806: error: `UpnpCreatePropertySet' undeclared (first use this function) gate.cpp:808: error: `UpnpDocument_free' undeclared (first use this function) gate.cpp:816: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:824: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:832: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:840: error: 'struct Upnp_Action_Request' has no member named 'ActionResult' gate.cpp:840: error: `UpnpParse_Buffer' undeclared (first use this function) gmake: *** [gate.o] Error 1 *** Error code 2 Stop in /usr/ports/net/linuxigd. >How-To-Repeat: Well this is not hard. I've already re-install FreeBSD 5.4 on another computer and I've got exactly the same error. I will try today with 6.0 maybe it will work. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602262303.k1QN3JPO016221>