problem of compiling busybox1.4.2

卢荣军 rjlu at seu.edu.cn
Fri Mar 23 12:20:52 UTC 2007


   compile toolchains:
   target: ARM
   binutils-2.17 gcc-4.1.1-c-c++ newlib-1.14.0 (from GNU ARM,www.gnuarm.org)
   host runs FEDORA 6
PROBLEM:
$ make ARCH=arm CROSS_COMPILE=arm-elf-
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  HOSTCC  applets/usage
In file included from applets/../include/libbb.h:53,
                 from applets/../include/busybox.h:10,
                 from applets/usage.c:5:
applets/../include/grp_.h:44: error: conflicting types for 'setgroups'
/usr/include/sys/unistd.h:129: error: previous declaration of 'setgroups' was here
applets/../include/grp_.h:44: error: conflicting types for 'setgroups'
/usr/include/sys/unistd.h:129: error: previous declaration of 'setgroups' was here
In file included from applets/../include/busybox.h:10,
                 from applets/usage.c:5:
applets/../include/libbb.h:298: error: field `sin6' has incomplete type
make[1]: *** [applets/usage] Error 1
make: *** [applets] Error 2
 
Can anyone give some suggestion? Thanks.

Lu 




More information about the busybox mailing list