make[1]: *** [networking/libiproute/iptunnel.o] Error 1
make: *** [networking/libiproute] Error 2
[root@localhost busybox-1.13.0]# make menuconfig
scripts/kconfig/mconf Config.in
#
# using defaults found in .config
#
Your configuration changes were NOT saved.
[root@localhost busybox-1.13.0]# make menuconfig
scripts/kconfig/mconf Config.in
#
# using defaults found in .config
#
*** End of configuration.
*** Execute 'make' to build the project or try 'make help'.
[root@localhost busybox-1.13.0]# make;make install
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
GEN include/usage_compressed.h
HOSTCC applets/applet_tables
GEN include/applet_tables.h
CC applets/applets.o
LD applets/built-in.o
CC libbb/appletlib.o
AR libbb/lib.a
CC networking/libiproute/iptunnel.o
In file included from /opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/if_tunnel.h:5,
from networking/libiproute/iptunnel.c:24:
/opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/ip.h:85: error: redefinition of 'struct iphdr'
make[1]: *** [networking/libiproute/iptunnel.o] Error 1
make: *** [networking/libiproute] Error 2
CC networking/libiproute/iptunnel.o
In file included from /opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/if_tunnel.h:5,
from networking/libiproute/iptunnel.c:24:
/opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/ip.h:85: error: redefinition of 'struct iphdr'
make[1]: *** [networking/libiproute/iptunnel.o] Error 1
make: *** [networking/libiproute] Error 2
[root@localhost busybox-1.13.0]# make menucofig
make: *** No rule to make target `menucofig'. Stop.
[root@localhost busybox-1.13.0]# make menuconfig
scripts/kconfig/mconf Config.in
#
# using defaults found in .config
#
*** End of configuration.
*** Execute 'make' to build the project or try 'make help'.
[root@localhost busybox-1.13.0]# make;make install
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
GEN include/usage_compressed.h
HOSTCC applets/applet_tables
GEN include/applet_tables.h
CC applets/applets.o
LD applets/built-in.o
CC libbb/appletlib.o
AR libbb/lib.a
CC networking/ip.o
AR networking/lib.a
CC networking/libiproute/libnetlink.o
CC networking/libiproute/ll_addr.o
CC networking/libiproute/ll_map.o
CC networking/libiproute/ll_proto.o
networking/libiproute/ll_proto.c:24:2: warning: #warning de-bloat
CC networking/libiproute/ll_types.o
CC networking/libiproute/rt_names.o
CC networking/libiproute/rtm_map.o
CC networking/libiproute/utils.o
AR networking/libiproute/lib.a
LD networking/udhcp/built-in.o
CC networking/udhcp/arpping.o
CC networking/udhcp/clientpacket.o
CC networking/udhcp/clientsocket.o
CC networking/udhcp/common.o
CC networking/udhcp/dhcpc.o
CC networking/udhcp/dhcpd.o
CC networking/udhcp/dhcprelay.o
CC networking/udhcp/domain_codec.o
CC networking/udhcp/dumpleases.o
CC networking/udhcp/files.o
CC networking/udhcp/leases.o
CC networking/udhcp/options.o
CC networking/udhcp/packet.o
CC networking/udhcp/script.o
CC networking/udhcp/serverpacket.o
CC networking/udhcp/signalpipe.o
CC networking/udhcp/socket.o
CC networking/udhcp/static_leases.o
AR networking/udhcp/lib.a
LD printutils/built-in.o
CC printutils/lpd.o
CC printutils/lpr.o
AR printutils/lib.a
LD procps/built-in.o
CC procps/free.o
CC procps/fuser.o
CC procps/kill.o
CC procps/nmeter.o
CC procps/pgrep.o
CC procps/pidof.o
CC procps/ps.o
CC procps/renice.o
CC procps/sysctl.o
CC procps/top.o
CC procps/uptime.o
CC procps/watch.o
AR procps/lib.a
LD runit/built-in.o
CC runit/chpst.o
CC runit/runit_lib.o
CC runit/runsv.o
CC runit/runsvdir.o
CC runit/sv.o
CC runit/svlogd.o
AR runit/lib.a
LD selinux/built-in.o
AR selinux/lib.a
LD shell/built-in.o
CC shell/ash.o
CC shell/ash_ptr_hack.o
CC shell/cttyhack.o
CC shell/hush.o
CC shell/msh.o
AR shell/lib.a
LD sysklogd/built-in.o
CC sysklogd/klogd.o
CC sysklogd/logread.o
CC sysklogd/syslogd_and_logger.o
AR sysklogd/lib.a
LD util-linux/built-in.o
CC util-linux/blkid.o
CC util-linux/dmesg.o
CC util-linux/fbset.o
CC util-linux/fdformat.o
CC util-linux/fdisk.o
CC util-linux/findfs.o
CC util-linux/freeramdisk.o
CC util-linux/fsck_minix.o
CC util-linux/getopt.o
CC util-linux/hexdump.o
CC util-linux/hwclock.o
CC util-linux/ipcrm.o
CC util-linux/ipcs.o
CC util-linux/losetup.o
CC util-linux/mdev.o
CC util-linux/mkfs_minix.o
CC util-linux/mkswap.o
CC util-linux/more.o
CC util-linux/mount.o
CC util-linux/pivot_root.o
CC util-linux/rdate.o
CC util-linux/rdev.o
CC util-linux/readprofile.o
CC util-linux/rtcwake.o
CC util-linux/script.o
CC util-linux/setarch.o
CC util-linux/swaponoff.o
CC util-linux/switch_root.o
CC util-linux/umount.o
AR util-linux/lib.a
LD util-linux/volume_id/built-in.o
CC util-linux/volume_id/cramfs.o
CC util-linux/volume_id/ext.o
CC util-linux/volume_id/fat.o
CC util-linux/volume_id/get_devname.o
CC util-linux/volume_id/hfs.o
CC util-linux/volume_id/iso9660.o
CC util-linux/volume_id/jfs.o
CC util-linux/volume_id/linux_raid.o
CC util-linux/volume_id/linux_swap.o
CC util-linux/volume_id/luks.o
CC util-linux/volume_id/ntfs.o
CC util-linux/volume_id/ocfs2.o
CC util-linux/volume_id/reiserfs.o
CC util-linux/volume_id/romfs.o
CC util-linux/volume_id/sysv.o
CC util-linux/volume_id/udf.o
CC util-linux/volume_id/util.o
CC util-linux/volume_id/volume_id.o
CC util-linux/volume_id/xfs.o
AR util-linux/volume_id/lib.a
LINK busybox_unstripped
Trying libraries: crypt m
Library crypt is not needed, excluding it
Library m is needed, can't exclude it (yet)
Final link with: m
./_install/bin/addgroup -> busybox
./_install/bin/adduser -> busybox
./_install/bin/ash -> busybox
./_install/bin/cat -> busybox
./_install/bin/catv -> busybox
./_install/bin/chattr -> busybox
./_install/bin/chgrp -> busybox
./_install/bin/chmod -> busybox
./_install/bin/chown -> busybox
./_install/bin/cp -> busybox
./_install/bin/cpio -> busybox
./_install/bin/cttyhack -> busybox
./_install/bin/date -> busybox
./_install/bin/dd -> busybox
./_install/bin/delgroup -> busybox
./_install/bin/deluser -> busybox
./_install/bin/df -> busybox
./_install/bin/dmesg -> busybox
./_install/bin/dumpkmap -> busybox
./_install/bin/echo -> busybox
./_install/bin/ed -> busybox
./_install/bin/egrep -> busybox
./_install/bin/false -> busybox
./_install/bin/fdflush -> busybox
./_install/bin/fgrep -> busybox
./_install/bin/getopt -> busybox
./_install/bin/grep -> busybox
./_install/bin/gunzip -> busybox
./_install/bin/gzip -> busybox
./_install/bin/hostname -> busybox
./_install/bin/hush -> busybox
./_install/bin/ip -> busybox
./_install/bin/ipaddr -> busybox
./_install/bin/ipcalc -> busybox
./_install/bin/iplink -> busybox
./_install/bin/iproute -> busybox
./_install/bin/iprule -> busybox
./_install/bin/kill -> busybox
./_install/bin/linux32 -> busybox
./_install/bin/linux64 -> busybox
./_install/bin/ln -> busybox
./_install/bin/login -> busybox
./_install/bin/ls -> busybox
./_install/bin/lsattr -> busybox
./_install/bin/makemime -> busybox
./_install/bin/mkdir -> busybox
./_install/bin/mknod -> busybox
./_install/bin/mktemp -> busybox
./_install/bin/more -> busybox
./_install/bin/mount -> busybox
./_install/bin/mountpoint -> busybox
./_install/bin/msh -> busybox
./_install/bin/mt -> busybox
./_install/bin/mv -> busybox
./_install/bin/netstat -> busybox
./_install/bin/nice -> busybox
./_install/bin/pidof -> busybox
./_install/bin/ping -> busybox
./_install/bin/pipe_progress -> busybox
./_install/bin/printenv -> busybox
./_install/bin/ps -> busybox
./_install/bin/pwd -> busybox
./_install/bin/reformime -> busybox
./_install/bin/rm -> busybox
./_install/bin/rmdir -> busybox
./_install/bin/run-parts -> busybox
./_install/bin/sed -> busybox
./_install/bin/setarch -> busybox
./_install/bin/sh -> busybox
./_install/bin/sleep -> busybox
./_install/bin/stat -> busybox
./_install/bin/stty -> busybox
./_install/bin/su -> busybox
./_install/bin/sync -> busybox
./_install/bin/tar -> busybox
./_install/bin/touch -> busybox
./_install/bin/true -> busybox
./_install/bin/umount -> busybox
./_install/bin/uname -> busybox
./_install/bin/uncompress -> busybox
./_install/bin/usleep -> busybox
./_install/bin/vi -> busybox
./_install/bin/watch -> busybox
./_install/bin/zcat -> busybox
./_install/linuxrc -> bin/busybox
./_install/sbin/adjtimex -> ../bin/busybox
./_install/sbin/arp -> ../bin/busybox
./_install/sbin/blkid -> ../bin/busybox
./_install/sbin/depmod -> ../bin/busybox
./_install/sbin/devmem -> ../bin/busybox
./_install/sbin/fbsplash -> ../bin/busybox
./_install/sbin/fdisk -> ../bin/busybox
./_install/sbin/findfs -> ../bin/busybox
./_install/sbin/freeramdisk -> ../bin/busybox
./_install/sbin/fsck -> ../bin/busybox
./_install/sbin/fsck.minix -> ../bin/busybox
./_install/sbin/getty -> ../bin/busybox
./_install/sbin/halt -> ../bin/busybox
./_install/sbin/hdparm -> ../bin/busybox
./_install/sbin/hwclock -> ../bin/busybox
./_install/sbin/ifconfig -> ../bin/busybox
./_install/sbin/ifdown -> ../bin/busybox
./_install/sbin/ifenslave -> ../bin/busybox
./_install/sbin/ifup -> ../bin/busybox
./_install/sbin/init -> ../bin/busybox
./_install/sbin/insmod -> ../bin/busybox
./_install/sbin/klogd -> ../bin/busybox
./_install/sbin/loadkmap -> ../bin/busybox
./_install/sbin/logread -> ../bin/busybox
./_install/sbin/losetup -> ../bin/busybox
./_install/sbin/lsmod -> ../bin/busybox
./_install/sbin/makedevs -> ../bin/busybox
./_install/sbin/man -> ../bin/busybox
./_install/sbin/mdev -> ../bin/busybox
./_install/sbin/mkfs.minix -> ../bin/busybox
./_install/sbin/mkswap -> ../bin/busybox
./_install/sbin/modprobe -> ../bin/busybox
./_install/sbin/nameif -> ../bin/busybox
./_install/sbin/pivot_root -> ../bin/busybox
./_install/sbin/poweroff -> ../bin/busybox
./_install/sbin/raidautorun -> ../bin/busybox
./_install/sbin/reboot -> ../bin/busybox
./_install/sbin/rmmod -> ../bin/busybox
./_install/sbin/route -> ../bin/busybox
./_install/sbin/runlevel -> ../bin/busybox
./_install/sbin/setconsole -> ../bin/busybox
./_install/sbin/slattach -> ../bin/busybox
./_install/sbin/start-stop-daemon -> ../bin/busybox
./_install/sbin/sulogin -> ../bin/busybox
./_install/sbin/swapoff -> ../bin/busybox
./_install/sbin/swapon -> ../bin/busybox
./_install/sbin/switch_root -> ../bin/busybox
./_install/sbin/sysctl -> ../bin/busybox
./_install/sbin/syslogd -> ../bin/busybox
./_install/sbin/udhcpc -> ../bin/busybox
./_install/sbin/vconfig -> ../bin/busybox
./_install/sbin/watchdog -> ../bin/busybox
./_install/sbin/zcip -> ../bin/busybox
./_install/usr/bin/[ -> ../../bin/busybox
./_install/usr/bin/[[ -> ../../bin/busybox
./_install/usr/bin/ar -> ../../bin/busybox
./_install/usr/bin/arping -> ../../bin/busybox
./_install/usr/bin/awk -> ../../bin/busybox
./_install/usr/bin/basename -> ../../bin/busybox
./_install/usr/bin/bunzip2 -> ../../bin/busybox
./_install/usr/bin/bzcat -> ../../bin/busybox
./_install/usr/bin/bzip2 -> ../../bin/busybox
./_install/usr/bin/cal -> ../../bin/busybox
./_install/usr/bin/chat -> ../../bin/busybox
./_install/usr/bin/chpst -> ../../bin/busybox
./_install/usr/bin/chrt -> ../../bin/busybox
./_install/usr/bin/chvt -> ../../bin/busybox
./_install/usr/bin/cksum -> ../../bin/busybox
./_install/usr/bin/clear -> ../../bin/busybox
./_install/usr/bin/cmp -> ../../bin/busybox
./_install/usr/bin/comm -> ../../bin/busybox
./_install/usr/bin/crontab -> ../../bin/busybox
./_install/usr/bin/cryptpw -> ../../bin/busybox
./_install/usr/bin/cut -> ../../bin/busybox
./_install/usr/bin/dc -> ../../bin/busybox
./_install/usr/bin/deallocvt -> ../../bin/busybox
./_install/usr/bin/diff -> ../../bin/busybox
./_install/usr/bin/dirname -> ../../bin/busybox
./_install/usr/bin/dos2unix -> ../../bin/busybox
./_install/usr/bin/du -> ../../bin/busybox
./_install/usr/bin/dumpleases -> ../../bin/busybox
./_install/usr/bin/eject -> ../../bin/busybox
./_install/usr/bin/env -> ../../bin/busybox
./_install/usr/bin/envdir -> ../../bin/busybox
./_install/usr/bin/envuidgid -> ../../bin/busybox
./_install/usr/bin/ether-wake -> ../../bin/busybox
./_install/usr/bin/expand -> ../../bin/busybox
./_install/usr/bin/expr -> ../../bin/busybox
./_install/usr/bin/fdformat -> ../../bin/busybox
./_install/usr/bin/find -> ../../bin/busybox
./_install/usr/bin/fold -> ../../bin/busybox
./_install/usr/bin/free -> ../../bin/busybox
./_install/usr/bin/ftpget -> ../../bin/busybox
./_install/usr/bin/ftpput -> ../../bin/busybox
./_install/usr/bin/fuser -> ../../bin/busybox
./_install/usr/bin/hd -> ../../bin/busybox
./_install/usr/bin/head -> ../../bin/busybox
./_install/usr/bin/hexdump -> ../../bin/busybox
./_install/usr/bin/hostid -> ../../bin/busybox
./_install/usr/bin/id -> ../../bin/busybox
./_install/usr/bin/install -> ../../bin/busybox
./_install/usr/bin/ipcrm -> ../../bin/busybox
./_install/usr/bin/ipcs -> ../../bin/busybox
./_install/usr/bin/kbd_mode -> ../../bin/busybox
./_install/usr/bin/killall -> ../../bin/busybox
./_install/usr/bin/killall5 -> ../../bin/busybox
./_install/usr/bin/last -> ../../bin/busybox
./_install/usr/bin/length -> ../../bin/busybox
./_install/usr/bin/less -> ../../bin/busybox
./_install/usr/bin/logger -> ../../bin/busybox
./_install/usr/bin/logname -> ../../bin/busybox
./_install/usr/bin/lpq -> ../../bin/busybox
./_install/usr/bin/lpr -> ../../bin/busybox
./_install/usr/bin/lzmacat -> ../../bin/busybox
./_install/usr/bin/md5sum -> ../../bin/busybox
./_install/usr/bin/mesg -> ../../bin/busybox
./_install/usr/bin/microcom -> ../../bin/busybox
./_install/usr/bin/mkfifo -> ../../bin/busybox
./_install/usr/bin/nc -> ../../bin/busybox
./_install/usr/bin/nmeter -> ../../bin/busybox
./_install/usr/bin/nohup -> ../../bin/busybox
./_install/usr/bin/nslookup -> ../../bin/busybox
./_install/usr/bin/od -> ../../bin/busybox
./_install/usr/bin/openvt -> ../../bin/busybox
./_install/usr/bin/passwd -> ../../bin/busybox
./_install/usr/bin/patch -> ../../bin/busybox
./_install/usr/bin/pgrep -> ../../bin/busybox
./_install/usr/bin/pkill -> ../../bin/busybox
./_install/usr/bin/printf -> ../../bin/busybox
./_install/usr/bin/pscan -> ../../bin/busybox
./_install/usr/bin/readahead -> ../../bin/busybox
./_install/usr/bin/readlink -> ../../bin/busybox
./_install/usr/bin/realpath -> ../../bin/busybox
./_install/usr/bin/renice -> ../../bin/busybox
./_install/usr/bin/reset -> ../../bin/busybox
./_install/usr/bin/resize -> ../../bin/busybox
./_install/usr/bin/rtcwake -> ../../bin/busybox
./_install/usr/bin/runsv -> ../../bin/busybox
./_install/usr/bin/runsvdir -> ../../bin/busybox
./_install/usr/bin/rx -> ../../bin/busybox
./_install/usr/bin/script -> ../../bin/busybox
./_install/usr/bin/seq -> ../../bin/busybox
./_install/usr/bin/setkeycodes -> ../../bin/busybox
./_install/usr/bin/setsid -> ../../bin/busybox
./_install/usr/bin/setuidgid -> ../../bin/busybox
./_install/usr/bin/sha1sum -> ../../bin/busybox
./_install/usr/bin/showkey -> ../../bin/busybox
./_install/usr/bin/softlimit -> ../../bin/busybox
./_install/usr/bin/sort -> ../../bin/busybox
./_install/usr/bin/split -> ../../bin/busybox
./_install/usr/bin/strings -> ../../bin/busybox
./_install/usr/bin/sum -> ../../bin/busybox
./_install/usr/bin/sv -> ../../bin/busybox
./_install/usr/bin/tac -> ../../bin/busybox
./_install/usr/bin/tail -> ../../bin/busybox
./_install/usr/bin/tcpsvd -> ../../bin/busybox
./_install/usr/bin/tee -> ../../bin/busybox
./_install/usr/bin/telnet -> ../../bin/busybox
./_install/usr/bin/test -> ../../bin/busybox
./_install/usr/bin/tftp -> ../../bin/busybox
./_install/usr/bin/tftpd -> ../../bin/busybox
./_install/usr/bin/time -> ../../bin/busybox
./_install/usr/bin/top -> ../../bin/busybox
./_install/usr/bin/tr -> ../../bin/busybox
./_install/usr/bin/traceroute -> ../../bin/busybox
./_install/usr/bin/tty -> ../../bin/busybox
./_install/usr/bin/ttysize -> ../../bin/busybox
./_install/usr/bin/udpsvd -> ../../bin/busybox
./_install/usr/bin/unexpand -> ../../bin/busybox
./_install/usr/bin/uniq -> ../../bin/busybox
./_install/usr/bin/unix2dos -> ../../bin/busybox
./_install/usr/bin/unlzma -> ../../bin/busybox
./_install/usr/bin/unzip -> ../../bin/busybox
./_install/usr/bin/uptime -> ../../bin/busybox
./_install/usr/bin/uudecode -> ../../bin/busybox
./_install/usr/bin/uuencode -> ../../bin/busybox
./_install/usr/bin/vlock -> ../../bin/busybox
./_install/usr/bin/wc -> ../../bin/busybox
./_install/usr/bin/wget -> ../../bin/busybox
./_install/usr/bin/which -> ../../bin/busybox
./_install/usr/bin/who -> ../../bin/busybox
./_install/usr/bin/whoami -> ../../bin/busybox
./_install/usr/bin/xargs -> ../../bin/busybox
./_install/usr/bin/yes -> ../../bin/busybox
./_install/usr/sbin/brctl -> ../../bin/busybox
./_install/usr/sbin/chpasswd -> ../../bin/busybox
./_install/usr/sbin/chroot -> ../../bin/busybox
./_install/usr/sbin/crond -> ../../bin/busybox
./_install/usr/sbin/dhcprelay -> ../../bin/busybox
./_install/usr/sbin/dnsd -> ../../bin/busybox
./_install/usr/sbin/fakeidentd -> ../../bin/busybox
./_install/usr/sbin/fbset -> ../../bin/busybox
./_install/usr/sbin/httpd -> ../../bin/busybox
./_install/usr/sbin/inetd -> ../../bin/busybox
./_install/usr/sbin/loadfont -> ../../bin/busybox
./_install/usr/sbin/lpd -> ../../bin/busybox
./_install/usr/sbin/popmaildir -> ../../bin/busybox
./_install/usr/sbin/rdate -> ../../bin/busybox
./_install/usr/sbin/rdev -> ../../bin/busybox
./_install/usr/sbin/readprofile -> ../../bin/busybox
./_install/usr/sbin/sendmail -> ../../bin/busybox
./_install/usr/sbin/setfont -> ../../bin/busybox
./_install/usr/sbin/setlogcons -> ../../bin/busybox
./_install/usr/sbin/svlogd -> ../../bin/busybox
./_install/usr/sbin/telnetd -> ../../bin/busybox
./_install/usr/sbin/udhcpd -> ../../bin/busybox
--------------------------------------------------
You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.
--------------------------------------------------
[root@localhost busybox-1.13.0]#
在此过程之前,我遇到了错误:make[1]: *** [networking/libiproute/iptunnel.o] Error 1
可以从编译过看到,解决方案如下:
重新配置,make menuconfig,然后在net选项下取消iptunnel选项。