도와주세요!!
글 수 15,339
2013.10.29 09:04:51 (*.220.37.196)
19082
make menuconfig에서
ping6 유틸리티를 선택하면 아래와 같은 에러가 뜨네요.
ipv6를 지원해야되서 꼭필요한 유틸리티인데 왜그런지 좀 알려주세요.
[root@localhost /root/busybox/busybox-New/busybox-1.2.2.1]# make menuconfig
HOSTCC conf.o
HOSTCC zconf.tab.o
HOSTCC conf
HOSTCC mconf.o
HOSTCC lxdialog/checklist.o
HOSTCC lxdialog/menubox.o
HOSTCC lxdialog/textbox.o
HOSTCC lxdialog/yesno.o
HOSTCC lxdialog/inputbox.o
HOSTCC lxdialog/util.o
HOSTCC lxdialog/msgbox.o
HOSTCC mconf
#
# using defaults found in .config
#
*** End of BusyBox configuration.
[root@localhost /root/busybox/busybox-New/busybox-1.2.2.1]# make
HOSTLINK scripts/usage
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 networking/ifupdown.o
CC networking/ping6.o
CC networking/wget.o
AR cru networking/networking.a
CC libbb/messages.o
AR cru libbb/libbb.a
LINK busybox_unstripped
/root/busybox/busybox-New/busybox-1.2.2.1/networking/networking.a(ping6.o): In function `pingstats':
ping6.c:(.text.pingstats+0x10): undefined reference to `hostent'
/root/busybox/busybox-New/busybox-1.2.2.1/networking/networking.a(ping6.o): In function `ping':
ping6.c:(.text.ping+0x3a): undefined reference to `create_icmp6_socket'
ping6.c:(.text.ping+0x5e): undefined reference to `xgethostbyname2'
ping6.c:(.text.ping+0x63): undefined reference to `hostent'
ping6.c:(.text.ping+0x195): undefined reference to `hostent'
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] 오류 1
make: *** [_all] 오류 2
각 함수 정의 된곳을 찾아 어 떤 설정이 필요한지 분석하고
그 설정이 되어있는지 확인하는것이 순서로 보입니다.