Ergebnis 1 bis 7 von 7

Thema: [gelöst] pth-2.0.7 - komisches Phänomen beim Make-Prozess

  1. #1
    IPPF-Fan
    Registriert seit
    07.07.2007
    Ort
    Karlsruhe
    Beiträge
    155

    [gelöst] pth-2.0.7 - komisches Phänomen beim Make-Prozess

    Hi...

    ich habe ein komisches Phänomen beim Bau der von libpth-2.0.7 entdeckt.

    Ich habe ein Freetz-Paket gebaut:

    make/libs/pth.mk
    Code:
    $(call PKG_INIT_LIB, 2.0.7)
    $(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
    $(PKG)_SITE:=ftp://ftp.gnu.org/gnu/pth
    $(PKG)_BINARY:=$($(PKG)_DIR)/.libs/libpth.so.*
    $(PKG)_STAGING_BINARY:=$(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/libpth.so.*
    $(PKG)_TARGET_BINARY:=$($(PKG)_TARGET_DIR)/libpth.so.*
    
    $(PKG_SOURCE_DOWNLOAD)
    $(PKG_UNPACKED)
    $(PKG_CONFIGURED_CONFIGURE)
    
    $($(PKG)_BINARY): $($(PKG)_DIR)/.configured
            PATH=$(TARGET_PATH) \
                    $(MAKE) -C $(PTH_DIR)
    
    $($(PKG)_STAGING_BINARY): $($(PKG)_BINARY)
            PATH=$(TARGET_PATH) $(MAKE) \
                    DESTDIR="$(TARGET_TOOLCHAIN_STAGING_DIR)" \
                    -C $(PTH_DIR) install
            $(PKG_FIX_LIBTOOL_LA) \
                    $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/libpth.la
    
    $($(PKG)_TARGET_BINARY): $($(PKG)_STAGING_BINARY)
            cp -a $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/libpth*.so* $(PTH_TARGET_DIR)/
            $(TARGET_STRIP) $@
    
    $(pkg): $($(PKG)_STAGING_BINARY)
    
    $(pkg)-precompiled: $($(PKG)_TARGET_BINARY)
    
    $(pkg)-clean:
            -$(MAKE) -C $(PTH_DIR) clean
            $(RM) $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/lib/libpth.* \
                    $(TARGET_TOOLCHAIN_STAGING_DIR)/usr/include/libpth.h
    
    $(pkg)-uninstall:
            $(RM) $(PTH_TARGET_DIR)/libpth*.so*
    
    $(PKG_FINISH)
    Beim 1. Aufruf des Make-Prozesses:
    Code:
    make pth-precompiled
    bricht dieser mit folgender Fehlermeldung ab:
    Code:
    touch source/pth-2.0.7/.configured
    PATH="/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin:/usr/lib/icecc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" \
                    make -j2 -C source/pth-2.0.7
    make[1]: Betrete Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    ./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#==' pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c pth_uctx.c pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c pth_high.c pth_ext.c pth_string.c pthread.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_uctx.c
    pth_uctx.c:31:19: error: pth_p.h: No such file or directory
    pth_uctx.c:37: error: expected specifier-qualifier-list before 'size_t'
    pth_uctx.c:45: error: expected ')' before '*' token
    pth_uctx.c:72: error: expected specifier-qualifier-list before 'pth_mctx_t'
    pth_uctx.c: In function 'pth_uctx_trampoline':
    pth_uctx.c:86: error: 'pth_uctx_trampoline_t' has no member named 'mctx_parent'
    pth_uctx.c:86: error: 'pth_uctx_trampoline_t' has no member named 'mctx_parent'
    pth_uctx.c:87: error: 'pth_uctx_trampoline_t' has no member named 'uctx_this'
    pth_uctx.c:87: error: 'pth_uctx_trampoline_t' has no member named 'uctx_this'
    pth_uctx.c:88: error: 'pth_uctx_trampoline_t' has no member named 'uctx_after'
    pth_uctx.c:88: error: 'pth_uctx_trampoline_t' has no member named 'uctx_after'
    pth_uctx.c:89: error: 'pth_uctx_trampoline_t' has no member named 'start_func'
    pth_uctx.c:89: error: 'pth_uctx_trampoline_t' has no member named 'start_func'
    pth_uctx.c:90: error: 'pth_uctx_trampoline_t' has no member named 'start_arg'
    pth_uctx.c:90: error: 'pth_uctx_trampoline_t' has no member named 'start_arg'
    pth_uctx.c:93: warning: implicit declaration of function 'pth_mctx_switch'
    pth_uctx.c:93: error: 'pth_uctx_trampoline_t' has no member named 'uctx_this'
    pth_uctx.c:93: error: 'pth_uctx_trampoline_t' has no member named 'mctx_parent'
    pth_uctx.c:96: error: 'pth_uctx_trampoline_t' has no member named 'start_func'
    pth_uctx.c:96: error: 'pth_uctx_trampoline_t' has no member named 'start_arg'
    pth_uctx.c:99: error: 'pth_uctx_trampoline_t' has no member named 'uctx_after'
    pth_uctx.c:99: error: 'NULL' undeclared (first use in this function)
    pth_uctx.c:99: error: (Each undeclared identifier is reported only once
    pth_uctx.c:99: error: for each function it appears in.)
    pth_uctx.c:100: warning: implicit declaration of function 'pth_mctx_restore'
    pth_uctx.c:100: error: 'pth_uctx_trampoline_t' has no member named 'uctx_after'
    pth_uctx.c:103: warning: implicit declaration of function 'exit'
    pth_uctx.c:103: warning: incompatible implicit declaration of built-in function 'exit'
    pth_uctx.c: At top level:
    pth_uctx.c:112: error: expected ')' before 'uctx'
    pth_uctx.c:168: error: expected ')' before 'uctx_from'
    pth_uctx.c:187: error: expected ')' before 'uctx'
    make[1]: *** [pth_uctx.lo] Fehler 1
    make[1]: *** Warte auf noch nicht beendete Prozesse...
    make[1]: Verlasse Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    make: *** [source/pth-2.0.7/.libs/libpth.so.*] Fehler 2
    Anschließend habe ich mehr zufällig den Vorgang ein 2-tes Mal wiederholt. Nun lief der Make-Prozess durch?!?
    Code:
    PATH="/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin:/usr/lib/icecc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" \
                    make -j2 -C source/pth-2.0.7
    make[1]: Betrete Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_debug.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_ring.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_pqueue.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_time.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_errno.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_mctx.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_uctx.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_tcb.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_sched.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_attr.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_lib.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_event.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_data.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_clean.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_cancel.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_msg.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_sync.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_fork.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_util.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_high.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_syscall.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_ext.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_compat.c
    ./libtool --mode=compile --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 pth_string.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_std.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_common.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_mp.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_misc.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_philo.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_sig.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_select.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_httpd.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_sfio.c
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -c -I. -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test_uctx.c
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99 -o libpth.la pth_debug.lo pth_ring.lo pth_pqueue.lo pth_time.lo pth_errno.lo pth_mctx.lo pth_uctx.lo pth_tcb.lo pth_sched.lo pth_attr.lo pth_lib.lo pth_event.lo pth_data.lo pth_clean.lo pth_cancel.lo pth_msg.lo pth_sync.lo pth_fork.lo pth_util.lo pth_high.lo pth_syscall.lo pth_ext.lo pth_compat.lo pth_string.lo \
            -rpath /usr/lib -version-info `./shtool version -lc -dlibtool pth_vers.c`
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_std test_std.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_mp test_mp.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_misc test_misc.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_philo test_philo.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_sig test_sig.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_select test_select.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_httpd test_httpd.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_sfio test_sfio.o test_common.o libpth.la -ldl -lnsl
    ./libtool --mode=link --quiet /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -std=gnu99  -o test_uctx test_uctx.o test_common.o libpth.la -ldl -lnsl
    make[2]: Betrete Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    
    Now please type `make test' to run a quick test suite. Hope it works.
    
    make[2]: Verlasse Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    make[1]: Verlasse Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    PATH="/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin:/usr/lib/icecc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" make -j2 \
                    DESTDIR="/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc" \
                    -C source/pth-2.0.7 install
    make[1]: Betrete Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    make[2]: Betrete Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr
    ./shtool install -c -m 755 pth-config /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/pth-config
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin
    ./shtool install -c -m 644 pth-config.1 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/share/man/man1/pth-config.1
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include
    ./shtool install -c -m 644 pth.3 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/share/man/man3/pth.3
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib
    ./shtool install -c -m 644 pth.m4 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/share/aclocal/pth.m4
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/share/man/man1
    ./shtool install -c -m 644 pth.h /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/include/pth.h
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/share/man/man3
    ./shtool mkdir -f -p -m 755 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/share/aclocal
    ./shtool install -c .libs/libpth.so.20.0.27 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth.so.20.0.27
    (cd /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib && { ln -s -f libpth.so.20.0.27 libpth.so.20 || { rm -f libpth.so.20 && ln -s libpth.so.20.0.27 libpth.so.20; }; })
    (cd /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib && { ln -s -f libpth.so.20.0.27 libpth.so || { rm -f libpth.so && ln -s libpth.so.20.0.27 libpth.so; }; })
    ./shtool install -c .libs/libpth.lai /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth.la
    ./shtool install -c .libs/libpth.a /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth.a
    chmod 644 /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth.a
    mipsel-linux-ranlib /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth.a
    libtool: install: warning: remember to run `libtool --finish /usr/lib'
    make[2]: Verlasse Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    make[2]: Betrete Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    
    Now please type `make test' to run a quick test suite. Hope it works.
    
    make[2]: Verlasse Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    make[1]: Verlasse Verzeichnis '/home/andreas/Programme/freetz/speedport.w701v/trunk/source/pth-2.0.7'
    sed -i -r -e "s,^libdir=('?)(.*)('?)$,libdir=\1/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc\2\3,g" -e "s,^includedir=('?)(.*)('?)$,includedir=\1/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc\2\3,g" -e "s,^prefix=('?)(.*)('?)$,prefix=\1/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc\2\3,g" -e "s,^exec_prefix=('?)(.*)('?)$,exec_prefix=\1/home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc\2\3,g" \
                    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth.la
    cp -a /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth*.so* root/usr/lib/
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-strip --remove-section={.comment,.note,.pdr} root/usr/lib/libpth.so.20
    cp -a /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpth*.so* root/usr/lib/
    /home/andreas/Programme/freetz/speedport.w701v/trunk/toolchain/target/bin/mipsel-linux-uclibc-strip --remove-section={.comment,.note,.pdr} root/usr/lib/libpth.so.20.0.27
    Kann jemand dies nachvollziehen, bzw. mir helfen, dieses Problem zu lösen?


    Gruß Andreas
    Geändert von freddy4711 (15.10.2009 um 11:02 Uhr)
    Standort A: Speedport W701v - freetz-stable-1.1 (AVM-Firewall, WebDAV, Dnsmasq, Dropbear, Inadyn-mt, Knock, openVPN, Privoxy, Syslogd, Tor)
    Standort B: Fritz!Box SL WLAN - freetz-stable-1.1 (AVM-Firewall, Dnsmasq, Dropbear, openVPN, Syslogd)

    Netze über openVPN miteinander verbunden...

  2. #2
    IPPF-Urgestein
    Registriert seit
    22.04.2007
    Beiträge
    10.992
    Vermutlich ist das Makefile von pth nicht für paralleles Make ausgelegt.
    Beim ersten Durchlauf fehlte die Datei pth_p.h, die vermutlich von diesem Commando erstellt wird:
    Code:
    ./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#==' pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c pth_uctx.c pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c pth_high.c pth_ext.c pth_string.c pthread.c
    Beim zweiten Mal existiert die Datei, und der Build läuft durch. Die korrekte Lösung ist, eine Abhängigkeit aller Object-Files auf pth_p.h in das Makefile einzubauen. Eine andere Lösung ist, kein paralleles Make zu verwenden.

  3. #3
    IPPF-Fan
    Registriert seit
    07.07.2007
    Ort
    Karlsruhe
    Beiträge
    155
    Ok...

    kannst du mir dabei helfen, diese Abhängigkeiten ins Makefile einzubauen? Ich habe keine Ahnung wie ich das machen soll.
    Standort A: Speedport W701v - freetz-stable-1.1 (AVM-Firewall, WebDAV, Dnsmasq, Dropbear, Inadyn-mt, Knock, openVPN, Privoxy, Syslogd, Tor)
    Standort B: Fritz!Box SL WLAN - freetz-stable-1.1 (AVM-Firewall, Dnsmasq, Dropbear, openVPN, Syslogd)

    Netze über openVPN miteinander verbunden...

  4. #4
    IPPF-Urgestein
    Registriert seit
    22.04.2007
    Beiträge
    10.992
    Du solltest es als Fehler an pth melden und hoffen, daß die es korrigieren. Du kannst auch oben $(MAKE) durch $(MAKE1) ersetzen.

    Ansonsten kannst Du in der Datei Makefile.in folgende Zeile anhängen:
    Code:
    pth_uctx.lo: pth_uctx.c pth_p.h

  5. #5
    IPPF-Fan
    Registriert seit
    07.07.2007
    Ort
    Karlsruhe
    Beiträge
    155
    Alles klar...

    ich werde heute Abend den Bug bei GNU pth melden.

    Das hinzufügen zum Makefile.in hat geklappt.

    Ich habe einen Patch für die Datei Makefile.in erstellt. Nun weiß ich jedoch nicht, wie ich den Patch ins Paket einbaue. Denn der Patch müsste ja nach dem entpacken von pth-2.0.7.tar.gz ausgeführt werden und ich weiß leider nicht wie ich das tue.
    Standort A: Speedport W701v - freetz-stable-1.1 (AVM-Firewall, WebDAV, Dnsmasq, Dropbear, Inadyn-mt, Knock, openVPN, Privoxy, Syslogd, Tor)
    Standort B: Fritz!Box SL WLAN - freetz-stable-1.1 (AVM-Firewall, Dnsmasq, Dropbear, openVPN, Syslogd)

    Netze über openVPN miteinander verbunden...

  6. #6
    IPPF-Fünftausend-VIP
    Registriert seit
    03.08.2007
    Ort
    BI
    Beiträge
    7.448
    In ./make/$pkg/patches/ angelegte Files werdne nach dem Entpacken automatisch angewendet. Schau dir dazu vielleicht mal ein paar andere Pakete an.
    Boxen: 7240, 7170, W900V, W701V jeweils mit mehr oder minder aktuellem Freetz-Trunk und irgendwelchen Modifizierungen.

    Aus aktuellem Anlaß: Support gehört ins Forum, IRC oder Trac-System, nicht in mein Postfach oder meine Messenger-Accounts.


    ICQ und andere Kontaktinformationen ab nun nur noch per PN.

  7. #7
    IPPF-Fan
    Registriert seit
    07.07.2007
    Ort
    Karlsruhe
    Beiträge
    155
    Alles klar.

    Werde mir das mal anschauen.

    Dankeschön.
    Standort A: Speedport W701v - freetz-stable-1.1 (AVM-Firewall, WebDAV, Dnsmasq, Dropbear, Inadyn-mt, Knock, openVPN, Privoxy, Syslogd, Tor)
    Standort B: Fritz!Box SL WLAN - freetz-stable-1.1 (AVM-Firewall, Dnsmasq, Dropbear, openVPN, Syslogd)

    Netze über openVPN miteinander verbunden...

Ähnliche Themen

  1. Komisches Phänomen...Asterisk ruft an
    Von Bundyfreak im Forum VoIP-Allgemein
    Antworten: 0
    Letzter Beitrag: 12.01.2011, 18:20
  2. Komisches Phänomen mit Umleitung über FritzBox
    Von ..:Dude:.. im Forum PBX-network
    Antworten: 3
    Letzter Beitrag: 17.03.2007, 15:22
  3. komisches Phänomen mit dem Telefonkabel
    Von macx979 im Forum Hardware für Softphones
    Antworten: 3
    Letzter Beitrag: 05.04.2006, 20:33
  4. Komisches Phänomen bei sipgate Anruf
    Von thepontifex im Forum Asterisk Allgemein
    Antworten: 0
    Letzter Beitrag: 16.08.2005, 16:48
  5. Komisches Phänomen
    Von lbrent im Forum sipgate
    Antworten: 2
    Letzter Beitrag: 04.11.2004, 10:18

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •