我的系統是debian 4.0 rc1 kernel版本是2.6.18-5-686
gcc是 gcc version 4.1.2
cross-compiler是 http://www.codesourcery.com的
arm-2007q3-53-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
編給s3c2410的kernel版本是2.6.22.9
下的命令是
1.make ARCH=arm CROSS_COMPILE=arm-none-eabi- s3c2410_defconfig
2.make ARCH=arm CROSS_COMPILE=arm-none-eabi-
錯誤訊息如下
fs/binfmt_aout.c: In function `load_aout_binary':
fs/binfmt_aout.c:320: error: `SEGMENT_SIZE' undeclared (first use in this function)
fs/binfmt_aout.c:320: error: (Each undeclared identifier is reported only once
fs/binfmt_aout.c:320: error: for each function it appears in.)
make[1]: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2
有人能告知我一個方向嗎?