[linux-dvb] Another compiling issue em28xx-audio.c

ewomer at charter.net ewomer at charter.net
Sat Jan 19 09:24:26 CET 2008

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

More information about the linux-dvb mailing list