2003-06-24 15:34:16

by jds

[permalink] [raw]
Subject: Problems when compile kernel 2.5.73-mm1

Hi Andrew:

I have problems whe try the compile kernel. the messages is:

[root@toshiba linux-2.5]# make bzImage
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC init/main.o
In file included from include/linux/pagemap.h:7,
from include/linux/blkdev.h:10,
from include/linux/blk.h:2,
from init/main.c:26:
include/linux/mm.h: In function `lowmem_page_address':
include/linux/mm.h:344: `__PAGE_OFFSET' undeclared (first use in this function)
include/linux/mm.h:344: (Each undeclared identifier is reported only once
include/linux/mm.h:344: for each function it appears in.)
In file included from include/linux/bio.h:28,
from include/linux/blkdev.h:14,
from include/linux/blk.h:2,
from init/main.c:26:
include/asm/io.h: In function `virt_to_phys':
include/asm/io.h:74: `__PAGE_OFFSET' undeclared (first use in this function)
include/asm/io.h: In function `phys_to_virt':
include/asm/io.h:92: `__PAGE_OFFSET' undeclared (first use in this function)
include/asm/io.h: In function `isa_check_signature':
include/asm/io.h:245: `__PAGE_OFFSET' undeclared (first use in this function)
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
[root@toshiba linux-2.5]#

Helpme please

Regards


2003-06-24 16:54:31

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Problems when compile kernel 2.5.73-mm1

On Tue, Jun 24, 2003 at 09:18:46AM -0600, jds wrote:
> Hi Andrew:
>
> I have problems whe try the compile kernel. the messages is:
>
> [root@toshiba linux-2.5]# make bzImage
> from init/main.c:26:
> include/linux/mm.h: In function `lowmem_page_address':
> include/linux/mm.h:344: `__PAGE_OFFSET' undeclared (first use in this function)
> [root@toshiba linux-2.5]#
>
> Helpme please
Reported already.
make menuconfig
save
make
Did the trick last time. I dunno why.

Sam

2003-06-24 18:23:01

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: Problems when compile kernel 2.5.73-mm1

On Tue, 2003-06-24 at 17:18, jds wrote:
> Hi Andrew:
>
> I have problems whe try the compile kernel. the messages is:
>
> [root@toshiba linux-2.5]# make bzImage
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
> CHK include/asm-i386/asm_offsets.h
> CC init/main.o
> In file included from include/linux/pagemap.h:7,
> from include/linux/blkdev.h:10,
> from include/linux/blk.h:2,
> from init/main.c:26:
> include/linux/mm.h: In function `lowmem_page_address':
> include/linux/mm.h:344: `__PAGE_OFFSET' undeclared (first use in this function)
> include/linux/mm.h:344: (Each undeclared identifier is reported only once
> include/linux/mm.h:344: for each function it appears in.)
> In file included from include/linux/bio.h:28,
> from include/linux/blkdev.h:14,
> from include/linux/blk.h:2,
> from init/main.c:26:
> include/asm/io.h: In function `virt_to_phys':
> include/asm/io.h:74: `__PAGE_OFFSET' undeclared (first use in this function)
> include/asm/io.h: In function `phys_to_virt':
> include/asm/io.h:92: `__PAGE_OFFSET' undeclared (first use in this function)
> include/asm/io.h: In function `isa_check_signature':
> include/asm/io.h:245: `__PAGE_OFFSET' undeclared (first use in this function)
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2
> [root@toshiba linux-2.5]#
>
> Helpme please

Please, do:

1. make oldconfig
2. make bzImage

This should help