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

freddy4711

Neuer User
Mitglied seit
7 Jul 2007
Beiträge
155
Punkte für Reaktionen
0
Punkte
0
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
 
Zuletzt bearbeitet:
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 [B]pth_p.h[/B] -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.
 
Ok...

kannst du mir dabei helfen, diese Abhängigkeiten ins Makefile einzubauen? Ich habe keine Ahnung wie ich das machen soll.
 
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
 
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.
 
In ./make/$pkg/patches/ angelegte Files werdne nach dem Entpacken automatisch angewendet. Schau dir dazu vielleicht mal ein paar andere Pakete an.
 
Alles klar.

Werde mir das mal anschauen.

Dankeschön.
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,695
Beiträge
2,216,697
Mitglieder
371,316
Neuestes Mitglied
realbluethunder
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.