Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Problems compiling plugins.



Which version of the dxr3 plugin you are using? The 0.2.3_pre2 ?
 
Greets, Christian
Maintainer of the dxr3-plugin
----- Original Message -----
From: Peace Monk
Sent: Sunday, August 15, 2004 6:49 AM
Subject: [vdr] Re: Problems compiling plugins.

> >
> > I am getting the following 2 errors that is preventing softdevice and
> > dxr3 from being compiled.
> >
> > make[1]: Entering directory `/usr/local/src/vdr-1.3.12/PLUGINS/src/dxr3'
> > make[1]: *** No rule to make target `libavcodec/avcodec.h', needed by
> > `dxr3.o'.  Stop.
>
>You need to have ffmpeg installed. Please check path in Makefile.

I did fix the path to ffmpeg-0.4.6 in Makefile.  I already have ffmpeg installed via RPM, so I did not compile and isntall again.  I only pointed it to the right source code path. 

Now, when I compile, I get the errors below.  My kernel is 2.6.7.  Please let me know if I need to apply any patch to the plugin to make it work with kernel 2.6.7.

[root@htpc vdr-1.3.12]# make plugins
make[1]: Entering directory `/usr/local/src/vdr-1.3.12/PLUGINS/src/dxr3'
g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"' -DSOCKET_CHMOD=0660 -D_GNU_SOURCE -I../../../include -I../../../../DVB/include -I/usr/local/src/ffmpeg-0.4.6/ dxr3.c
In file included from dxr3osd.h:14,
                from dxr3abstractiondevice.h:17,
                from dxr3syncbuffer.h:15,
                from dxr3demuxdevice.h:14,
                from dxr3device.h:17,
                from dxr3.c:10:
spuenc.h:52: error: syntax error before `*' token
spuenc.h:91: error: `cWindow' was not declared in this scope
spuenc.h:91: error: `win' was not declared in this scope
spuenc.h:91: error: syntax error before `,' token
spuenc.h:93: error: syntax error before `*' token
In file included from dxr3abstractiondevice.h:17,
                from dxr3syncbuffer.h:15,
                from dxr3demuxdevice.h:14,
                from dxr3device.h:17,
                from dxr3.c:10:
dxr3osd.h:16: error: syntax error before `{' token
dxr3osd.h:21: error: `cWindow' was not declared in this scope
dxr3osd.h:21: error: `Window' was not declared in this scope
dxr3osd.h:23: error: syntax error before `protected'
dxr3osd.h:25: error: `cWindow' was not declared in this scope
dxr3osd.h:25: error: `Window' was not declared in this scope
dxr3osd.h:25: error: virtual outside class declaration
dxr3osd.h:25: error: variable or field `CommitWindow' declared void
dxr3osd.h:26: error: `cWindow' was not declared in this scope
dxr3osd.h:26: error: `Window' was not declared in this scope
dxr3osd.h:26: error: virtual outside class declaration
dxr3osd.h:26: error: variable or field `ShowWindow' declared void
dxr3osd.h:27: error: `cWindow' was not declared in this scope
dxr3osd.h:27: error: `Window' was not declared in this scope
dxr3osd.h:27: error: syntax error before `)' token
dxr3osd.h:27: error: virtual outside class declaration
dxr3osd.h:28: error: `cWindow' was not declared in this scope
dxr3osd.h:28: error: `Window' was not declared in this scope
dxr3osd.h:28: error: syntax error before `,' token
dxr3osd.h:28: error: virtual outside class declaration
dxr3osd.h:29: error: `cWindow' was not declared in this scope
dxr3osd.h:29: error: `Window' was not declared in this scope
dxr3osd.h:29: error: virtual outside class declaration
dxr3osd.h:29: error: variable or field `CloseWindow' declared void
dxr3osd.h:31: error: syntax error before `public'
dxr3osd.h:33: error: destructors must be member functions
dxr3osd.h:33: error: virtual outside class declaration
dxr3osd.h:34: error: syntax error before `}' token
In file included from dxr3syncbuffer.h:15,
                from dxr3demuxdevice.h:14,
                from dxr3device.h:17,
                from dxr3.c:10:
dxr3abstractiondevice.h:72: error: syntax error before `*' token
In file included from dxr3device.h:17,
                from dxr3.c:10:
dxr3demuxdevice.h:41: error: syntax error before `*' token
In file included from dxr3.c:10:
dxr3device.h:55: error: ISO C++ forbids declaration of `cOsdBase' with no type
dxr3device.h:55: error: `cOsdBase' declared as a `virtual' field
dxr3device.h:55: error: syntax error before `*' token
../../../include/vdr/device.h:132: warning: `virtual int cDevice::ProvidesCa(const cChannel*) const' was hidden
dxr3device.h:54: warning:  by `virtual int cDxr3Device::ProvidesCa(int)'
make[1]: *** [dxr3.o] Error 1




Home | Main Index | Thread Index