Re: [vdr] Help - can't get dvd-plugin to compile!

2007-12-19 Thread Simon Baxter
> 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.

Thanks.  Latest cvs and your suggested changes, and I'm good.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Help - can't get dvd-plugin to compile!

2007-12-19 Thread Ville Skyttä
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 -	1.5
+++ Makefile	19 Dec 2007 19:21:45 -
@@ -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 -	1.32
+++ player-dvd.h	19 Dec 2007 19:21:46 -
@@ -11,6 +11,8 @@
 #ifndef __PLAYER_DVD_H
 #define __PLAYER_DVD_H
 
+#include 
+
 #include 
 #include 
 
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Help - can't get dvd-plugin to compile!

2007-12-19 Thread Simon Baxter
> Have you installed the libc6-dev package btw?

I'm on Fedora, so:
glibc-headers-2.7-2
glibc-common-2.7-2
glibc-2.7-2
glibc-devel-2.7-2



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Help - can't get dvd-plugin to compile!

2007-12-19 Thread Simon Baxter
>
>> [EMAIL PROTECTED] vdr-1.5.12]# make plugins
>> Plugin dvd:
>> make[1]: Entering directory 
>> `/root/vdr-1.5.12/PLUGINS/src/dvd-cvs27.07.07'
>> In file included from /usr/include/dvdread/nav_types.h:33,
>> from /usr/include/dvdnav/dvdnav.h:41,
>> from player-dvd.h:14,
>> from dvd.h:20,
>> from dvd.c:15:
>> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>> > In file included from /usr/include/dvdread/nav_types.h:33,
>> from /usr/include/dvdnav/dvdnav.h:41,
>> from player-dvd.h:14,
>> from player-dvd.c:34:
>> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>> > In file included from /usr/include/dvdread/nav_types.h:33,
>> from /usr/include/dvdnav/dvdnav.h:41,
>> from player-dvd.h:14,
>> from control-dvd.c:21:
>> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>> > In file included from /usr/include/dvdread/nav_types.h:33,
>> from /usr/include/dvdnav/dvdnav.h:41,
>> from player-dvd.h:14,
>> from ca52.c:44:
>> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>> > g++ -g -O2 -Wall -Woverloaded-virtual -fPIC -O3 -c -D_GNU_SOURCE
>> -DPLUGIN_NAME_I18N='"dvd"' -I../../../include -I/usr/include/dvdnav dvd.c
>> In file included from /usr/include/dvdread/nav_types.h:33,
>> from /usr/include/dvdnav/dvdnav.h:41,
>> from player-dvd.h:14,
>> from dvd.h:20,
>> from dvd.c:15:
>> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>> > make[1]: *** [dvd.o] Error 1
>
>
>
>You can try to include stdint.h instead of inttypes.h before the dvdread
>includes.
>
>Jose alberto

This is what I don't understand.  Where should I do this 'include'? 
dvdnav/dvdnav.h? ifo_types.h? player-dvd.h? dvd.h? dvd.c?
Nothing seems to make any difference?? 



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Help - can't get dvd-plugin to compile!

2007-12-19 Thread Jose Alberto Reguero
El Miércoles, 19 de Diciembre de 2007, Simon Baxter escribió:
> 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?
>
>
>
>
> [EMAIL PROTECTED] vdr-1.5.12]# make plugins
> Plugin dvd:
> make[1]: Entering directory `/root/vdr-1.5.12/PLUGINS/src/dvd-cvs27.07.07'
> In file included from /usr/include/dvdread/nav_types.h:33,
> from /usr/include/dvdnav/dvdnav.h:41,
> from player-dvd.h:14,
> from dvd.h:20,
> from dvd.c:15:
> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>  In file included from /usr/include/dvdread/nav_types.h:33,
> from /usr/include/dvdnav/dvdnav.h:41,
> from player-dvd.h:14,
> from player-dvd.c:34:
> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>  In file included from /usr/include/dvdread/nav_types.h:33,
> from /usr/include/dvdnav/dvdnav.h:41,
> from player-dvd.h:14,
> from control-dvd.c:21:
> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>  In file included from /usr/include/dvdread/nav_types.h:33,
> from /usr/include/dvdnav/dvdnav.h:41,
> from player-dvd.h:14,
> from ca52.c:44:
> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>  g++ -g -O2 -Wall -Woverloaded-virtual -fPIC -O3 -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"dvd"' -I../../../include -I/usr/include/dvdnav dvd.c
> In file included from /usr/include/dvdread/nav_types.h:33,
> from /usr/include/dvdnav/dvdnav.h:41,
> from player-dvd.h:14,
> from dvd.h:20,
> from dvd.c:15:
> /usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include
>  make[1]: *** [dvd.o] Error 1
>
>

You can try to include stdint.h instead of inttypes.h before the dvdread 
includes.

Jose alberto



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Help - can't get dvd-plugin to compile!

2007-12-18 Thread VDR User
Have you installed the libc6-dev package btw?

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr