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

Jose Alberto Reguero jareguero at telefonica.net
Wed Dec 19 13:21:18 CET 2007


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 <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.hor <stdint.hbefore 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.hor <stdint.hbefore 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.hor <stdint.hbefore 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.hor <stdint.hbefore 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.hor <stdint.hbefore any libdvdread header."
> make[1]: *** [dvd.o] Error 1
>
>

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

Jose alberto





More information about the vdr mailing list