mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@gmx.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.7-mm1 linker trouble with CONFIG_FB_RIVA_I2C=y and modular I2C
Date: Mon, 21 Jun 2004 04:06:27 +0200	[thread overview]
Message-ID: <20040621020627.GA10824@merlin.emma.line.org> (raw)
In-Reply-To: <20040620174632.74e08e09.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

On Sun, 20 Jun 2004, Andrew Morton wrote:

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.7/2.6.7-mm1/

This version causes linker trouble with
CONFIG_I2C=m
CONFIG_I2C_ALGOBIT=m
CONFIG_FB_RIVA_I2C=y

  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0xda101): In function `riva_setup_i2c_bus':
: undefined reference to `i2c_bit_add_bus'
drivers/built-in.o(.text+0xda218): In function `riva_delete_i2c_busses':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0xda237): In function `riva_delete_i2c_busses':
: undefined reference to `i2c_bit_del_bus'
drivers/built-in.o(.text+0xda2c9): In function `riva_do_probe_i2c_edid':
: undefined reference to `i2c_transfer'
make: *** [.tmp_vmlinux1] Error 1

Setting CONFIG_FB_RIVA_I2C to "n" fixes the build problem.

Setting CONFIG_I2C and CONFIG_I2C_ALGOBIT to "y" (I used to use "m")
also fixes the build problem.

Full failing .config is attached (comments stripped, gzipped).

-- 
Matthias Andree

[-- Attachment #2: failconfig.gz --]
[-- Type: application/x-gunzip, Size: 3082 bytes --]

  parent reply	other threads:[~2004-06-21  2:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21  0:46 2.6.7-mm1 Andrew Morton
2004-06-21  1:40 ` 2.6.7-mm1: empty help text for FB_RIVA_I2C Adrian Bunk
2004-06-21  7:38   ` Antonino A. Daplas
2004-06-21  1:43 ` [patch] 2.6.7-mm1: R8169_NAPI help text Adrian Bunk
2004-06-21  1:55 ` [patch] 2.6.7-mm1: drivers/scsi/hosts.h -> scsi/scsi_host.h Adrian Bunk
2004-06-22  3:48   ` Jeff Garzik
2004-06-21  2:04 ` 2.6.7-mm1 Adrian Bunk
2004-06-22  5:33   ` 2.6.7-mm1 Sam Ravnborg
2004-07-17 20:46     ` [2.6 patch] move STANDALONE to drivers/base/Kconfig Adrian Bunk
2004-06-21  2:06 ` Matthias Andree [this message]
2004-06-21 15:29   ` [patch] Re: 2.6.7-mm1 linker trouble with CONFIG_FB_RIVA_I2C=y and modular I2C Adrian Bunk
2004-06-22 15:11     ` Matthias Andree
2004-06-21 10:48 ` 2.6.7-mm1 Dominik Karall
2004-06-21 11:00   ` 2.6.7-mm1 Andrew Morton
2004-06-21 11:43     ` 2.6.7-mm1 Dominik Karall
2004-06-23  7:28       ` 2.6.7-mm1 Daniele Venzano
2004-06-21 11:48 ` 2.6.7-mm1 Eric BEGOT
2004-06-21 14:25   ` 2.6.7-mm1 James Morris
2004-06-21 14:38     ` 2.6.7-mm1 Eric BEGOT
2004-06-22  0:15       ` 2.6.7-mm1 Adrian Bunk
2004-06-21 14:32 ` 2.6.7-mm1 (compile stats) John Cherry
2004-06-21 23:05 ` 2.6.7-mm1 I/O regression ? FabF
2004-06-21 23:18   ` FabF

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=20040621020627.GA10824@merlin.emma.line.org \
    --to=matthias.andree@gmx.de \
    --cc=akpm@osdl.org \
    --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

all inboxes | Powered by JetHome®