Re: [BUG 2.6.36] early serial console undefined refs

From: Yinghai Lu
Date: Sat Oct 23 2010 - 13:40:31 EST


On 10/23/2010 07:43 AM, Mathieu Desnoyers wrote:
> Hi,
>
> Building 2.6.36 fails for me with the following link error (config below).
> I think commit f4ed2877b16e8146427306aea8819adac5c88374 is very likely to be the
> culprit, but given other changes that were done afterward, the fix is not as
> easy as a simple revert.
>
> Thoughts ?
>
> Building modules, stage 2.
> MODPOST 65 modules
> LD arch/x86/boot/setup.elf
> arch/x86/boot/early_serial_console.o: In function `early_serial_init':
> /home/compudj/git/morestable/linux-2.6-lttng/arch/x86/boot/early_serial_console.c:40: undefined reference to `early_serial_base'

your tree may have problem. Did you try clean tree from Linus ?

early_seria_console.c

#include "boot.h"
...
static void early_serial_init(int port, int baud)


and in boot.h, we have
/* early_serial_console.c */
extern int early_serial_base;


Thanks

Yinghai

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