Re: error compiling vdr 1.7.7 (frontend.h - '__u8' does not name a type)

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

 



On 28.05.2009 16:49, VDR User wrote:
> Or you may also just do this:
> 
> --- vdr.c.orig        2009-04-12 11:05:51.000000000 -0700
> +++ 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>

I don't see how this would make any difference, since the problem
is in compiling dvbdevice.c, not vdr.c

>From the suggestion in

  http://e-tobi.net/websvn/filedetails.php?repname=vdr-pkg&path=%2Fvdr%2Fbranches%2Fdevel%2Fdebian%2Fpatches%2F99_dvb-header-fixes.dpatch

posted earlier in this thread I found that this

--- dvbdevice.h 2009/05/08 13:33:46     2.5
+++ dvbdevice.h 2009/06/01 11:20:32
@@ -10,6 +10,7 @@
 #ifndef __DVBDEVICE_H
 #define __DVBDEVICE_H

+#include <sys/mman.h> // FIXME: workaround for broken linux-dvb header files
 #include <linux/dvb/frontend.h>
 #include <linux/dvb/version.h>
 #include "device.h"


alone fixes the problem (tested with the latest driver from http://linuxtv.org/hg/v4l-dvb).

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux