[vdr] VDR-on-Mac patches; any more progress
izero79 at gmail.com
Mon Mar 26 07:57:50 CEST 2007
2007/3/26, Torgeir Veimo <torgeir at pobox.com>:
> I'm trying both VDR on Mac approaches, Tero Siironens approach ends on
> g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DLIRC_DEVICE=
> \"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=
> \"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I/sw/include dvbdevice.c
> /sw/include/linux/dvb/video.h:118: error: '__s32' does not name a type
> /sw/include/linux/dvb/video.h:161: error: expected ';' before '*' token
> /sw/include/linux/dvb/video.h:194: error: expected ';' before '*' token
> dvbdevice.c: In member function 'virtual void cDvbDevice::StillPicture
> (const uchar*, int)':
> dvbdevice.c:1154: error: too many initializers for 'video_still_picture'
> dvbdevice.c:1154: error: invalid conversion from 'char*' to 'int32_t'
> dvbdevice.c:1160: error: too many initializers for 'video_still_picture'
> dvbdevice.c:1160: error: invalid conversion from 'char*' to 'int32_t'
> make: *** [dvbdevice.o] Error 1
> - when making in the VDR directory. I had to make a symlink from
> videodev_mac.h to videodev_darwin.h, since I don't have the latter
> (was the dvb-includes-patch.diff patch supposed to create it?), and
> also create an empty /sw/include/linux/compiler.h file.
Yes, my mistake, it should be videodev_darwin.h instead of
videodev_mac.h. I updated the dvb-patch. However I think that I don't
have compiler.h file located there, so there is some differences in
the environment maybe. Actually I was testing the vdr again yesterday,
but had some problems so I gave up, but I will do it today and try to
find out what might be your problem there.
More information about the vdr