I have trouble with two plugins, burn and mplayer. I've tried to fiend answer all possible places I can think of I now I just have to ask all of you :(
I've got vdr-1.4.4, burn-0.0.5 and mp3-0.9.15. I also have femon-1.1.1 and subtitles0.4.0 which compiles fine together with the default plugins that come with vdr.
I have this output when executing make plugins ..... Plugin burn: make[1]: Entering directory `/root/Lataukset/vdr-1.4.4/PLUGINS/src/burn-0.0.5' g++ -g -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"burn"' -D_GNU_SOURCE -DDVDDEV='"/dev/dvd"' -DISODIR=NULL -I../../../include -I../../../../DVB/include -o burn.o burn.c burn.c:32: error: conflicting return type specified for â ../../../include/vdr/plugin.h:43: error: overriding â burn.c: In member function â: burn.c:58: warning: converting to non-pointer type â from NULL make[1]: *** [burn.o] Error 1 make[1]: Leaving directory `/root/Lataukset/vdr-1.4.4/PLUGINS/src/burn-0.0.5' ..... Plugin mp3: make[1]: Entering directory `/root/Lataukset/vdr-1.4.4/PLUGINS/src/mp3-0.9.15' g++ -O2 -fPIC -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DAPIVERSNUM=10404 -DHAVE_SNDFILE -DHAVE_VORBISFILE -I../../../include mp3.c mp3.c:50:17: error: mad.h: No such file or directory mp3.c: In member function â: mp3.c:1673: error: â was not declared in this scope mp3.c:1674: error: â was not declared in this scope make[1]: *** [mp3.o] Error 1 make[1]: Leaving directory `/root/Lataukset/vdr-1.4.4/PLUGINS/src/mp3-0.9.15' .....
I've used to install my vdr by using ready-made packages by "yum install packagename". Now that I had the problem with stuttering I was to make a small change in dvbplayer.c (#define PLAYERBUFSIZE MEGABYTE(64)) I was forced to do compiling. Well the test is now underway but I dont have those two plugins in use.
Any hints/advice would be appreciated. All requirements should be fullfilled.
\Kartsa
VDR User kirjoitti:
This was actually in the readme. I've missed it somehow. Thanks.
But the burn plugin still won't compile. Plugin burn: make[1]: Entering directory `/root/Lataukset/vdr-1.4.4/PLUGINS/src/burn-0.0.5' g++ -g -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"burn"' -D_GNU_SOURCE -DDVDDEV='"/dev/dvd"' -DISODIR=NULL -I../../../include -I../../../../DVB/include -o burn.o burn.c burn.c:32: error: conflicting return type specified for â ../../../include/vdr/plugin.h:43: error: overriding â burn.c: In member function â: burn.c:58: warning: converting to non-pointer type â from NULL make[1]: *** [burn.o] Error 1 make[1]: Leaving directory `/root/Lataukset/vdr-1.4.4/PLUGINS/src/burn-0.0.5'
\Kartsa
Kartsa wrote:
burn.c:32: error: conflicting return type specified for â ../../../include/vdr/plugin.h:43: error: overriding â
The original plugin.h of VDR has this in line 43:
virtual cString Active(void);
This was introduced on VDR 1.3.47, and conflicts with earlier patches that had this function with bool return type, causing conflicts with some plugins that supported the earlier patches.
In other words: You need to use a plugin version that is compatible with 1.3.47 or newer, or use some patch that fixes this.
This just leaves the question, why the hell does your compiler report the 'Active' identifier as 'â'?
Cheers,
Udo
Halim Sahin kirjoitti:
I thought I had the newest one? Where do I find a newer one? In the README file there is http://www.xeatre.tv/community/burn/ which is supposed to have the latest version available.
\Kartsa
Am Sonntag 28 Januar 2007 17:59 schrieb Kartsa:
Use 0.1.0-pre21:
http://linux.kompiliert.net/contrib/
Cheers Michi