I'm trying to compile xine-dvdnav using the latest cvs snapshots of both xine-dvdnav and xine (tried it with a slightly earlier version and with the official xine 0.9.0 release as well, same problem). When the compilation goes into the input/ directory, this happens :
make[2]: Entering directory `/root/dl/xine-dvdnav/input'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -c input_dvdnav.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wp,-MD,.deps/input_dvdnav.pp -c input_dvdnav.c -fPIC -DPIC -o input_dvdnav.lo
In file included from input_dvdnav.c:43:
/usr/local/include/xine/xine_internal.h:33:32: input/input_plugin.h: No such file or directory
/usr/local/include/xine/xine_internal.h:34:28: demuxers/demux.h: No such file or directory
In file included from input_dvdnav.c:43:
/usr/local/include/xine/xine_internal.h:40:39: libspudec/spu_decoder_api.h: No such file or directory
In file included from input_dvdnav.c:43:
/usr/local/include/xine/xine_internal.h:140: parse error before `demux_plugin_t'
/usr/local/include/xine/xine_internal.h:140: warning: no semicolon at end of struct or union
/usr/local/include/xine/xine_internal.h:142: parse error before `*'
/usr/local/include/xine/xine_internal.h:142: warning: type defaults to `int' in declaration of `cur_demuxer_plugin'
/usr/local/include/xine/xine_internal.h:142: warning: data definition has no type or storage class
/usr/local/include/xine/xine_internal.h:182: parse error before `get_next_mrl_cb'
/usr/local/include/xine/xine_internal.h:182: warning: type defaults to `int' in declaration of `get_next_mrl_cb'
/usr/local/include/xine/xine_internal.h:182: warning: data definition has no type or storage class
/usr/local/include/xine/xine_internal.h:183: parse error before `branched_cb'
/usr/local/include/xine/xine_internal.h:183: warning: type defaults to `int' in declaration of `branched_cb'
/usr/local/include/xine/xine_internal.h:183: warning: data definition has no type or storage class
/usr/local/include/xine/xine_internal.h:192: parse error before `}'
/usr/local/include/xine/xine_internal.h:209: parse error before `gui_get_next_mrl_cb_t'
input_dvdnav.c: In function `cell_boundary_cb':
input_dvdnav.c:144: `ui_event_t' undeclared (first use in this function)
input_dvdnav.c:144: (Each undeclared identifier is reported only once
input_dvdnav.c:144: for each function it appears in.)
input_dvdnav.c:144: parse error before `uevent'
input_dvdnav.c:164: `uevent' undeclared (first use in this function)
input_dvdnav.c:164: `XINE_UI_EVENT' undeclared (first use in this function)
input_dvdnav.c:165: `XINE_UI_UPDATE_CHANNEL' undeclared (first use in this function)
input_dvdnav.c: In function `event_listener':
input_dvdnav.c:470: `XINE_UI_EVENT' undeclared (first use in this function)
input_dvdnav.c:472: `ui_event_t' undeclared (first use in this function)
input_dvdnav.c:472: `uevent' undeclared (first use in this function)
input_dvdnav.c:472: parse error before `)'
input_dvdnav.c:475: `XINE_UI_GET_SPU_LANG' undeclared (first use in this function)
input_dvdnav.c:478: dereferencing pointer to incomplete type
input_dvdnav.c:488: `XINE_UI_GET_AUDIO_LANG' undeclared (first use in this function)
input_dvdnav.c:491: dereferencing pointer to incomplete type
input_dvdnav.c:478: warning: unreachable code at beginning of switch statement
input_dvdnav.c:503: confused by earlier errors, bailing out
make[2]: *** [input_dvdnav.lo] Error 1
make[2]: Leaving directory `/root/dl/xine-dvdnav/input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dl/xine-dvdnav'
make: *** [all-recursive-am] Error 2
[root@localhost xine-dvdnav]#
I've checked the xine *.h files and nowhere do I see things like ui_event_t, etc. Any ideas where they are or what's going wrong?
I'm on a RH7.1 box, kernel 2.4, XFree86 4.1.0, xine 0.9.0 / CVS installed (tried both).
TIA,
-Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With the latest version of xine cvs, 0.9.9, the compile and install must happen in this order.
xine-lib (after installing this, a "ldconfig" must be run as root.
xine-ui
libdvdcss (if you have it)
libdvdread (from the ogle site, see link from http://dvd.sf.net\)
libdvdnav (from dvd.sf.net cvs)
xine-dvdnav (from dvd.sf.net cvs)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
I'm trying to compile xine-dvdnav using the latest cvs snapshots of both xine-dvdnav and xine (tried it with a slightly earlier version and with the official xine 0.9.0 release as well, same problem). When the compilation goes into the input/ directory, this happens :
make[2]: Entering directory `/root/dl/xine-dvdnav/input'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -c input_dvdnav.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops -finline-functions -mcpu=pentiumpro -Wall -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wp,-MD,.deps/input_dvdnav.pp -c input_dvdnav.c -fPIC -DPIC -o input_dvdnav.lo
In file included from input_dvdnav.c:43:
/usr/local/include/xine/xine_internal.h:33:32: input/input_plugin.h: No such file or directory
/usr/local/include/xine/xine_internal.h:34:28: demuxers/demux.h: No such file or directory
In file included from input_dvdnav.c:43:
/usr/local/include/xine/xine_internal.h:40:39: libspudec/spu_decoder_api.h: No such file or directory
In file included from input_dvdnav.c:43:
/usr/local/include/xine/xine_internal.h:140: parse error before `demux_plugin_t'
/usr/local/include/xine/xine_internal.h:140: warning: no semicolon at end of struct or union
/usr/local/include/xine/xine_internal.h:142: parse error before `*'
/usr/local/include/xine/xine_internal.h:142: warning: type defaults to `int' in declaration of `cur_demuxer_plugin'
/usr/local/include/xine/xine_internal.h:142: warning: data definition has no type or storage class
/usr/local/include/xine/xine_internal.h:182: parse error before `get_next_mrl_cb'
/usr/local/include/xine/xine_internal.h:182: warning: type defaults to `int' in declaration of `get_next_mrl_cb'
/usr/local/include/xine/xine_internal.h:182: warning: data definition has no type or storage class
/usr/local/include/xine/xine_internal.h:183: parse error before `branched_cb'
/usr/local/include/xine/xine_internal.h:183: warning: type defaults to `int' in declaration of `branched_cb'
/usr/local/include/xine/xine_internal.h:183: warning: data definition has no type or storage class
/usr/local/include/xine/xine_internal.h:192: parse error before `}'
/usr/local/include/xine/xine_internal.h:209: parse error before `gui_get_next_mrl_cb_t'
input_dvdnav.c: In function `cell_boundary_cb':
input_dvdnav.c:144: `ui_event_t' undeclared (first use in this function)
input_dvdnav.c:144: (Each undeclared identifier is reported only once
input_dvdnav.c:144: for each function it appears in.)
input_dvdnav.c:144: parse error before `uevent'
input_dvdnav.c:164: `uevent' undeclared (first use in this function)
input_dvdnav.c:164: `XINE_UI_EVENT' undeclared (first use in this function)
input_dvdnav.c:165: `XINE_UI_UPDATE_CHANNEL' undeclared (first use in this function)
input_dvdnav.c: In function `event_listener':
input_dvdnav.c:470: `XINE_UI_EVENT' undeclared (first use in this function)
input_dvdnav.c:472: `ui_event_t' undeclared (first use in this function)
input_dvdnav.c:472: `uevent' undeclared (first use in this function)
input_dvdnav.c:472: parse error before `)'
input_dvdnav.c:475: `XINE_UI_GET_SPU_LANG' undeclared (first use in this function)
input_dvdnav.c:478: dereferencing pointer to incomplete type
input_dvdnav.c:488: `XINE_UI_GET_AUDIO_LANG' undeclared (first use in this function)
input_dvdnav.c:491: dereferencing pointer to incomplete type
input_dvdnav.c:478: warning: unreachable code at beginning of switch statement
input_dvdnav.c:503: confused by earlier errors, bailing out
make[2]: *** [input_dvdnav.lo] Error 1
make[2]: Leaving directory `/root/dl/xine-dvdnav/input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dl/xine-dvdnav'
make: *** [all-recursive-am] Error 2
[root@localhost xine-dvdnav]#
I've checked the xine *.h files and nowhere do I see things like ui_event_t, etc. Any ideas where they are or what's going wrong?
I'm on a RH7.1 box, kernel 2.4, XFree86 4.1.0, xine 0.9.0 / CVS installed (tried both).
TIA,
-Paul
With the latest version of xine cvs, 0.9.9, the compile and install must happen in this order.
xine-lib (after installing this, a "ldconfig" must be run as root.
xine-ui
libdvdcss (if you have it)
libdvdread (from the ogle site, see link from http://dvd.sf.net\)
libdvdnav (from dvd.sf.net cvs)
xine-dvdnav (from dvd.sf.net cvs)
I got this error when I was missing the X11 Development files.