Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: GTRDRIVER on May 28, 2006, 14:30:26

Title: Plugin don´t compile
Post by: GTRDRIVER on May 28, 2006, 14:30:26
Hi

I a other topic i wrote that Vom works well on the Base VDR of my brother - but on my VDR-Machine the VOMP-Plugin dont compile right.

Here are the Error-Messages:

make[1]: Entering directory `/vdr2/VDR/PLUGINS/src/vomp'
In file included from remux/tsremux.h:5,
                 from mvpreceiver.h:29,
                 from mvpclient.h:39,
                 from mvpserver.h:32,
                 from vompserver.c:24:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
In file included from remux/tsremux.h:5,
                 from mvpreceiver.h:29,
                 from mvpclient.h:39,
                 from mvpserver.h:32,
                 from mvpserver.c:21:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
In file included from remux/tsremux.h:5,
                 from mvpreceiver.h:29,
                 from mvpclient.h:39,
                 from mvpclient.c:21:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
In file included from remux/tsremux.h:5,
                 from remux/ts2ps.h:4,
                 from remux/ts2ps.c:1:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
In file included from remux/tsremux.h:5,
                 from remux/ts2es.h:4,
                 from remux/ts2es.c:1:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
In file included from remux/tsremux.h:5,
                 from remux/tsremux.c:1:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
In file included from remux/tsremux.h:5,
                 from mvpreceiver.h:29,
                 from mvpreceiver.c:1:
../../../include/vdr/remux.h:14: warning: No include path in which to find linux/dvb/dmx.h
make[1]: Leaving directory `/vdr2/VDR/PLUGINS/src/vomp'
make[1]: Entering directory `/vdr2/VDR/PLUGINS/src/vomp'
g++ -O2 -Wall -Woverloaded-virtual -Werror -c -DPLUGIN_NAME_I18N='"vompserver"' -I../../../include -I/include -Iremux -Ilibdvbmpeg -o vompserver.o vompserver.c
In file included from remux/tsremux.h:5,
                 from mvpreceiver.h:29,
                 from mvpclient.h:39,
                 from mvpserver.h:32,
                 from vompserver.c:24:
../../../include/vdr/remux.h:14: linux/dvb/dmx.h: No such file or directory
make[1]: *** [vompserver.o] Error 1
make[1]: Leaving directory `/vdr2/VDR/PLUGINS/src/vomp'
make: *** [plugins] Error 2

Perhaps anyone can help me ?

CU
GTR
Title: Re: Plugin don´t compile
Post by: GTRDRIVER on May 28, 2006, 15:59:07
So - after set a Include in Makefile - it goes one step forward - but now i get a other Error:

g++ -O2 -Wall -Woverloaded-virtual -Werror -c -DPLUGIN_NAME_I18N='"vompserver"' -I../../../include -I/include -Iremux -Ilibdvbmpeg -I/vdr/DVB/include -o vompserver.o vompserver.c
In file included from ../../../include/vdr/channels.h:15,
                 from ../../../include/vdr/skins.h:13,
                 from ../../../include/vdr/osdbase.h:15,
                 from ../../../include/vdr/menuitems.h:13,
                 from ../../../include/vdr/plugin.h:14,
                 from vompserver.c:21:
../../../include/vdr/thread.h:55: syntax error before `;'
make[1]: *** [vompserver.o] Error 1
make[1]: Leaving directory `/vdr/VDR/PLUGINS/src/vomp'
make: *** [plugins] Error 2


Any Ideas ?
Title: Re: Plugin don´t compile
Post by: MarkC on May 28, 2006, 21:50:32
It appears that your g++ isn't defining _GNU_SOURCE by default.
Try adding -D_GNU_SOURCE to the CXXFLAGS in the Makefile.

What Linux distribution and g++ version are you using?
Title: Re: Plugin don´t compile
Post by: GTRDRIVER on May 29, 2006, 18:58:27
Yes thats it - but i have to change my LinuxSystem - as i wrote on a other Topic - here on Kernel 2.4.13 and a realy old suse the Plugin dont work very stable.

Same Hardware and VDR Config on a Debian 2.4.34 at my Brothers VDR the Plugins works very stable !
Title: Re: Plugin don´t compile
Post by: Chris on June 09, 2006, 15:40:25
Hi GTRDRIVER, glad to hear your success from the other thread. I have added this GNU_SOURCE thing as a bug, I will investigate and fix it for the next release.