linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jeff P. Zacher" <ad_sicks@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Dependency bug in the uvcvideo Kconfig
Date: Wed, 18 Sep 2013 08:18:40 -0500	[thread overview]
Message-ID: <1828294.VXnhqsmrEo@localhost> (raw)

Not subscribed, please CC'me in replies:

There seems to be a dependency bug in the Kconfig for the uvcvideo kernel 
module.  If uvcvideo is built in and usb support is built as a module, the 
kernel build will fail with the obviously missing dependanies.


Error logs:

* ERROR: Failed to compile the "bzImage" target...
* 
* -- Grepping log... --
* 
*  SHIPPED scripts/genksyms/keywords.hash.c
*  SHIPPED scripts/genksyms/parse.tab.h
*  SHIPPED scripts/genksyms/parse.tab.c
*  HOSTCC  scripts/genksyms/lex.lex.o
*scripts/genksyms/lex.lex.c_shipped: In function ‘yylex1’:
*scripts/genksyms/lex.lex.c_shipped:904:1: warning: ignoring return value of 
‘fwrite’, declared with attribute warn_unused_result [-Wunused-result]
*--
*  CC      drivers/video/console/font_8x16.o
*  CC      drivers/video/console/softcursor.o
*  CC      sound/core/seq/seq_memory.o
*  CC      drivers/video/console/fbcondecor.o
*  CC      sound/core/seq/seq_queue.o
*drivers/video/console/fbcondecor.c:511:6: warning: function declaration isn’t 
a prototype [-Wstrict-prototypes]
*--
*(.text+0xf8fb1): undefined reference to `usb_submit_urb'
*drivers/built-in.o: In function `uvc_init':
*uvc_driver.c:(.init.text+0x908a): undefined reference to 
`usb_register_driver'
*drivers/built-in.o: In function `uvc_cleanup':
*uvc_driver.c:(.exit.text+0x67e): undefined reference to `usb_deregister'
*make: *** [vmlinux] Error 1
*--
* Running with options: --lvm --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 ..
*
* ERROR: Failed to compile the "bzImage" target...
* 
* -- End log... --

Compiling uvc as a module allows the compilation to complete.

Platform x86_64

Ref: http://forums.gentoo.org/viewtopic-p-7398782.html#7398782


-- Jeff P. Zacher
ad_sicks@yahoo.com


             reply	other threads:[~2013-09-18 13:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18 13:18 Jeff P. Zacher [this message]
2013-09-18 14:59 ` Dependency bug in the uvcvideo Kconfig Randy Dunlap
2013-09-18 15:37   ` Peter Senna Tschudin
2013-09-18 22:52     ` Randy Dunlap
     [not found]       ` <1697645.iYIvpGsUS4@localhost>
2013-09-19 20:17         ` Randy Dunlap
2013-09-19 23:00           ` [stable] " Randy Dunlap
2013-09-27 23:14             ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1828294.VXnhqsmrEo@localhost \
    --to=ad_sicks@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).