Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel fails to compile UVC module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
chromaf
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2013
Posts: 79

PostPosted: Wed Oct 16, 2013 12:46 pm    Post subject: Kernel fails to compile UVC module Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Wed Oct 16, 2013 9:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
chromaf
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2013
Posts: 79

PostPosted: Thu Oct 17, 2013 4:02 pm    Post subject: Reply with quote

How do I properly emerge the sources for the 3.11 kernel ?

Thanks
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Oct 17, 2013 5:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum