[vdr] epgsearch compile problem

Petri Helin phelin at googlemail.com
Mon Feb 1 12:24:40 CET 2010


On Mon, Feb 1, 2010 at 12:53 PM, Pertti Kosunen
<pertti.kosunen at pp.nic.fi> wrote:
> g++ -march=native -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\"
> -D__KERNEL_STRICT_NAMES -DUSE_LIEMIEXT -DUSE_MCLI -DUSE_TTXTSUBS
> -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"'
> -DPLUGIN_NAME_I18N='"epgsearch"' -DHAVE_PCREPOSIX -I/usr/include
> -I/usr/include  conflictcheck.c
> In file included from uservars.h:34,
>                 from confdloader.c:28:
> varparser.h:50: error: ISO C++ forbids declaration of ‘cCommand’ with no
> type
> varparser.h:50: error: expected ‘;’ before ‘*’ token
> varparser.h: In constructor ‘cVarParser::cVarParser()’:
> varparser.h:53: error: class ‘cVarParser’ does not have any field named
> ‘cmd’
> g++ -march=native -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\"
> -D__KERNEL_STRICT_NAMES -DUSE_LIEMIEXT -DUSE_MCLI -DUSE_TTXTSUBS
> -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"'
> -DPLUGIN_NAME_I18N='"epgsearch"' -DHAVE_PCREPOSIX -I/usr/include
> -I/usr/include  conflictcheck_thread.c
> make: *** [confdloader.o] Error 1
> make: *** Waiting for unfinished jobs....
>
>
> varparser.h:50-53:
>    cCommand* cmd;
>    string cmdArgs;
>
>    cVarParser() : cmd(NULL) {}
>
>
> Tested vdr-epgsearch-0.9.25_beta14 & 15 + VDR 1.7.12 @ Gentoo amd64
>

I am pretty sute that's due to the following change:

- The files "commands.conf" and "reccmd.conf" can now contain nested lists of
 commands. See vdr.5 for information about the new file format.

I guess the epgsearch and similar plugins need to adapt to the new
command list implementation.

-Petri



More information about the vdr mailing list