From patchwork Wed Aug 20 14:34:36 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antti Ajanki X-Patchwork-Id: 12667 Received: from nettikaista.hexagonit.fi ([83.146.211.202] helo=mail.nettiviesti.fi) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1KVoll-0003PL-1q for vdr@linuxtv.org; Wed, 20 Aug 2008 16:34:42 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.nettiviesti.fi (Postfix) with ESMTP id 45AD63C284 for ; Wed, 20 Aug 2008 17:34:36 +0300 (EEST) Received: from mail.nettiviesti.fi ([127.0.0.1]) by localhost (nettikaista [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17046-01 for ; Wed, 20 Aug 2008 17:34:35 +0300 (EEST) Received: from [192.168.0.57] (unknown [83.146.213.186]) by mail.nettiviesti.fi (Postfix) with ESMTP for ; Wed, 20 Aug 2008 17:34:35 +0300 (EEST) Message-ID: <48AC2B7C.3050208@iki.fi> Date: Wed, 20 Aug 2008 17:34:36 +0300 From: Antti Ajanki User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: VDR Mailing List References: <20080820103121.GA26943@halim.local> In-Reply-To: <20080820103121.GA26943@halim.local> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at nettiviesti.fi X-LSpam-Score: -2.6 (--) X-LSpam-Report: No, score=-2.6 required=5.0 tests=AWL=0.000, BAYES_00=-2.599 autolearn=ham Subject: Re: [vdr] compile error webvideo-0.0.3 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 14:34:42 -0000 Status: O X-Status: X-Keywords: X-UID: 17571 Halim Sahin wrote: > Hi, > I can't build the plugin. > > > menu.c: In member function ‘int cNavigationMenu::GoToURL(const char*, eLinkType, const char*)’: > menu.c:497: warning: deprecated conversion from string constant to ‘char*’ > In file included from download.c:18: > /usr/include/libmms/mmsx.h:58: error: expected ‘,’ or ‘...’ before ‘this’ > /usr/include/libmms/mmsx.h:60: error: expected ‘,’ or ‘...’ before ‘this’ > /usr/include/libmms/mmsx.h:62: error: expected ‘,’ or ‘...’ before ‘this’ This is a bug in libmms headers. You can apply the attached patch to /usr/include/libmms/mmsx.h. Or, if you don't want to edit system files, replace every occurrence of the string "mmsx" with "mms" in download.c in the plugin sources. In the latter case the plugin loses the ability to automatically try mmsh protocol if mms fails. Index: libmms-0.4/src/mmsx.h =================================================================== --- libmms-0.4.orig/src/mmsx.h 2008-08-04 11:13:49.000000000 +0300 +++ libmms-0.4/src/mmsx.h 2008-08-04 11:14:00.000000000 +0300 @@ -55,11 +55,11 @@ mms_off_t mmsx_get_current_pos (mmsx_t *instance); -uint32_t mmsx_get_asf_header_len (mmsx_t *this); +uint32_t mmsx_get_asf_header_len (mmsx_t *instance); -uint64_t mmsx_get_asf_packet_len (mmsx_t *this); +uint64_t mmsx_get_asf_packet_len (mmsx_t *instance); -int mmsx_get_seekable (mmsx_t *this); +int mmsx_get_seekable (mmsx_t *instance); #ifdef __cplusplus }