/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/sys/stat.h:212: error: previous declaration of 'fstat' was here
/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/sys/stat.h:371: error: conflicting types for 'fstat'
/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/sys/stat.h:212: error: previous declaration of 'fstat' was here
In file included from /root/桌面/socket/busybox-1.1.0/include/libbb.h:39,
from /root/桌面/socket/busybox-1.1.0/include/busybox.h:50,
from /root/桌面/socket/busybox-1.1.0/applets/applets.c:33:
/root/桌面/socket/busybox-1.1.0/include/bb_config.h:1: error: parse error before '-' token
/root/桌面/socket/busybox-1.1.0/include/bb_config.h:1: error: syntax error at '#' token
In file included from /root/桌面/socket/busybox-1.1.0/include/libbb.h:39,
from /root/桌面/socket/busybox-1.1.0/include/busybox.h:50,
from /root/桌面/socket/busybox-1.1.0/applets/applets.c:33:
/root/桌面/socket/busybox-1.1.0/include/bb_config.h:759:2: #endif without #if
In file included from /root/桌面/socket/busybox-1.1.0/include/pwd_.h:24,
from /root/桌面/socket/busybox-1.1.0/include/libbb.h:44,
from /root/桌面/socket/busybox-1.1.0/include/busybox.h:50,
from /root/桌面/socket/busybox-1.1.0/applets/applets.c:33:
/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/sys-include/pwd.h:59: error: parse error before '}' token
In file included from /root/桌面/socket/busybox-1.1.0/include/busybox.h:50,
from /root/桌面/socket/busybox-1.1.0/applets/applets.c:33:
/root/桌面/socket/busybox-1.1.0/include/libbb.h:108: warning: "struct stat" declared inside parameter list
/root/桌面/socket/busybox-1.1.0/include/libbb.h:118: warning: "struct stat" declared inside parameter list
/root/桌面/socket/busybox-1.1.0/include/libbb.h:119: warning: "struct stat" declared inside parameter list
/root/桌面/socket/busybox-1.1.0/include/libbb.h:411: warning: "struct stat" declared inside parameter list
/root/桌面/socket/busybox-1.1.0/include/libbb.h:412: warning: "struct stat" declared inside parameter list
make[1]: *** [/root/桌面/socket/busybox-1.1.0/applets/applets.o] 错误 1
make[1]:正在离开目录 `/root/桌面/socket/busybox-1.1.0'
make: *** [_all] 错误 2
处理方法:修改 include/bb_config.h
看到此文件的第一行多了两个字母 -e,删除掉,退出文件再次执行make则可编译通过