News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Plugin don´t compile

Started by GTRDRIVER, May 28, 2006, 14:30:26

Previous topic - Next topic

GTRDRIVER

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

GTRDRIVER

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 ?

MarkC

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?

GTRDRIVER

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 !

Chris

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.