Error compiling multiproto
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
Google is not very helpful, so, if you have any idea ?
Thank you very much.
David.
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi,
Quoted 15 lines · David BERCOT
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
Signature · 8 lines
Artem Makhutov Unterort Str. 36 D-65760 Eschborn _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 22 lines · Artem Makhutov
Hi,
Quoted 15 lines · David BERCOT
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 2You have to apply this patch to be able to compile multiproto under a 2.6.24 kernel:
Quoted 7 lines
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
OK. Simple ;-)
I have not seen this information :-(
Thank you very much.
David.
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb