dxr3 plugin compilation error
Commit Message
On Tue, Oct 27, 2009 at 9:10 AM, Damien Bally <biribi@free.fr> wrote:
> Hello
>
> Compilation of dxr3plugin fails (vdr 1.6.0 slackware 13 kernel 2.6.29.6):
>
> make[1]: Entering directory `/home/vdruser/vdr-1.6.0/PLUGINS/src/dxr3-0.2.9'
> g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"dxr3"'
> -D_GNU_SOURCE -DMICROCODE=\"/lib/firmware/em8300.bin\" -DUSE_XINE_SCALER
> -I../../../include -I/usr/local/include -I/usr/local/include/libavcodec
> -I/usr/include dxr3interface.c
> In file included from dxr3interface.c:27:
> /usr/include/linux/dvb/audio.h:79: error: 'uint16_t' does not name a type
> dxr3interface.c: In member function 'void
> cDxr3Interface::SetAspectRatio(uint32_t)':
> dxr3interface.c:451: warning: unused variable 'wssmode'
> make[1]: *** [dxr3interface.o] Error 1
>
> I've been googling with that but found nothing. What's wrong ?
Try this patch:
Comments
Am Tue, 27 Oct 2009 09:31:11 -0700
schrieb VDR User <user.vdr@gmail.com>:
> Try this patch:
>
> --- vdr-1.7.5/vdr.c.orig 2009-04-12 11:05:51.000000000 -0700
> +++ vdr-1.7.5/vdr.c 2009-04-12 11:07:08.000000000 -0700
> @@ -32,6 +32,7 @@
> #include <pwd.h>
> #include <signal.h>
> #include <stdlib.h>
> +#include <linux/types.h>
> #include <sys/capability.h>
> #include <sys/prctl.h>
> #include <termios.h>
#include <stdint.h> should do it too.
Gerald
@@ -32,6 +32,7 @@
#include <pwd.h>
#include <signal.h>
#include <stdlib.h>
+#include <linux/types.h>
#include <sys/capability.h>
#include <sys/prctl.h>
#include <termios.h>