fandow 发表于 2005-2-28 16:04:20

编译busybox的问题

编译busybox-1.00
正常编译的时候很正常,可是交叉编译的时候却提示出错
错误信息如下
In file included from /root/busybox-1.00/include/busybox.h:54,
               from /root/busybox-1.00/networking/route.c:44:
/root/busybox-1.00/include/libbb.h:111: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/include/libbb.h:112: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/include/libbb.h:134: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/include/libbb.h:249: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/include/libbb.h:254: redefinition of `struct sysinfo'
/root/busybox-1.00/include/libbb.h:270: warning: declaration of `info' shadows global declaration
/root/busybox-1.00/include/libbb.h:307: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/include/libbb.h:437: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/networking/route.c:475: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/networking/route.c: In function `set_flags':
/root/busybox-1.00/networking/route.c:476: warning: declaration of `flags' shadows global declaration
/root/busybox-1.00/networking/route.c: In function `displayroutes':
/root/busybox-1.00/networking/route.c:490: warning: declaration of `flags' shadows global declaration
make: *** Error 1

什么原因呢?
页: [1]
查看完整版本: 编译busybox的问题