Woops, replay-to-all issues ;-)
---------- Forwarded message ---------- From: mike lewis lachlanlewis@gmail.com Date: Mon, 14 Feb 2005 15:39:37 +0800 Subject: Re: [vdr] [ANNOUNCE] vdr-xine-0.7.1 plugin To: Reinhard Nissl rnissl@gmx.de
Hello,
Thanks for the great work on this plugin Reinhard. However, I um unable to build it.. I have removed the old xine-lib and installed the cvs cheout you link to, as well as the new xine-ui. When I try to do "make plugins" I get the following error in xinelib.. Can anyone help diagnose?
g++ -O2 -g -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR="/tmp/vdr-xine" `xine-config --cflags` -I../../../include -I../../../../linuxtv-dvb-1.0.1/include xineLib.c xineLib.c: In member function `bool PluginXine::cXineLib::execFuncNop()': xineLib.c:2100: error: `data_nop_t' undeclared (first use this function) xineLib.c:2100: error: (Each undeclared identifier is reported only once for each function it appears in.) xineLib.c:2100: error: parse error before `;' token xineLib.c:2101: error: `data' undeclared (first use this function) xineLib.c:2101: error: `func_nop' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncSetPrebuffer(int)': xineLib.c:2330: error: parse error before `;' token xineLib.c:2331: error: `func_set_prebuffer' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncStart()': xineLib.c:2485: error: parse error before `;' token xineLib.c:2486: error: `func_start' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdNew(int, int, int, int, int)': xineLib.c:2513: error: parse error before `;' token xineLib.c:2514: error: `func_osd_new' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncSetColor(int, int, int, uint32_t*)': xineLib.c:2589: error: parse error before `;' token xineLib.c:2590: error: `func_set_color' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdDrawBitmap(int, uint8_t*, int, int, int, int, int)': xineLib.c:2623: error: parse error before `;' token xineLib.c:2624: error: `func_osd_draw_bitmap' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdSetPosition(int, int, int)': xineLib.c:2675: error: parse error before `;' token xineLib.c:2676: error: `func_osd_set_position' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdShow(int) ': xineLib.c:2708: error: parse error before `;' token xineLib.c:2709: error: `func_osd_show' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdHide(int) ': xineLib.c:2739: error: parse error before `;' token xineLib.c:2740: error: `func_osd_hide' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdFlush()': xineLib.c:2770: error: parse error before `;' token xineLib.c:2771: error: `func_osd_flush' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncOsdFree(int) ': xineLib.c:2796: error: parse error before `;' token xineLib.c:2797: error: `func_osd_free' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncClear()': xineLib.c:2825: error: parse error before `;' token xineLib.c:2826: error: `func_clear' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncFirstFrame() ': xineLib.c:2850: error: parse error before `;' token xineLib.c:2851: error: `func_first_frame' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncResetAudio() ': xineLib.c:2876: error: parse error before `;' token xineLib.c:2877: error: `func_reset_audio' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncFlush(int, bool)': xineLib.c:2900: error: parse error before `;' token xineLib.c:2901: error: `func_flush' undeclared (first use this function) xineLib.c:2908: error: `result_union_t' undeclared (first use this function) xineLib.c:2908: error: parse error before `;' token xineLib.c:2910: error: `resultUnion' undeclared (first use this function) xineLib.c:2917: error: `result_flush_t' undeclared (first use this function) xineLib.c:2917: error: `result' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncMute(bool)': xineLib.c:2947: error: parse error before `;' token xineLib.c:2948: error: `func_mute' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncSetVolume(int)': xineLib.c:2978: error: parse error before `;' token xineLib.c:2979: error: `func_set_volume' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncSetSpeed(double)': xineLib.c:3004: error: parse error before `;' token xineLib.c:3005: error: `func_set_speed' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncMetronom(long long int, unsigned int)': xineLib.c:3051: error: parse error before `;' token xineLib.c:3052: error: `func_metronom' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncWait()': xineLib.c:3081: error: parse error before `;' token xineLib.c:3082: error: `func_wait' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncSetup()': xineLib.c:3109: error: parse error before `;' token xineLib.c:3110: error: `func_setup' undeclared (first use this function) xineLib.c:3118: error: `INPUT_VDR_MUTE_IGNORE' undeclared (first use this function) xineLib.c:3119: error: `INPUT_VDR_MUTE_EXECUTE' undeclared (first use this function) xineLib.c:3120: error: `INPUT_VDR_MUTE_SIMULATE' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncGrabImage(const char*, bool, int, int, int)': xineLib.c:3179: error: parse error before `;' token xineLib.c:3180: error: `func_grab_image' undeclared (first use this function) xineLib.c:3185: error: parse error before `;' token xineLib.c:3194: error: `result_grab_image_t' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncGetPTS(int64_t&)': xineLib.c:3348: error: parse error before `;' token xineLib.c:3349: error: `func_get_pts' undeclared (first use this function) xineLib.c:3354: error: parse error before `;' token xineLib.c:3363: error: `result_get_pts_t' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncVideoSize(int&, int&, int&, int&)': xineLib.c:3388: error: parse error before `;' token xineLib.c:3389: error: `func_video_size' undeclared (first use this function) xineLib.c:3394: error: parse error before `;' token xineLib.c:3403: error: `result_video_size_t' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncSetVideoWindow(int, int, int, int, int, int)': xineLib.c:3431: error: parse error before `;' token xineLib.c:3432: error: `func_set_video_window' undeclared (first use this function) xineLib.c: In member function `bool PluginXine::cXineLib::execFuncPlayExternal(const char*)': xineLib.c:3466: error: parse error before `;' token xineLib.c:3467: error: `func_play_external' undeclared (first use this function) make[1]: *** [xineLib.o] Error 1 make[1]: Leaving directory `/build/vdr-1.3.20/PLUGINS/src/xine' make: *** [plugins] Error 2
Xine is tested and working...
Mick
Hi,
mike lewis wrote:
Thanks for the great work on this plugin Reinhard. However, I um unable to build it.. I have removed the old xine-lib and installed the cvs cheout you link to, as well as the new xine-ui. When I try to do "make plugins" I get the following error in xinelib.. Can anyone help diagnose?
g++ -O2 -g -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR="/tmp/vdr-xine" `xine-config --cflags` -I../../../include -I../../../../linuxtv-dvb-1.0.1/include xineLib.c xineLib.c: In member function `bool PluginXine::cXineLib::execFuncNop()': xineLib.c:2100: error: `data_nop_t' undeclared (first use this function)
Did you do a "make install" for xine-lib?
It looks like current input_vdr.h is not on your include path.
Another possible reason: the vdr-xine Makefile chooses a wrong xine-config and therefore a wrong include path is choosen.
Bye.
the cvs cheout you link to, as well as the new xine-ui. When I try to do "make plugins" I get the following error in xinelib.. Can anyone help diagnose?
g++ -O2 -g -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR="/tmp/vdr-xine" `xine-config --cflags` -I../../../include -I../../../../linuxtv-dvb-1.0.1/include xineLib.c xineLib.c: In member function `bool PluginXine::cXineLib::execFuncNop()': xineLib.c:2100: error: `data_nop_t' undeclared (first use this function)
Did you do a "make install" for xine-lib?
Yes
It looks like current input_vdr.h is not on your include path.
This sounds plausible ;-)
Another possible reason: the vdr-xine Makefile chooses a wrong xine-config and therefore a wrong include path is choosen.
OK, xine-config? Where can I find more about this file? I havn't set one up but maybe gentoo has?
Thanks
Mick
Hi,
mike lewis wrote:
the cvs cheout you link to, as well as the new xine-ui. When I try to do "make plugins" I get the following error in xinelib.. Can anyone help diagnose?
g++ -O2 -g -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR="/tmp/vdr-xine" `xine-config --cflags` -I../../../include -I../../../../linuxtv-dvb-1.0.1/include xineLib.c xineLib.c: In member function `bool PluginXine::cXineLib::execFuncNop()': xineLib.c:2100: error: `data_nop_t' undeclared (first use this function)
Did you do a "make install" for xine-lib?
Yes
It looks like current input_vdr.h is not on your include path.
This sounds plausible ;-)
Another possible reason: the vdr-xine Makefile chooses a wrong xine-config and therefore a wrong include path is choosen.
OK, xine-config? Where can I find more about this file? I havn't set one up but maybe gentoo has?
xine-config is part of xine-lib and should have been installed to a "bin" directory (e. g. /usr/local/bin).
xine-config is used in vdr-xine's Makefile to determine the include path for input_vdr.h. When xine-config is invoked like that:
xine-config --cflags
then it's output is like that:
-I/usr/local/include
Bye.
OK, I'm a little lost now..
--- freevo vdr-1.3.20 # xine-config --cflags -I/usr/local/include --- freevo include # ls -lah /usr/local/include total 104K drwxr-xr-x 8 root root 4.0K Feb 15 21:18 . drwxr-xr-x 13 root root 4.0K Nov 17 20:17 .. drwxr-xr-x 4 root root 4.0K Oct 26 17:40 directfb drwxr-xr-x 10 root root 4.0K Oct 26 17:40 directfb-internal drwxr-xr-x 2 root root 4.0K Mar 13 2004 libdxr3 drwxr-xr-x 2 root root 4.0K Oct 14 22:00 lirc lrwxr-xr-x 1 root root 21 Dec 3 20:38 mpeg2dec -> /usr/include/mpeg2dec drwxr-xr-x 2 root root 4.0K Aug 19 23:43 python2.3 drwxr-xr-x 2 root root 4.0K Feb 15 21:21 xine -rw-r--r-- 1 root root 66K Feb 15 21:18 xine.h --- freevo vdr-1.3.20 # locate input_vdr.h /usr/local/include/xine/input_vdr.h /build/xine-lib/src/vdr/input_vdr.h --- These are all good. It meants the files are where they are meant to be, but which does not show the same: freevo vdr-1.3.20 # which input_vdr.h which: no input_vdr.h in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin) ---
OK, so I change my path: freevo vdr-1.3.20 # declare -x PATH="/usr/local/include:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gccn/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin" freevo vdr-1.3.20 # echo $PATH /usr/local/include:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gccn/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin --- But I still get the same error...
BTW, locate xine-config shows only two, and both are the same.. freevo vdr-1.3.20 # locate xine-config /usr/local/bin/xine-config /usr/local/share/man/man1/xine-config.1 /build/xine-lib/doc/man/en/xine-config.1 /build/xine-lib/misc/xine-config.in /build/xine-lib/misc/xine-config freevo vdr-1.3.20 # diff /usr/local/bin/xine-config /build/xine-lib/misc/xine-config freevo vdr-1.3.20 #
Mick
Hi,
mike lewis wrote:
freevo vdr-1.3.20 # xine-config --cflags -I/usr/local/include
ok.
freevo vdr-1.3.20 # locate input_vdr.h /usr/local/include/xine/input_vdr.h /build/xine-lib/src/vdr/input_vdr.h
Do these two files have the same content?
Do these two files have a size of 7627 each?
freevo vdr-1.3.20 # which input_vdr.h which: no input_vdr.h in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin)
I think you got me wrong ;-)
input_vdr.h is no binary and therefore it's not in a "bin" directory. It's ok that which doesn't find it.
xine-config should be on your path, so
which xine-config
should give you
/usr/local/bin/xine-config
In my previous email I ment, that the compiler option "-I/usr/local/include" adds this directory (= path) to the compiler's search list for include files.
Bye.