* [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo
@ 2008-02-09 12:16 Christian Dürrhauer
2008-02-09 14:52 ` Christian Dürrhauer
0 siblings, 1 reply; 5+ messages in thread
From: Christian Dürrhauer @ 2008-02-09 12:16 UTC (permalink / raw)
To: linux-dvb
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
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo
2008-02-09 12:16 [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo Christian Dürrhauer
@ 2008-02-09 14:52 ` Christian Dürrhauer
2008-02-09 14:58 ` Christian Dürrhauer
0 siblings, 1 reply; 5+ messages in thread
From: Christian Dürrhauer @ 2008-02-09 14:52 UTC (permalink / raw)
To: christian; +Cc: linux-dvb
Christian Dürrhauer wrote:
I add a link to somebody else with the same problem:
http://www.alionet.org/index.php?showtopic=19216
Regards,
Christian
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo
2008-02-09 14:52 ` Christian Dürrhauer
@ 2008-02-09 14:58 ` Christian Dürrhauer
2008-02-09 15:13 ` Jose Alberto Reguero
0 siblings, 1 reply; 5+ messages in thread
From: Christian Dürrhauer @ 2008-02-09 14:58 UTC (permalink / raw)
To: christian; +Cc: linux-dvb
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
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo
2008-02-09 14:58 ` Christian Dürrhauer
@ 2008-02-09 15:13 ` Jose Alberto Reguero
2008-02-09 16:41 ` Christian Dürrhauer
0 siblings, 1 reply; 5+ messages in thread
From: Jose Alberto Reguero @ 2008-02-09 15:13 UTC (permalink / raw)
To: linux-dvb, christian
[-- Attachment #1: Type: text/plain, Size: 2823 bytes --]
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
[-- Attachment #2: bt87x.diff --]
[-- Type: text/x-diff, Size: 423 bytes --]
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>
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo
2008-02-09 15:13 ` Jose Alberto Reguero
@ 2008-02-09 16:41 ` Christian Dürrhauer
0 siblings, 0 replies; 5+ messages in thread
From: Christian Dürrhauer @ 2008-02-09 16:41 UTC (permalink / raw)
To: Jose Alberto Reguero; +Cc: linux-dvb
Jose Alberto Reguero wrote:
>> Christian
>
> I have the same problem with kernel 2.6.24 and current HG. The attached patch
> solve the problem for me.
>
Hi Jose,
thank you. Your patch did the trick.
Can it be put into the next version of bt87x.c in the v4l-dvb-test?
Kind regards,
Christian
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-09 16:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-09 12:16 [linux-dvb] gentoo: v4l-dvb-hg doesn't compile with kernel 2.6.24-gentoo Christian Dürrhauer
2008-02-09 14:52 ` Christian Dürrhauer
2008-02-09 14:58 ` Christian Dürrhauer
2008-02-09 15:13 ` Jose Alberto Reguero
2008-02-09 16:41 ` Christian Dürrhauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox