[vdr] epgsearch compile problem

Pertti Kosunen pertti.kosunen at pp.nic.fi
Mon Feb 1 11:53:32 CET 2010


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



More information about the vdr mailing list