Applied the patch. Now get :
[root@nzbaxters VDR]# make In file included from dvbdevice.c:10: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! In file included from dvbosd.h:14, from dvbosd.c:10: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! In file included from eitscan.c:13: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! In file included from vdr.c:40: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! make: *** [.dependencies] Error 1 make: *** Deleting file `.dependencies' [root@nzbaxters VDR]#
----- Original Message ----- From: "Johannes Stezenbach" js@linuxtv.org To: vdr@linuxtv.org Sent: Wednesday, February 16, 2005 5:13 PM Subject: Re: [vdr] VDR working under FC3?
HGM.bg (GMX) wrote:
Linux TV wrote:
Looks like something getting spit out of /usr/include/linux/dvb/video.h , /usr/include/linux/dvb/osd.h and vdr/dvbdevice.c ??
Just remove __user in osd.h (1x) and video.h (1x) and everything is fine, i need this for FC2, too !
The following patch should also work:
--- vdr-1.3.21/Makefile.orig 2005-02-16 18:07:22.000000000 +0100 +++ vdr-1.3.21/Makefile 2005-02-16 18:09:03.000000000 +0100 @@ -68,6 +68,9 @@
DEFINES += -D_GNU_SOURCE
+# backwards compat for DVB API headers on systems with out-of-date linux/compiler.h +DEFINES += -D__user
DEFINES += -DVIDEODIR="$(VIDEODIR)" DEFINES += -DPLUGINDIR="$(PLUGINLIBDIR)"
Johannes
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005