From patchwork Wed Mar 21 13:32:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagaert Johan X-Patchwork-Id: 147987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 66EDBB6F62 for ; Thu, 22 Mar 2012 00:33:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 232F18D1B0; Wed, 21 Mar 2012 13:33:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ITvOUoVGeyAW; Wed, 21 Mar 2012 13:33:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C7ACD8D192; Wed, 21 Mar 2012 13:33:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1B9B78F75B for ; Wed, 21 Mar 2012 13:33:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DD46C8D186 for ; Wed, 21 Mar 2012 13:33:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0fcXt-mK0m7q for ; Wed, 21 Mar 2012 13:33:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by whitealder.osuosl.org (Postfix) with ESMTP id 2571A8D29D for ; Wed, 21 Mar 2012 13:32:49 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAPjXaU9R8RGR/2dsb2JhbABEtn6BCIIKAQEEAQEBBTIcCBALDQMCBgMOEw0BEAcZDgELBg0RAQEEARIIA4gDB7gUjVsBgkJjBI1phUuSUoJogVU Received: from 145.17-241-81.adsl-dyn.isp.belgacom.be (HELO JohanW7) ([81.241.17.145]) by relay.skynet.be with ESMTP; 21 Mar 2012 14:32:48 +0100 From: "Sagaert Johan" To: "'Peter Korsgaard'" , "'Gustavo Zacarias'" References: <20120321130510.D12F095418@busybox.osuosl.org> In-Reply-To: <20120321130510.D12F095418@busybox.osuosl.org> Date: Wed, 21 Mar 2012 14:32:46 +0100 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0HY0cfbjsKzgizRnmkJ87frbUtUgAAsQtg X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609 Cc: buildroot@busybox.net Subject: Re: [Buildroot] [git commit] libupnp: move to version 1.6.14 Not OK X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Hi I have rebuild my small app with the 1.6.15 and also with 1.6.14 : both fail (compile but does not work) In the past i have tried to use a more recent one and got the same problem. I am using httpd from busybox as the http server, and i think its related with that. I do not use the internal http server from libupnp since i need httpd to serve static pages and process cgi-bin. login: upnp_init: UpnpRegisterRootDevice failed with code:-119 upnp_init: UpnpSendAdvertisement failed with code: -100 main: upnp_init failed upnp_cleanup: start upnp_cleanup: UpnpUnRegisterRootDevice failed with code: -100 This is the snippet from my source code : int main(void) { int ret=0; /* General purpose error code */ char locaal_ip[32]; g_device_handle=0; // Register signal and signal handler signal(SIGINT, signal_callback_handler); printf("Dummy Upnp V 1.0.1 starting \n"); /************************************************* * First, initialize the library, with the default * HostIP and port numbers. ***************************************************/ ret = UpnpInit(NULL, 0); if(ret != UPNP_E_SUCCESS) { printf("upnp_init: UpnpInit failed with code: %d\n", ret); return ret; } /******************************************* * Next, set your root web server directory. ********************************************/ ret = UpnpSetWebServerRootDir(WEB_ROOT_DIR); if(ret != UPNP_E_SUCCESS) { printf("upnp_init: UpnpSetWebServerRootDir failed with code: %d\n", ret); return ret; } SNIP ..... -----Oorspronkelijk bericht----- Van: buildroot-bounces@busybox.net [mailto:buildroot-bounces@busybox.net] Namens Peter Korsgaard Verzonden: woensdag 21 maart 2012 13:50 Aan: buildroot@busybox.net Onderwerp: [Buildroot] [git commit] libupnp: move to version 1.6.14 commit: http://git.buildroot.net/buildroot/commit/?id=bfd26038c5eeac1483387598be82c4c22f463de9 branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master As pointed by Sagaert Johan in the mailing list and further testing version 1.6.15 has some issues. So move to version 1.6.14 which is far more stable and compliant. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- ...-no-ipv6.patch => libupnp-1.6.14-no-ipv6.patch} | 0 package/libupnp/libupnp.mk | 2 +- 2 files changed, 1 insertions(+), 1 deletions(-) buildroot mailing list buildroot@busybox.net http://lists.busybox.net/mailman/listinfo/buildroot diff --git a/package/libupnp/libupnp-1.6.15-no-ipv6.patch b/package/libupnp/libupnp-1.6.14-no-ipv6.patch similarity index 100% rename from package/libupnp/libupnp-1.6.15-no-ipv6.patch rename to package/libupnp/libupnp-1.6.14-no-ipv6.patch diff --git a/package/libupnp/libupnp.mk b/package/libupnp/libupnp.mk index 1fa07ca..5ac68c3 100644 --- a/package/libupnp/libupnp.mk +++ b/package/libupnp/libupnp.mk @@ -4,7 +4,7 @@ # ############################################################# -LIBUPNP_VERSION = 1.6.15 +LIBUPNP_VERSION = 1.6.14 LIBUPNP_SOURCE = libupnp-$(LIBUPNP_VERSION).tar.bz2 LIBUPNP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/pupnp/pupnp/libUPnP%20$(LIBUPNP_VERSION) LIBUPNP_CONF_ENV = ac_cv_lib_compat_ftime=no _______________________________________________