root@ubuntu:/linux-2.6.14/busybox-1.2.0# make defconfig
root@ubuntu:/linux-2.6.14/busybox-1.2.0# make menuconfig
#
# using defaults found in .config
#
*** End of BusyBox configuration.
root@ubuntu:/linux-2.6.14/busybox-1.2.0# make
HOSTLINK scripts/usage
/linux-2.6.14/busybox-1.2.0/scripts/usage.c: In function ‘main’:
/linux-2.6.14/busybox-1.2.0/scripts/usage.c:12:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
GEN include/bbconfigopts.h
GEN .depend
CC applets/applets.o
CC applets/busybox.o
CC applets/version.o
AR cru applets/applets.a
CC editors/vi.o
AR cru editors/editors.a
CC miscutils/bbconfig.o
AR cru miscutils/miscutils.a
CC e2fsprogs/blkid/blkid_getsize.o
In file included from /linux-2.6.14/busybox-1.2.0/e2fsprogs/blkid/blkid_getsize.c:27:
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/fd.h:342: error: variable or field `__user' declared void
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/fd.h:342: error: parse error before '*' token
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/linux/fd.h:360: error: parse error before '}' token
make[1]: *** [/linux-2.6.14/busybox-1.2.0/e2fsprogs/blkid/blkid_getsize.o] Error 1
make: *** [_all] Error 2
root@ubuntu:/linux-2.6.14/busybox-1.2.0#
-----------------------------------------------------------------
用2.95.3 编译出现这个
/usr/busybox-1.2.0/init/init.o: File truncated
/tmp/ccWE9jhs.s: Assembler messages:
/tmp/ccWE9jhs.s:2037: FATAL: Can't write /usr/busybox-1.2.0/init/init.o: File truncated
make[1]: *** [/usr/busybox-1.2.0/init/init.o] Error 1
make: *** [_all] Error 2
------------------------------------------------------------
今天用3.4.1编译通过了估计上次没通过是因为编译器没有make clean