mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
	video4linux-list@redhat.com
Subject: Build error: ARM badge4_defconfig
Date: Tue, 13 May 2008 19:58:31 +0100	[thread overview]
Message-ID: <20080513185831.GA18959@flint.arm.linux.org.uk> (raw)

For full details, see:

http://armlinux.simtec.co.uk/kautobuild/2.6.26-rc2-git2/badge4_defconfig.html

which is a regression at 2.6.25-git15 time. (2.6.25-git14 built fine,
seemingly because there wasn't a tuner-core.c in that kernel.)

  LD      .tmp_vmlinux1
drivers/built-in.o: In function `tuner_i2c_xfer_send_recv':
drivers/media/common/tuners/tuner-i2c.h:61: undefined reference to `i2c_transfer'
drivers/built-in.o: In function `tuner_i2c_xfer_send':
drivers/media/common/tuners/tuner-i2c.h:39: undefined reference to `i2c_transfer'
...

Divining options from the configuration log:

  I2C support (I2C) [M/n/y/?] m

So, i2c is modular here.

  Video For Linux (VIDEO_DEV) [Y/n/m/?] y

Video is built in, and since tuner-core.c is being built in as well, we
can assume MEDIA_TUNER=y.

drivers/media/common/tuners/Kconfig contains:

config MEDIA_TUNER
        tristate
        default DVB_CORE || VIDEO_DEV
        depends on DVB_CORE || VIDEO_DEV

which means it ends up being 'y' if either DVB_CORE or VIDEO_DEV is y
(which one is as shown above.)  There's a missing dependency here -
it clearly depends on i2c, so that should also be in the "depends" line.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

                 reply	other threads:[~2008-05-13 18:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080513185831.GA18959@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=video4linux-list@redhat.com \
    /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

Powered by JetHome