楼主, 我是初學的.
在编译zImage有以下問題(原全沒有動過原代碼)
請指導一下吧!謝 **************************************
owner@ubuntu:~$ cd bin
owner@ubuntu:~/bin$ cd FriendlyARM/
owner@ubuntu:~/bin/FriendlyARM$ cd android/
owner@ubuntu:~/bin/FriendlyARM/android$ cd kernel/
owner@ubuntu:~/bin/FriendlyARM/android/kernel$ cp config_mini2440 .config
owner@ubuntu:~/bin/FriendlyARM/android/kernel$ make menuconfig
scripts/kconfig/mconf arch/arm/Kconfig
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
owner@ubuntu:~/bin/FriendlyARM/android/kernel$ make zImage
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
CC fs/binfmt_aout.o
fs/binfmt_aout.c: In function 'load_aout_binary':
fs/binfmt_aout.c:317:30: error: 'SEGMENT_SIZE' undeclared (first use in this function)
fs/binfmt_aout.c:317:30: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2
owner@ubuntu:~/bin/FriendlyARM/android/kernel$
***************************
Solved thanks all
[ 此帖被lc2047在2010-12-24 09:17重新编辑 ]