2003-06-11 17:32:19

by jds

[permalink] [raw]
Subject: 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.


2003-06-11 17:49:43

by Thomas Schlichter

[permalink] [raw]
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


Attachments:
(No filename) (0.00 B)
(No filename) (189.00 B)
signature
Download all attachments

2003-06-11 18:48:33

by jds

[permalink] [raw]
Subject: Re: problem when compile 2.5.70-mm8



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

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