Skip to contentSkip to conversation

Problems when compile kernel 2.5.73-mm1

DISCUSSION jds 3 participants 3 messages Jun 24, 2003

lore
Share & tools
lore

jds

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · jds

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

#2 lore raw
In reply to jds
Quoted 30 lines · jds

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

Quoted 1 line

Helpme please

Please, do:

1. make oldconfig
2. make bzImage

This should help