[vdr] DVD-Plugin compile failure

Simon Baxter linuxtv at nzbaxters.com
Sun Dec 16 06:43:24 CET 2007


>> [root at cyril dvd-0.3.6_b03]# make
>> g++ -g -O2 -Wall -Woverloaded-virtual -fPIC -O3 -c -D_GNU_SOURCE
>> -DPLUGIN_NAME_I18N='"dvd"' -I../../../../DVB/include -I../../../include
>> -I../../../../DVB/include -I/usr/include/dvdnav dvd.c
>> /usr/include/dvdnav/dvdnav.h:367: error: expected ',' or '...' before
>> 'this' make: *** [dvd.o] Error 1
> Bug in that libdvdnav snapshot: 
> http://bugzilla.livna.org/show_bug.cgi?id=1528
>
> A fixed build for FC-6 is on its way but (like you may already know) FC-6 
> will
> go end of life in a couple of weeks so it could be a good idea to upgrade.

OK - 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 <inttypes.h>"  ?

Can anyone help?




[root at cyril 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 
<inttypes.h> or <stdint.h> before any libdvdread header."
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 
<inttypes.h> or <stdint.h> before any libdvdread header."
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 
<inttypes.h> or <stdint.h> before any libdvdread header."
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 
<inttypes.h> or <stdint.h> before any libdvdread header."
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 
<inttypes.h> or <stdint.h> before any libdvdread header."
make[1]: *** [dvd.o] Error 1





More information about the vdr mailing list