wiki:CompileInetutils-1.9.1

Inetutils-1.9.1

  • Can be Compiled or Not? No
  • Package Download Link: http://ftp.gnu.org/gnu/inetutils/inetutils-1.9.1.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=inetutils-1.9.1
    export NACL_ARCH=x86_64
    export NACL_GLIBC=1
    export NACLPORTS_PREFIX=${REPY_PATH}/usr
    
    source ../naclports/src/build_tools/common.sh
    
    export NACL_SEL_LDR
    export NACL_IRT
    export NACL_SDK_LIB
    export CC=${NACLCC}
    export CXX=${NACLCXX}
    export AR=${NACLAR}
    export RANLIB=${NACLRANLIB}
    export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
    export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
    export FREETYPE_CONFIG=${NACLPORTS_PREFIX_BIN}/freetype-config
    export PATH=${NACL_BIN_PATH}:${PATH};
    
    export NETTLE_CFLAGS=${NACLPORTS_PREFIX}/include
    export GMP_CFLAGS=${NACLPORTS_PREFIX}/include
    
    conf_host=${NACL_CROSS_PREFIX}
    
    Banner "Configure inetutils-1.9.1"
    ChangeDir "../inetutils-1.9.1"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux
    make clean
    make
    
    
    
  • Remaining Problem:
    hostname.c:20:20: error: config.h: No such file or directory
    hostname.c:32:22: error: progname.h: No such file or directory
    hostname.c:33:26: error: libinetutils.h: No such file or directory
    hostname.c:34:20: error: xalloc.h: No such file or directory
    hostname.c:35:26: error: xgethostname.h: No such file or directory
    hostname.c:36:28: error: xgetdomainname.h: No such file or directory
    hostname.c: In function 'parse_opt':
    hostname.c:83: error: 'xgethostname' undeclared (first use in this function)
    hostname.c:83: error: (Each undeclared identifier is reported only once
    hostname.c:83: error: for each function it appears in.)
    hostname.c:115: error: 'xgetdomainname' undeclared (first use in this function)
    hostname.c: In function 'main':
    hostname.c:148: warning: implicit declaration of function 'set_program_name'
    hostname.c:153: warning: implicit declaration of function 'iu_argp_init'
    hostname.c:158: error: 'xgethostname' undeclared (first use in this function)
    hostname.c:160: error: 'xgetdomainname' undeclared (first use in this function)
    hostname.c: In function 'get_aliases':
    hostname.c:241: warning: implicit declaration of function 'xmalloc'
    hostname.c:241: warning: assignment makes pointer from integer without a cast
    hostname.c:258: warning: implicit declaration of function 'xrealloc'
    hostname.c:258: warning: assignment makes pointer from integer without a cast
    hostname.c: In function 'get_ip_addresses':
    hostname.c:297: warning: assignment makes pointer from integer without a cast
    hostname.c:317: warning: assignment makes pointer from integer without a cast
    hostname.c: In function 'get_short_hostname':
    hostname.c:359: warning: implicit declaration of function 'strndup'
    hostname.c:359: warning: incompatible implicit declaration of built-in function 'strndup'
    hostname.c: In function 'parse_file':
    hostname.c:383: warning: implicit declaration of function 'getline'
    hostname.c:389: warning: assignment makes pointer from integer without a cast
    make[2]: *** [hostname] Error 1
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/inetutils-1.9.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/inetutils-1.9.1'
    make: *** [all] Error 2
    
    
Last modified 4 years ago Last modified on Sep 24, 2013 8:22:12 PM