wiki:CompileE2fsprogs-1.42.8

E2fsprogs-1.42.8

  • Can be Compiled or Not? No
  • Package Download Link: https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.42.8/e2fsprogs-1.42.8.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=e2fsprogs-1.42.8
    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 e2fsprogs-1.42.8"
    ChangeDir "../e2fsprogs-1.42.8"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux
    make clean
    make
    
    
  • Remaining Problem:
    chattr.c: In function ‘change_attributes’:
    chattr.c:196: error: storage size of ‘st’ isn’t known
    make[2]: *** [chattr.o] Error 1
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/e2fsprogs-1.42.8/misc'
    make[1]: *** [all-progs-recursive] Error 1
    make[1]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/e2fsprogs-1.42.8'
    make: *** [all] Error 2
    
    
Last modified 4 years ago Last modified on Sep 24, 2013 7:25:35 PM