Re: [ANNOUNCE] 3.0-rt1

From: Robin Gareus
Date: Sat Jul 23 2011 - 10:53:37 EST


On 07/23/2011 04:29 PM, Juergen Beisert wrote:
> Hi Thomas,
>
> on ARM (in this case a Samsung S3C2440 based platform) I get:
>
> kernel/built-in.o: In function `vprintk':
> /home/jb/[...]/linux-3.0/kernel/printk.c:862: undefined reference to `early_vprintk'
> kernel/built-in.o: In function `register_console':
> /home/jb/[...]linux-3.0/kernel/printk.c:1580: undefined reference to `early_console_initialized'
> make[1]: *** [vmlinux] Error 1
>
> Did I forget something to enable in my kernel config?

I've seen the same error when trying to work around vprintk issue on
i386 with CONFIG_EXPERT=y CONFIG_EARLY_PRINTK=n

instead of fixing 'printk.c' I've changed 'include/linux/printk.h:95'
-void early_vprintk(const char *fmt, va_list args);
+asmlinkage void early_vprintk(const char *fmt, va_list args);

and compiled with CONFIG_EARLY_PRINTK=y. Not sure if that is an option
on ARM.

Herman has reported the latter issue earlier today.

ciao,
robin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/