* problem when compile 2.5.70-mm8
@ 2003-06-11 17:16 jds
2003-06-11 18:02 ` Thomas Schlichter
0 siblings, 1 reply; 3+ messages in thread
From: jds @ 2003-06-11 17:16 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem when compile 2.5.70-mm8
2003-06-11 17:16 problem when compile 2.5.70-mm8 jds
@ 2003-06-11 18:02 ` Thomas Schlichter
2003-06-11 18:32 ` jds
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Schlichter @ 2003-06-11 18:02 UTC (permalink / raw)
To: jds, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 713 bytes --]
jds wrote:
> Hi:
>
> I try the compile kernel 2.5.70-mm8 and recive this messages:
~~ snip ~~
> 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.
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
[-- Attachment #1.2: early_printk_fix.diff --]
[-- Type: text/x-diff, Size: 660 bytes --]
--- linux-2.5.70-mm8/arch/i386/kernel/setup.c.orig Wed Jun 11 11:10:35 2003
+++ linux-2.5.70-mm8/arch/i386/kernel/setup.c Wed Jun 11 11:11:36 2003
@@ -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();
[-- Attachment #1.3: early_printk_Kconf.diff --]
[-- Type: text/x-diff, Size: 327 bytes --]
--- linux-2.5.70-mm8/arch/i386/Kconfig.orig Wed Jun 11 11:23:17 2003
+++ linux-2.5.70-mm8/arch/i386/Kconfig Wed Jun 11 11:25:25 2003
@@ -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
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem when compile 2.5.70-mm8
2003-06-11 18:02 ` Thomas Schlichter
@ 2003-06-11 18:32 ` jds
0 siblings, 0 replies; 3+ messages in thread
From: jds @ 2003-06-11 18:32 UTC (permalink / raw)
To: Thomas Schlichter; +Cc: linux-kernel
Hi Thomas:
Applied the patchs and my kernel is compile OK.
Thanks....:)
Muchas Gracias.
---------- Original Message -----------
From: Thomas Schlichter <schlicht@uni-mannheim.de>
To: "jds" <jds@soltis.cc>, linux-kernel@vger.kernel.org
Sent: Wed, 11 Jun 2003 20:02:48 +0200
Subject: Re: problem when compile 2.5.70-mm8
> jds wrote:
> > Hi:
> >
> > I try the compile kernel 2.5.70-mm8 and recive this messages:
> ~~ snip ~~
> > 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.
>
> 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
------- End of Original Message -------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-11 18:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 17:16 problem when compile 2.5.70-mm8 jds
2003-06-11 18:02 ` Thomas Schlichter
2003-06-11 18:32 ` jds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox