Re: Another compiling issue em28xx-audio.c (fix)

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

 



On Sat, 2008-01-19 at 00:24 -0800, ewomer@xxxxxxxxxxx wrote:
> im running ubuntu hardy 8.04 with the 2.6.24-4-generic linux kernel based of of the 2.6.24-rc6 linux kerneli get this error running make in the v4l-dvb folder
> 
> make -C /home/eric/build/mercurial/v4l-dvb/v4l 
> make[1]: Entering directory `/home/eric/build/mercurial/v4l-dvb/v4l'
> creating symbolic links...
> Kernel build directory is /lib/modules/2.6.24-4-generic/build
> make -C /lib/modules/2.6.24-4-generic/build SUBDIRS=/home/eric/build/mercurial/v4l-dvb/v4l  modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.24-4-generic'
>   CC [M]  /home/eric/build/mercurial/v4l-dvb/v4l/em28xx-audio.o
> In file included from /home/eric/build/mercurial/v4l-dvb/v4l/em28xx-audio.c:39:
> include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in a function)
> /home/eric/build/mercurial/v4l-dvb/v4l/em28xx-audio.c:58: error: array index in initializer not of integer type
> /home/eric/build/mercurial/v4l-dvb/v4l/em28xx-audio.c:58: error: (near initialization for 'index')
> make[3]: *** [/home/eric/build/mercurial/v4l-dvb/v4l/em28xx-audio.o] Error 1
> make[2]: *** [_module_/home/eric/build/mercurial/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-4-generic'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/eric/build/mercurial/v4l-dvb/v4l'
> make: *** [all] Error 2
> 
> is it another issue like the radio-si470x.c not compiling
> 
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list

place the line
'#include <sound/driver.h>'
before this line
'#include <sound/core.h>'
in the emm28xx-audio.c file


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

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux