From: Jonathan Corbet <corbet@lwn.net>
To: linux-kernel@vger.kernel.org
Cc: mchehab@infradead.org
Subject: V4L2-based build error
Date: Mon, 12 May 2008 16:14:09 -0600 [thread overview]
Message-ID: <18844.1210630449@vena.lwn.net> (raw)
If you configure V4L2 as a module, the config system will still let you
configure DVB_CORE built-in. This yields:
drivers/built-in.o: In function `v4l2_i2c_drv_attach_legacy':
tuner-core.c:(.text+0x901d5): undefined reference to `v4l2_i2c_attach'
drivers/built-in.o: In function `tuner_command':
tuner-core.c:(.text+0x91aed): undefined reference to `v4l_printk_ioctl'
I never had trouble with this before 2.6.26-rc2. I'm happy making
DVB_CORE modular, but it would be nice if the config system didn't allow
inconsistent setups.
jon
P.S. As I was digging into this, I ran into <media/v4l2-i2c-drv-legacy.h>,
which takes an interesting approach - function definitions and
module_init() within a header file? This thing is included in a
number of places; it seems like there should be a better way...
next reply other threads:[~2008-05-12 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 22:14 Jonathan Corbet [this message]
2008-05-13 3:32 ` Mauro Carvalho Chehab
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=18844.1210630449@vena.lwn.net \
--to=corbet@lwn.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@infradead.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
all inboxes | Powered by JetHome®