In 2.5.73, vty_init() in drivers/char/vt.c uses console_driver, but that
variable is declared only inside an ifdef CONFIG_VT_CONSOLE. The kernel
doesn't build without that config option.
--
#define X(x,y) x##y
Peter Cordes ; e-mail: X([email protected] , s.ca)
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack
my day so wretchedly into small pieces!" -- Plautus, 200 BC
Try this patch.
--- vt.c Tue Jul 1 14:19:07 2003
+++ vt.c.new Tue Jul 1 14:03:17 2003
@@ -109,7 +109,7 @@
#include "console_macros.h"
-
+struct tty_driver *console_driver;
const struct consw *conswitchp;
/* A bitmap for codes <32. A bit of 1 indicates that the code
@@ -2185,8 +2185,6 @@
quit:
clear_bit(0, &printing);
}
-
-struct tty_driver *console_driver;
static struct tty_driver *vt_console_device(struct console *c, int *index)
{