Ubuntu 12.04.1 ok335xs busybox-1.24.1 file system compiler errors and solutions

Source: Internet
Author: User
Tags builtin nslookup ipcalc

Ubuntu12.04.1Ok335xs busybox-1.24.1file system compilation errors and Solutions I. Reference document: Some errors in compiling BusyBox: http://blog.csdn.net/hshl1214/article/details/8668042second, busybox compiler hint: ... applets/usage_pod.c:in function ' main ': Applets/USAGE_POD.C: About:3: Warning:format Not astringLiteral and no format arguments [-wformat-Security] CC libbb/appletlib.o AR libbb/LIB.A CC Networking/INETD.O AR Networking/LIB.A CC Shell/ash.o CC Shell/hush.o AR Shell/LIB.A LINK busybox_unstripped Static linking against glibc, can't use--gc-sectionsTrying libraries:crypt m Failed:-WL,--start-group-lcrypt-lm-wl,--end-Group Output Of:arm-linux-gnueabihf-gcc-wall-wshadow-wwrite-strings-wundef-wstrict-prototypes-wunused-wunused-parameter- Wunused-function-wunused-value-wmissing-prototypes-wmissing-declarations-wno-format-security- wdeclaration-after-statement-wold-style-definition-fno-builtin-strlen-finline-limit=0-fomit-frame-pointer-ffunction-sections-fdata-sections-fno-guess-branch-probability-funsigned-Char-Static-libgcc-falign-functions=1-falign-jumps=1-falign-labels=1-falign-loops=1-fno-unwind-tables-fno-asynchronous-unwind-tables-fno-builtin-printf-os-Static-O busybox_unstripped-wl,--sort-common-wl,--sort-section,alignment-wl,--gc-sections-wl,--start-group applets/ built-inch. o archival/lib.a archival/libarchive/lib.a console-tools/lib.a coreutils/lib.a COREUTILS/LIBCOREUTILS/LIB.A DEBIANUTILS/LIB.A e2fsprogs/lib.a editors/lib.a findutils/lib.a init/lib.a libbb/lib.a libpwdgrp/lib.a loginutils/ LIB.A mailutils/lib.a miscutils/lib.a modutils/lib.a networking/lib.a networking/libiproute/lib.a networking/udhcp/ LIB.A printutils/lib.a procps/lib.a runit/lib.a selinux/lib.a shell/lib.a sysklogd/lib.a util-linux/lib.a util-linux/ VOLUME_ID/LIB.A archival/built-inch. O archival/libarchive/built-inch. O console-tools/built-inch. O coreutils/built-inch. O coreutils/libcoreutils/built-inch. O debianutils/built-inch. O e2fsprogs/built-inch. O editors/built-inch. O findutils/built-inch. O init/built-inch. O libbb/built-inch. O libpwdgrp/built-inch. O loginutils/built-inch. O mailutils/built-inch. O miscutils/built-inch. O modutils/built-inch. O networking/built-inch. O networking/libiproute/built-inch. O networking/udhcp/built-inch. O printutils/built-inch. O procps/built-inch. O runit/built-inch. O selinux/built-inch. O shell/built-inch. O sysklogd/built-inch. O util-linux/built-inch. O util-linux/volume_id/built-inch. O-WL,--end-group-wl,--start-group-lcrypt-lm-wl,--end-Group==========Networking/LIB.A (NSLOOKUP.O): in function ' Print_host':NSLOOKUP.C: (. text.print_host+0x24): warning:using'getaddrinfo' inchStatically linked applications requires at runtime the shared libraries fromThe glibc version used forlinking Debianutils/LIB.A (MKTEMP.O): in function ' Mktemp_main':MKTEMP.C: (. text.mktemp_main+0x54): warning:the use of ' mktemp'is dangerous, better use ' mkstemp'or ' mkdtemp'NETWORKING/LIB.A (IPCALC.O): in function ' Ipcalc_main':IPCALC.C: (. text.ipcalc_main+0x15e): warning:using'gethostbyaddr' inchStatically linked applications requires at runtime the shared libraries fromThe glibc version used forlinking LIBBB/LIB.A (INET_COMMON.O): in function ' Inet_resolve':INET_COMMON.C: (. Text. Inet_resolve+0x32): warning:using'gethostbyname' inchStatically linked applications requires at runtime the shared libraries fromThe glibc version used forLinking Networking/LIB.A (INETD.O): in function ' Reread_config_file':INETD.C: (. text.reread_config_file+0x1a4): warning:using'Getservbyname' inchStatically linked applications requires at runtime the shared libraries fromThe glibc version used forLinking Networking/LIB.A (NETSTAT.O): in function ' Ip_port_str':NETSTAT.C: (. text.ip_port_str+0x28): warning:using'Getservbyport' inchStatically linked applications requires at runtime the shared libraries fromThe glibc version used forLinking Networking/LIB.A (INETD.O): in function ' Reread_config_file':INETD.C: (. text.reread_config_file+0x152): warning:using'Getrpcbyname' inchStatically linked applications requires at runtime the shared libraries fromThe glibc version used forLinking Networking/LIB.A (INETD.O): in function ' Unregister_rpc':INETD.C: (. text.unregister_rpc+0xc): Undefined reference to ' Pmap_unset'NETWORKING/LIB.A (INETD.O): in function ' Register_rpc':INETD.C: (. text.register_rpc+0x28): Undefined reference to ' Pmap_unset'INETD.C: (. text.register_rpc+0x3e): Undefined reference to ' Pmap_set'NETWORKING/LIB.A (INETD.O): in function ' PREPARE_SOCKET_FD':INETD.C: (. text.prepare_socket_fd+0x52): Undefined reference to ' Bindresvport'Collect2:error:ld returned1exit status Make:[Busybox_unstripped] Error1Third, the solution: Make Menuconfig Remove the following options: Networking utilities-> [] inetd (Internet Super Server)

Ubuntu 12.04.1 ok335xs busybox-1.24.1 file system compile errors and solutions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.