undefined reference to `console_list'
Hi,
patch-2.1.71 brought posibility to pass list of consoles on kernel command line.
http://www.funet.fi/pub/Linux/PEOPLE/Linus/v2.1/patch-html/patch-2.1.71/linux_kernel_printk.c.html
http://www.funet.fi/pub/Linux/PEOPLE/Linus/v2.1/patch-html/patch-2.1.71/linux_include_linux_console.h.html
while kernel/printk.c defines
struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES]; include/linux/console.h reads
extern struct console_cmdline console_list[MAX_CMDLINECONSOLES];
nothing needs fix below at the moment, but to finish MIPS merge it is needed either export console_setup(char *) or use fix below and this patch ftp://ftp.linux-mips.org/pub/linux/mips/people/ladis/ip22-setup.diff but header should be fixed anyway.
include/linux/console.h renamed from include/linux/console.h.orig +1 -1
@@ -80,7 +80,7 @@char *options;/* Options for the driver */ };#define MAX_CMDLINECONSOLES 8 -extern struct console_cmdline console_list[MAX_CMDLINECONSOLES ]; +extern struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES ];/* * The interface for a console, or any other device that
regards,
ladis
ps: please cc me, I'm not on the list