[vdr] Can't compile vdr. Error in recording.c

krzychp krzychp at tlen.pl
Wed Jun 10 14:30:19 CEST 2009


Hi!
I have kernel 2.6.30 (but on 2.6.29 it happen to).
I use driver for skystar hd s2-liplianin witch patch v4l-dvb-header-fix.diff and conpile break like here.

Can somebody help me?

g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DUSE_CMDRECCMDI18N -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_LIEMIEXT -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_WAREAGLEICON -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVIDEODIR=\"/LMC/PLIKI/VDR\" -DCONFDIR=\"/LMC/CONF/vdrconfig\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"/usr/share/locale\" -DUSE_PLUGINAPI -I/usr/include/freetype2 -I/usr/src/s2-liplianin/linux/include recording.c
recording.c: In constructor ‘cRecording::cRecording(cTimer*, const cEvent*)’:
recording.c:664: error: invalid conversion from ‘const char*’ to ‘char*’
recording.c:665: error: invalid conversion from ‘const char*’ to ‘char*’
recording.c: In constructor ‘cRecording::cRecording(const char*)’:
recording.c:730: error: invalid conversion from ‘const char*’ to ‘char*’
recording.c: In member function ‘void cRecordings::DelByName(const char*)’:
recording.c:1789: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [recording.o] Error 1




More information about the vdr mailing list