Messages in this thread Patch in this message | | | Date | Sat, 12 Aug 2000 17:33:59 -0400 (EDT) | From | ADAM Sulmicki <> | Subject | [patch] Re: 2.4.0-test7/pre2 compile failure. |
| |
> 2) at end of 'make bzImage' (No modules) it reports following > error > > ld -m elf_i386 -T /usr/src/Linux/24/linux/arch/i386/vmlinux.lds -e stext [...] > drivers/char/char.o: In function `i2c_init': > drivers/char/char.o(.text+0x11331): undefined reference to `i2c_tuner_init' > drivers/char/char.o(.text+0x11336): undefined reference to `msp3400c_init' > make: *** [vmlinux] Error 1
both of those are stub functions not defined anywhere in kernel. a simple fix, not necessarily the right one, would be the one below. after that it compiles fine.
[root@pepsi linux]# diff -Bbwiu drivers/char/i2c-old.c{~,} --- drivers/char/i2c-old.c~ Sat Aug 12 17:25:41 2000 +++ drivers/char/i2c-old.c Sat Aug 12 17:28:04 2000 @@ -36,10 +36,6 @@ static struct i2c_driver *drivers[I2C_DRIVER_MAX]; static int bus_count = 0, driver_count = 0; -#ifdef CONFIG_VIDEO_BT848 -extern int i2c_tuner_init(void); -extern int msp3400c_init(void); -#endif #ifdef CONFIG_VIDEO_BUZ extern int saa7111_init(void); extern int saa7185_init(void); @@ -54,10 +50,6 @@ printk(KERN_INFO "i2c: initialized%s\n", scan ? " (i2c bus scan enabled)" : ""); /* anything to do here ? */ -#ifdef CONFIG_VIDEO_BT848 - i2c_tuner_init(); - msp3400c_init(); -#endif #ifdef CONFIG_VIDEO_BUZ saa7111_init(); saa7185_init();
-- Adam http://www.eax.com The Supreme Headquarters of the 32 bit registers
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |