Re: gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo

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

 



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
diff -r 93ef35d93d83 linux/sound/pci/bt87x.c
--- a/linux/sound/pci/bt87x.c	Fri Feb 08 14:07:04 2008 -0200
+++ b/linux/sound/pci/bt87x.c	Sat Feb 09 16:09:13 2008 +0100
@@ -28,7 +28,7 @@
 #include <linux/moduleparam.h>
 #include <linux/bitops.h>
 #include <asm/io.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
 #include <sound/driver.h>
 #endif
 #include <sound/core.h>
_______________________________________________
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