Re: Error building 2.3.50 in char.o

From: Gerd Knorr (kraxel@goldbach.in-berlin.de)
Date: Sun Mar 12 2000 - 07:53:33 EST


> Ran into a problem building the latest...
>
> drivers/char/char.o: In function `chr_dev_init':
> drivers/char/char.o(.text.init+0x15de): undefined reference to
> `i2c_init'
> make: *** [vmlinux] Error 1
>
> I've attached my config file... It appears to be related to the bttv
> driver, the file mem.c is the actual culprit.

Just some old cruft left over...

  Gerd

----------------------------------------
--- 2.3.51/drivers/char/mem.c~ Sat Mar 11 11:27:13 2000
+++ 2.3.51/drivers/char/mem.c Sun Mar 12 13:23:03 2000
@@ -26,9 +26,6 @@
 #include <asm/io.h>
 #include <asm/pgalloc.h>
 
-#ifdef CONFIG_VIDEO_BT848
-extern int i2c_init(void);
-#endif
 #ifdef CONFIG_I2C
 extern int i2c_init_all(void);
 #endif
@@ -661,9 +658,6 @@
 #endif
 #ifdef CONFIG_FTAPE
         ftape_init();
-#endif
-#ifdef CONFIG_VIDEO_BT848
- i2c_init();
 #endif
 #if defined(CONFIG_ADB)
         adbdev_init();

-
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/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:21 EST