You are not logged in.

#1 2009-05-03 20:54:12

cine
Member
Registered: 2009-05-03
Posts: 3

VDR won't compile.

Im trying to install vdr from aur with yaourt and I get following error:

In file included from audio.c:12:               
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from dvbdevice.c:10:                                       
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from dvbosd.c:15:                                         
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from eitscan.c:13:                                         
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from vdr.c:45:
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
make: *** Deleting file `.dependencies'

#########

dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
make: *** [audio.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build vdr package.



Can someone help?

Last edited by cine (2009-05-03 20:54:50)

Offline

#2 2009-05-05 11:16:44

patstew
Member
Registered: 2008-08-04
Posts: 10

Re: VDR won't compile.

Offline

#3 2009-05-11 18:10:00

kuksa
Member
Registered: 2007-12-12
Posts: 4

Re: VDR won't compile.

cine wrote:

Im trying to install vdr from aur with yaourt and I get following error:

In file included from audio.c:12:               
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from dvbdevice.c:10:                                       
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from dvbosd.c:15:                                         
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from eitscan.c:13:                                         
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from vdr.c:45:
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
make: *** Deleting file `.dependencies'

#########

dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
make: *** [audio.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build vdr package.



Can someone help?

can you solved this?i have same problem

Offline

#4 2009-05-12 12:15:56

cFirefox
Member
Registered: 2009-03-12
Posts: 26

Re: VDR won't compile.

Me too, exactly the same problem.

Please help!

Offline

#5 2009-05-12 21:57:32

cine
Member
Registered: 2009-05-03
Posts: 3

Re: VDR won't compile.

Thanks for the link, but I couldn't build packages from there either.

I have kernel 2.6.28.8-1 installed and testing repository enabled. I believe taht is not the problem because everything else seems to build just fine eg. mplayer.

Offline

#6 2009-05-14 07:54:10

cFirefox
Member
Registered: 2009-03-12
Posts: 26

Re: VDR won't compile.

I have the stock kernel 2.6.29.3-1 and without the testing repo.
This is also the first time that a program does not compile.

If this problem cannot be solved, does anybody have an alternative (apart from MythTV) for recording DVB-T broadcasts?

Offline

#7 2009-05-14 08:48:37

cine
Member
Registered: 2009-05-03
Posts: 3

Re: VDR won't compile.

One good and easy alternative is Kaffeine for KDE. I have used kde3 version of it before moving to mythtv.

Offline

#8 2009-05-15 15:39:28

Slammer64
Member
From: Ozark Mountains of Missouri
Registered: 2007-07-28
Posts: 113

Re: VDR won't compile.

Problems with compiling might be traced to a buggy gmp 4.3.0 that was in testing, it would cause internal compiler problems, you might try upgrading gmp to 4.3.1 if you are running testing.


Somewhere, just out of sight, the Penguins are gathering!

Offline

#9 2009-05-20 15:30:39

kuksa
Member
Registered: 2007-12-12
Posts: 4

Re: VDR won't compile.

cine wrote:

Im trying to install vdr from aur with yaourt and I get following error:

In file included from audio.c:12:               
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from dvbdevice.c:10:                                       
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from dvbosd.c:15:                                         
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from eitscan.c:13:                                         
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
In file included from vdr.c:45:
dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
make: *** Deleting file `.dependencies'

#########

dvbdevice.h:19:2: error: #error VDR requires Linux DVB driver API version 3!
make: *** [audio.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build vdr package.



Can someone help?

You can change dvbdevice.h's amendment to accept the API version 5 For example, Ubuntu is packaging this patch:

diff -urNad vdr-1.6.0~/dvbdevice.h vdr-1.6.0/dvbdevice.h
--- vdr-1.6.0~/dvbdevice.h     2008-02-08 14:48:31.000000000 +0100
+++ vdr-1.6.0/dvbdevice.h      2009-02-22 10:04:59.000000000 +0100
@@ -15,8 +15,8 @@
 #include "device.h"
 #include "dvbspu.h"

-#if DVB_API_VERSION != 3
-#error VDR requires Linux DVB driver API version 3!
+#if (DVB_API_VERSION != 3) && (DVB_API_VERSION != 5)
+#error VDR requires Linux DVB driver API version 3 or 5!
 #endif

 #define MAXDVBDEVICES  8

Offline

Board footer

Powered by FluxBB