I've built a new VDR box, and can't get the dvd plugin to compile.
kernel=2.6.22.9-61.fc6 libdvdnav-0.1.10-3.20070503.lvn6 libdvdnav-devel-0.1.10-3.20070503.lvn6 libdvdcss-1.2.9-4.lvn6 libdvdcss-devel-1.2.9-4.lvn6 libdvdread-0.9.7-2.fc6 libdvdread-devel-0.9.7-2.fc6
[root@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
any ideas?
On Saturday 17 November 2007, Simon Baxter wrote:
I've built a new VDR box, and can't get the dvd plugin to compile.
kernel=2.6.22.9-61.fc6 libdvdnav-0.1.10-3.20070503.lvn6 libdvdnav-devel-0.1.10-3.20070503.lvn6 libdvdcss-1.2.9-4.lvn6 libdvdcss-devel-1.2.9-4.lvn6 libdvdread-0.9.7-2.fc6 libdvdread-devel-0.9.7-2.fc6
[root@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
any ideas?
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.
[root@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@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
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@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
Have you installed the libc6-dev package btw?
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@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
[root@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
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??
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 <inttypes.h>" ?
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.
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 <inttypes.h>" ?
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.