On Mon, Jan 12, 2009 at 10:27:42AM +0100, jean-paul at goedee.nl wrote:
>> What must I do to make it work with 64bits system? I?m a simple
>> user with no coding experience.
>
> Could you post your error, I am under x86_64 and only patch I needed was
> one found on vdrportal.de :
> --- tools.c 2009-01-06 23:09:35.000000000 +0100
> +++ tools.c.mod 2009-01-06 23:09:43.000000000 +0100
> @@ -1608,7 +1608,7 @@
> // kind of write gathering enabled), but the syncs
> cause (io) load..
> // Uncomment the next line if you think you need them.
> //fdatasync(fd);
- off_t headdrop = min(curpos - totwritten,
off_t(totwritten * 2));
+ off_t headdrop = min(off_t(curpos - totwritten),
off_t(totwritten * 2));
> posix_fadvise(fd, curpos - totwritten - headdrop,
> totwritten + headdrop, POSIX_FADV_DONTNEED);
> totwritten = 0;
> }
>
> (Well I also use patch to allow more features...).
--
Thanks its compiling but I get now a error with compiling streamdev.
PLUGIN_NAME_I18N='"streamdev"' -I../../../include -I. -o
server/livestreamer.o s erver/livestreamer.c
In file included from server/livestreamer.c:6:
./remux/ts2ps.h:13: error: âMAXTRACKSâ was not declared in this scope
server/livestreamer.c: In member function âbool
cStreamdevLiveStreamer::SetChann el(const
cChannel*, eStreamType, int)â:
server/livestreamer.c:464: error: new initializer expression list
treated as com pound expression
server/livestreamer.c:464: error: no matching function for call to
âcRemux::cRem ux(bool)â
../../../include/vdr/remux.h:25: note: candidates are: cRemux::cRemux()
../../../include/vdr/remux.h:25: note:
cRemux::cRemux(const cRem ux&)
server/livestreamer.c: In member function âvirtual int
cStreamdevLiveStreamer::P ut(const uchar*, int)â:
server/livestreamer.c:506: error: âclass cRemuxâ has no member named âPutâ
server/livestreamer.c: In member function âvirtual uchar*
cStreamdevLiveStreamer ::Get(int&)â:
server/livestreamer.c:530: error: âclass cRemuxâ has no member named âGetâ
server/livestreamer.c: In member function âvirtual void
cStreamdevLiveStreamer:: Del(int)â:
server/livestreamer.c:555: error: âclass cRemuxâ has no member named âDelâ
make[1]: *** [server/livestreamer.o] Error 1
make[1]: Leaving directory `/tmp/vdr/vdr-1.7.3/PLUGINS/src/streamdev'
*** failed plugins: streamdev
make: *** [plugins] Error 1
Thanks
JP