[linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo
Jose Alberto Reguero
jareguero at telefonica.net
Sat Feb 9 16:13:07 CET 2008
El Sábado, 9 de Febrero de 2008, Christian Dürrhauer escribió:
> Christian Dürrhauer wrote:
> > Christian Dürrhauer wrote:
> >
> > I add a link to somebody else with the same problem:
> > http://www.alionet.org/index.php?showtopic=19216
>
> sorry, I didn't get my previous mail now, I see, so I am adding it.
> What went wrong I don't know.
>
> Christian
>
> Hi,
>
> the v4l-dvb-hg doesn't compile with the new kernel 2.6.24-gentoo. I am
> pretty sure I followed the instruction from the vdr-wiki for installing
> the drivers (kernel options). I have just for security rebuild the
> kernel using genkernel --clean --menuconfig all.
>
> As the ebuild is just pulling the source from mercurial, I thought, I
> just leave a message here and maybe somebody can look into it.
>
> CC [M]
> /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/bt87x.o
> CC [M]
> /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/stk-webcam.o
> CC [M]
> /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/stk-sensor.o
> In file included from
> /var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/bt87x.c:34:
> include/sound/core.h:281: error: 'SNDRV_CARDS' undeclared here (not in a
> function)
> make[2]: ***
> [/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l/bt87x.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: ***
> [_module_/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/work/v4l-dvb/v4l]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
> make: *** [default] Error 2
> *
> * ERROR: media-tv/v4l-dvb-hg-0.1-r2 failed.
> * Call stack:
> * ebuild.sh, line 1701: Called dyn_compile
> * ebuild.sh, line 1039: Called qa_call 'src_compile'
> * ebuild.sh, line 44: Called src_compile
> * ebuild.sh, line 1383: Called linux-mod_src_compile
> * linux-mod.eclass, line 519: Called die
> * The specific snippet of code:
> * emake HOSTCC="$(tc-getBUILD_CC)"
> CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \
> * ${BUILD_FIXES} ${BUILD_PARAMS}
> ${BUILD_TARGETS} \
> * || die "Unable to make ${BUILD_FIXES}
> ${BUILD_PARAMS} ${BUILD_TARGETS}."
> * The die message:
> * Unable to make KDIR=/usr/src/linux default.
> *
> * If you need support, post the topmost build error, and the call
> stack if relevant.
> * A complete build log is located at
> '/var/tmp/portage/media-tv/v4l-dvb-hg-0.1-r2/temp/build.log'.
> *
>
> Any help is greatly appreciated! :-)
>
> Kind regards,
>
> Christian
I have the same problem with kernel 2.6.24 and current HG. The attached patch
solve the problem for me.
Jose Alberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bt87x.diff
Type: text/x-diff
Size: 423 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080209/e9cb445b/attachment.diff
More information about the linux-dvb
mailing list