wiki:CompileProcps-ng-3.3.8

Procps-ng-3.3.8

  • Can be Compiled or Not? No
  • Package Download Link: http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-3.3.8.tar.xz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fprocps-ng%2F&ts=1380064154&use_mirror=hivelocity
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=procps-ng-3.3.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 procps-ng-3.3.8"
    ChangeDir "../procps-ng-3.3.8"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux --without-ncurses
    make clean
    make
    
    
  • Remaining Problem:
    display.o: In function `main':
    display.c:(.text+0x63c): warning: warning: sigaction is not implemented and will always fail
    display.o: In function `signal_handler':
    display.c:(.text+0x178a): warning: warning: kill is not implemented and will always fail
    stacktrace.o: In function `stack_trace':
    stacktrace.c:(.text+0xbc): warning: warning: fork is not implemented and will always fail
    display.o: In function `main':
    display.c:(.text+0x85c): undefined reference to `rpl_malloc'
    display.c:(.text+0x10bc): undefined reference to `rpl_malloc'
    display.c:(.text+0x155c): undefined reference to `rpl_malloc'
    parser.o: In function `parse_list':
    parser.c:(.text+0x3bc): undefined reference to `rpl_malloc'
    parser.c:(.text+0x3fc): undefined reference to `rpl_malloc'
    parser.o:parser.c:(.text+0x1fbc): more undefined references to `rpl_malloc' follow
    ../proc/.libs/libprocps.a(alloc.o): In function `xrealloc':
    alloc.c:(.text+0x27c): undefined reference to `rpl_realloc'
    collect2: ld returned 1 exit status
    make[2]: *** [pscommand.nexe] Error 1
    make[2]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/procps-ng-3.3.8/ps'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/larrycane/Code/LIND/LIND_BASE/procps-ng-3.3.8'
    make: *** [all] Error 2
    
    
Last modified 4 years ago Last modified on Sep 24, 2013 7:19:53 PM