From patchwork Wed Dec 19 19:26:21 2007 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ville_Skytt=C3=A4?= X-Patchwork-Id: 12556 Received: from smtp4.pp.htv.fi ([213.243.153.38]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1J54Yj-0004c3-Qf for vdr@linuxtv.org; Wed, 19 Dec 2007 20:26:25 +0100 Received: from viper.bobcat.mine.nu (cs181043142.pp.htv.fi [82.181.43.142]) by smtp4.pp.htv.fi (Postfix) with ESMTP id 0FA335BC05F for ; Wed, 19 Dec 2007 21:26:24 +0200 (EET) From: Ville =?iso-8859-1?q?Skytt=E4?= To: VDR Mailing List Date: Wed, 19 Dec 2007 21:26:21 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20071123.740460) References: <001801c8295d$b50cee40$6401010a@ad.sytec.com> <04bc01c83fa6$954c5d70$6401010a@ad.sytec.com> <001e01c84208$0a8a5a70$6401010a@ad.sytec.com> In-Reply-To: <001e01c84208$0a8a5a70$6401010a@ad.sytec.com> MIME-Version: 1.0 Message-Id: <200712192126.24158.ville.skytta@iki.fi> Subject: Re: [vdr] Help - can't get dvd-plugin to compile! 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, 19 Dec 2007 19:26:26 -0000 Status: O X-Status: X-Keywords: X-UID: 14865 On Wednesday 19 December 2007, Simon Baxter wrote: > Can anyone please help? I had no response to my last posting - thought I'd > try again! > > I've now rebuilt (again) now with 2.6.23.1-49.fc8 (Fedora Core 8) > > I'm now getting a new error trying to build vdr-dvd (see below) > > I did find this error: > http://qa.mandriva.com/show_bug.cgi?id=35140 > > but I can't work out what I need to add the "#include " ? > > Can anyone help? Did you also try to add -D__STDC_LIMIT_MACROS into CXXFLAGS like the bug report you quote advices? Works for me that way, but I think DEFINES is more appropriate for that than CXXFLAGS, see attached patch. Index: Makefile =================================================================== RCS file: /cvsroot/dvdplugin/dvd/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 2 May 2006 17:52:46 -0000 1.5 +++ Makefile 19 Dec 2007 19:21:45 -0000 @@ -43,7 +43,7 @@ INCLUDES += -I$(VDRDIR)/include -I$(NAVDIR) -DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' +DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -D__STDC_LIMIT_MACROS # to use xine videoout: ifdef POLLTIMEOUTS_BEFORE_DEVICECLEAR Index: player-dvd.h =================================================================== RCS file: /cvsroot/dvdplugin/dvd/player-dvd.h,v retrieving revision 1.32 diff -u -r1.32 player-dvd.h --- player-dvd.h 17 Sep 2007 19:04:43 -0000 1.32 +++ player-dvd.h 19 Dec 2007 19:21:46 -0000 @@ -11,6 +11,8 @@ #ifndef __PLAYER_DVD_H #define __PLAYER_DVD_H +#include + #include #include