[linux-dvb] Error compiling multiproto

Artem Makhutov artem at makhutov.org
Mon Feb 18 15:21:16 CET 2008


Hi,

On Mon, Feb 18, 2008 at 01:50:27PM +0100, David BERCOT wrote:
> Hi,
> 
> After a clean install, I try to compile multiproto. But, after the
> "make", I have this error :
> In file included from /opt/dvb/multiproto/v4l/em28xx-audio.c:39:
> include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in
> a function) /opt/dvb/multiproto/v4l/em28xx-audio.c:58: error: array
> index in initializer not of integer
> type /opt/dvb/multiproto/v4l/em28xx-audio.c:58: error: (near
> initialization for 'index') make[3]: ***
> [/opt/dvb/multiproto/v4l/em28xx-audio.o] Error 1 make[2]: ***
> [_module_/opt/dvb/multiproto/v4l] Error 2 make[2]: Leaving directory
> `/usr/src/linux-headers-2.6.24-1-amd64' make[1]: *** [default] Erreur 2
> make[1]: quittant le répertoire « /opt/dvb/multiproto/v4l » make: ***
> [all] Erreur 2

You have to apply this patch to be able to compile multiproto under a
2.6.24 kernel:

http://linuxtv.org/hg/v4l-dvb/rev/b0815101889d

Patch download link:

http://linuxtv.org/hg/v4l-dvb/raw-diff/b0815101889d/v4l/compat.h

Regards, Artem

-- 
Artem Makhutov
Unterort Str. 36
D-65760 Eschborn



More information about the linux-dvb mailing list