wiki:CompileFindutils-4.4.2

Findutils-4.4.2

  • Can be Compiled or Not? No
  • Package Download Link: http://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=findutils-4.4.2
    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 findutils-4.4.2"
    ChangeDir "../findutils-4.4.2"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux
    make clean
    make
    
    
  • Remaining Problem:
    In file included from ./stdio.h:31,
                     from areadlink-with-size.c:25:
    /home/larrycane/Code/LIND/REPY_PATH/sdk/toolchain/linux_x86_glibc/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/include/stdio.h:720: error: expected declaration specifiers or ‘...’ before ‘(’ token
    /home/larrycane/Code/LIND/REPY_PATH/sdk/toolchain/linux_x86_glibc/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/include/stdio.h:720: error: conflicting types for ‘rpl_fseeko’
    ./stdio.h:275: note: previous declaration of ‘rpl_fseeko’ was here
    make[4]: *** [areadlink-with-size.o] Error 1
    make[4]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/findutils-4.4.2/gnulib/lib'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/findutils-4.4.2/gnulib/lib'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/findutils-4.4.2/gnulib'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/findutils-4.4.2'
    make: *** [all] Error 2
    
    
Last modified 4 years ago Last modified on Sep 24, 2013 10:07:50 PM