lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Re: 2.6.7-mm1 linker trouble with CONFIG_FB_RIVA_I2C=y and modular I2C
On Mon, 21 Jun 2004, Adrian Bunk wrote:

> > 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
> >...
>
> Thanks for this report.

You're welcome.

> The problem is:
> FB_RIVA=y

FB_RIVA alone is not a problem with I²C and _ALGOBIT =m,
FB_RIVA_I2C introduces the link failure. But nevermind, the problem is
fixed for me with your patch.

> FB_RIVA_I2C=y
> I2C=m
> I2C_ALGOBIT=m
>
> The patch below fixes this.

Danke!

--
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.104 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site