dxr3 plugin compilation error

Message ID a3ef07920910270931v64a6b85cn52268e6c38c13724@mail.gmail.com
State New
Headers

Commit Message

VDRU VDRU Oct. 27, 2009, 4:31 p.m. UTC
  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

Gerald Dachs Oct. 27, 2009, 5:07 p.m. UTC | #1
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
  

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>