problem when compile 2.5.70-mm8
Hi:
I try the compile kernel 2.5.70-mm8 and recive this messages:
[root@toshiba linux-2.5.70]# make bzImage CHK include/linux/version.h UPD include/linux/version.h Making asm->asm-i386 symlink CC scripts/empty.o MKELF scripts/elfconfig.h HOSTCC scripts/file2alias.o HOSTCC scripts/modpost.o HOSTLD scripts/modpost SPLIT include/linux/autoconf.h -> include/config/* CC arch/i386/kernel/asm-offsets.s CHK include/asm-i386/asm_offsets.h UPD include/asm-i386/asm_offsets.h Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES= CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o LD init/mounts.o CC init/initramfs.o LD init/built-in.o HOSTCC usr/gen_init_cpio CPIO usr/initramfs_data.cpio GZIP usr/initramfs_data.cpio.gz LD usr/initramfs_data.o LD usr/built-in.o CC arch/i386/kernel/process.o CC arch/i386/kernel/semaphore.o CC arch/i386/kernel/signal.o AS arch/i386/kernel/entry.o CC arch/i386/kernel/traps.o CC arch/i386/kernel/irq.o CC arch/i386/kernel/vm86.o CC arch/i386/kernel/ptrace.o CC arch/i386/kernel/i8259.o CC arch/i386/kernel/ioport.o CC arch/i386/kernel/ldt.o CC arch/i386/kernel/setup.o
arch/i386/kernel/setup.c: In function `setup_early_printk':arch/i386/kernel/setup.c:919: invalid lvalue in unary `&' make[1]: *** [arch/i386/kernel/setup.o] Error 1
make: *** [arch/i386/kernel] Error 2
Help me please;
Regards.
Quoted 3 lines · jds
Hi:
I try the compile kernel 2.5.70-mm8 and recive this messages:
~~ snip ~~
Quoted 9 lines
CC
arch/i386/kernel/setup.oarch/i386/kernel/setup.c: In function `setup_early_printk':arch/i386/kernel/setup.c:919: invalid lvalue in unary `&' make[1]: *** [arch/i386/kernel/setup.o] Error 1
make: *** [arch/i386/kernel] Error 2Help me please;
Regards.
As posted before the attached patch helps.
If you do not want to use the EARLY_PRINTK feature at all but are too lazy to turn it off in the Kernel debug menu explicitly (as I am, too ;-) you may also use the second attached patch wich corrects dependencies in Kconf.
Best regards
Thomas Schlichter
arch/i386/kernel/setup.c renamed from arch/i386/kernel/setup.c.orig +2 -0
@@ -910,6 +910,7 @@extern int __init serial8250_console_init (void );void setup_early_printk (void ) { +#ifdef CONFIG_SMP /* * printk currently checks cpu_online_map to make sure that * we don't try to printk from a CPU which hasn't had resources
@@ -917,6 +918,7 @@* enable here don't require per-cpu resources. */ set_bit (smp_processor_id (), &cpu_online_map); +#endif #ifdef CONFIG_DEBUG_EP_SERIAL console_setup (CONFIG_DEBUG_SERIAL_OPTIONS );serial8250_console_init ();
arch/i386/Kconfig renamed from arch/i386/Kconfig.orig +1 -1
@@ -1795,7 +1795,7 @@ config DEBUG_EARLY_PRINTK bool - depends on !DEBUG_EARLY_PRINTK_OFF + depends on DEBUG_EP_SERIAL || DEBUG_EP_VGA default y config DEBUG_SERIAL_OPTIONS
Hi Thomas:
Applied the patchs and my kernel is compile OK.
Thanks....:)
Muchas Gracias.
---------- Original Message -----------
From: Thomas Schlichter <[email protected]>
To: "jds" <[email protected]>, [email protected]
Sent: Wed, 11 Jun 2003 20:02:48 +0200
Subject: Re: problem when compile 2.5.70-mm8
Quoted 17 lines
Quoted 3 lines · jds
Hi:
I try the compile kernel 2.5.70-mm8 and recive this messages:
~~ snip ~~
Quoted 9 lines
CC
arch/i386/kernel/setup.oarch/i386/kernel/setup.c: In function `setup_early_printk':arch/i386/kernel/setup.c:919: invalid lvalue in unary `&' make[1]: *** [arch/i386/kernel/setup.o] Error 1
make: *** [arch/i386/kernel] Error 2Help me please;
Regards.
As posted before the attached patch helps.
Quoted 7 lines
If you do not want to use the
EARLY_PRINTKfeature at all but are too lazy to turn it off in the Kernel debug menu explicitly (as I am,
too ;-) you may also use the second attached patch wich corrects
dependencies in Kconf.Best regards
Thomas Schlichter
------- End of Original Message -------