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
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
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.
CHKinclude/asm-i386/asm_offsets.h
CCinit/main.o
In file included frominclude/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 onceinclude/linux/mm.h:344: for each function it appears in.)
In file included frominclude/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 functionphys_to_virt':include/asm/io.h:92:__PAGE_OFFSET' undeclared (first use in this function) include/asm/io.h: In functionisa_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