View previous topic :: View next topic |
Author |
Message |
chromaf Tux's lil' helper
Joined: 29 Sep 2013 Posts: 79
|
Posted: Wed Oct 16, 2013 12:46 pm Post subject: Kernel fails to compile UVC module |
|
|
Hi guys, trying to compile kernel with the UVC VIDEO driver integrated on the kernel, not module and it drops me this error
Code: |
* Gentoo Linux Genkernel; Version 3.4.45.1
* Running with options: --no-clean --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
* Linux Kernel 3.10.7-gentoo-r1 for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-3.10.7-gentoo-r1
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
* kernel: --clean is disabled; not running 'make clean'.
* kernel: >> Invoking menuconfig...
configuration written to .config
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
* >> Compiling 3.10.7-gentoo-r1 bzImage...
* ERROR: Failed to compile the "bzImage" target...
*
* -- Grepping log... --
*
*uvc_driver.c:(.init.text+0x87da): undefined reference to `usb_register_driver'
*drivers/built-in.o: In function `uvc_cleanup':
*uvc_driver.c:(.exit.text+0x4d1): undefined reference to `usb_deregister'
*drivers/built-in.o:(.rodata+0x10a40): undefined reference to `v4l2_ctrl_replace'
*drivers/built-in.o:(.rodata+0x10a48): undefined reference to `v4l2_ctrl_merge'
*make: *** [vmlinux] Error 1
|
Any hints ? Thanks |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Wed Oct 16, 2013 9:52 pm Post subject: |
|
|
Create a bug report at https://bugs.gentoo.org/ and attach the kernel config which fails to build.
Maybe you could try kernel 3.11 too. |
|
Back to top |
|
|
chromaf Tux's lil' helper
Joined: 29 Sep 2013 Posts: 79
|
Posted: Thu Oct 17, 2013 4:02 pm Post subject: |
|
|
How do I properly emerge the sources for the 3.11 kernel ?
Thanks |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Thu Oct 17, 2013 5:42 pm Post subject: |
|
|
gentoo-sources-3.11 is not stable yet, so you need to unmask it in package.accept_keywords
/etc/portage/package.accept_keywords : | =sys-kernel/gentoo-sources-3.11.5 |
Then emerge gentoo-sources and select it with eselect kernel. |
|
Back to top |
|
|
|