[gelöst] 7240 / 7270: Build failed ref-ur8-8mb_26-7270_04.80

caldir65

Neuer User
Mitglied seit
26 Jun 2008
Beiträge
145
Punkte für Reaktionen
0
Punkte
16
Hallo,

ich versuche gerade, für meine 7240 eine neue Freetz-FW zu bauen - leider bricht ein make immer mit dem gleichen Fehler ab, selbst wenn ich in der config via Menue nur den Typ auf 7240 (7270 alien 7240) ändere und sonst alles unverändert lasse.

Code:
mipsel-unknown-linux-gnu-gcc: Success
make[1]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/kernel/ref-ur8-8mb_26-7270_04.80/linux-2.6.19.2'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-mips
  CC      arch/mips/kernel/asm-offsets.s
mipsel-unknown-linux-gnu-gcc: Success
make[2]: *** [arch/mips/kernel/asm-offsets.s] Fehler 1
make[1]: *** [prepare0] Fehler 2
make[1]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/kernel/ref-ur8-8mb_26-7270_04.80/linux-2.6.19.2'

ERROR: Build failed.
make: *** [source/kernel/ref-ur8-8mb_26-7270_04.80/.depend_done] Fehler 1

Ich versuche zur Zeit aus dem Trunk zu bauen mit der Rev. 5475.

Gruß, Christoph
 

Anhänge

  • .config.txt
    21 KB · Aufrufe: 6
Zuletzt bearbeitet:
Gib mal folgendes ein:
Code:
make kernel-toolchain-distclean
make
Läuft es jetzt durch?

MfG Oliver
 
Hallo Oliver,

nein, leider auch nicht - nur der Fehler ist ein anderer ...

Code:
make[1]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/kernel/ref-ur8-8mb_26-7270_04.80/linux-2.6.19.2'
scripts/kconfig/conf -s arch/mips/Kconfig
net/ipv4/netfilter/Kconfig:693:warning: leading whitespace ignored
sound/arm/Kconfig:42:warning: 'select' used by config symbol 'SND_OMAP_AIC23' refer to undefined symbol 'OMAP_MCBSP'
sound/arm/Kconfig:57:warning: 'select' used by config symbol 'SND_OMAP_TSC2101' refer to undefined symbol 'OMAP_MCBSP'
sound/oss/Kconfig:872:warning: 'select' used by config symbol 'SOUND_DAVINCI' refer to undefined symbol 'DAVINCI_MCBSP'
drivers/usb/core/Kconfig:80:warning: defaults for choice values not supported
make[1]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/kernel/ref-ur8-8mb_26-7270_04.80/linux-2.6.19.2'
make[1]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/kernel/ref-ur8-8mb_26-7270_04.80/linux-2.6.19.2'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-mips
  CC      arch/mips/kernel/asm-offsets.s
  GEN     include/asm-mips/asm-offsets.h
make[1]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/kernel/ref-ur8-8mb_26-7270_04.80/linux-2.6.19.2'
touch source/kernel/ref-ur8-8mb_26-7270_04.80/.depend_done
touch -c /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libc.a
for i in ld-uClibc-0.9.29.so ld-uClibc.so.0 libc.so libc.so.0 libcrypt-0.9.29.so libcrypt.so libcrypt.so.0 libdl-0.9.29.so libdl.so libdl.so.0 libm-0.9.29.so libm.so libm.so.0 libnsl-0.9.29.so libnsl.so libnsl.so.0 libpthread-0.9.29.so libpthread.so libpthread.so.0 libresolv-0.9.29.so libresolv.so libresolv.so.0 librt-0.9.29.so librt.so librt.so.0 libthread_db-0.9.29.so libthread_db.so libthread_db.so.1 libuClibc-0.9.29.so libutil-0.9.29.so libutil.so libutil.so.0 ; do \
                cp -a /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/lib/$i packages/target-mipsel_uClibc-0.9.29/root/lib/$i; \
        done
ln -sf libuClibc-0.9.29.so packages/target-mipsel_uClibc-0.9.29/root/lib/libc.so
touch -c packages/target-mipsel_uClibc-0.9.29/root/lib/libc.so.0
mkdir -p packages/target-mipsel_uClibc-0.9.29/root/lib/
cp -a /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/mipsel-linux-uclibc/lib/libgcc_s* packages/target-mipsel_uClibc-0.9.29/root/lib/
/home/christoph/Downloads/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-strip --remove-section={.comment,.note,.pdr} packages/target-mipsel_uClibc-0.9.29/root/lib/libgcc_s.so.1
tar -C /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel  -xzf dl/ccache-2.4.tar.gz
touch /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/.unpacked
# WARNING - this will break if the toolchain is moved.
# Should probably patch things to use a relative path.
sed -i -e "s,getenv(\"CCACHE_PATH\"),\"/home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin-ccache\",g" \
                /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/execute.c
sed -i -e "s,getenv(\"CCACHE_DIR\"),\"/home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/var/cache\",g" \
                /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/ccache.c
mkdir -p /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/cache
touch /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/.patched
mkdir -p /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/
( cd /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4; rm -f config.cache; \
                CC="gcc" \
                ./configure \
                --target=mipsel-unknown-linux-gnu \
                --host=x86_64-pc-linux-gnu \
                --build=x86_64-pc-linux-gnu \
                --prefix=/usr \
        );
configure: Configuring ccache
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for realpath... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for mkstemp... yes
checking for gethostname... yes
checking for getpwuid... yes
checking for compar_fn_t in stdlib.h... yes
checking for C99 vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
touch /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/.configured
make -j2 CC="gcc" -C /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4
make[1]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4'
gcc -g -O2 -Wall -W -I.   -c -o ccache.o ccache.c
gcc -g -O2 -Wall -W -I.   -c -o mdfour.o mdfour.c
ccache.c: In function ‘tmp_string’:
ccache.c:146: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -W -I.   -c -o hash.o hash.c
gcc -g -O2 -Wall -W -I.   -c -o execute.o execute.c
gcc -g -O2 -Wall -W -I.   -c -o util.o util.c
gcc -g -O2 -Wall -W -I.   -c -o args.o args.c
util.c: In function ‘x_asprintf’:
util.c:151: warning: ignoring return value of ‘vasprintf’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -W -I.   -c -o stats.o stats.c
stats.c: In function ‘write_stats’:
stats.c:94: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -W -I.   -c -o cleanup.o cleanup.c
gcc -g -O2 -Wall -W -I.   -c -o snprintf.o snprintf.c
gcc -g -O2 -Wall -W -I.   -c -o unify.o unify.c
gcc -g -O2 -Wall -W -I. -o ccache ccache.o mdfour.o hash.o execute.o util.o args.o stats.o cleanup.o snprintf.o unify.o
make[1]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4'
mkdir -p /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/usr/bin
mkdir -p /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/var/cache
cp /home/christoph/Downloads/freetz-trunk/source/toolchain/kernel/ccache-2.4/ccache /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/usr/bin/ccache
# Keep the actual toolchain binaries in a directory at the same level.
# Otherwise, relative paths for include dirs break.
mkdir -p /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin-ccache
(cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin-ccache; \
                ln -fs mipsel-unknown-linux-gnu-gcc mipsel-linux-gcc; \
                ln -fs mipsel-unknown-linux-gnu-gcc mipsel-linux-cc; \
                ln -fs mipsel-unknown-linux-gnu-gcc mipsel-unknown-linux-gnu-cc);
[ -f /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin/mipsel-unknown-linux-gnu-gcc ] && \
                mv /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin/mipsel-unknown-linux-gnu-gcc /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin-ccache/
( cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin-ccache; \
                        ln -fs mipsel-unknown-linux-gnu-gcc mipsel-linux-gcc; \
                        ln -fs mipsel-unknown-linux-gnu-gcc mipsel-linux-cc; \
                        ln -fs mipsel-unknown-linux-gnu-gcc mipsel-linux-uclibc-cc \
                ); \
                ( cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin; \
                        ln -fs ../usr/bin/ccache mipsel-linux-cc; \
                        ln -fs ../usr/bin/ccache mipsel-linux-gcc; \
                        ln -fs ../usr/bin/ccache mipsel-unknown-linux-gnu-cc; \
                        ln -fs ../usr/bin/ccache mipsel-unknown-linux-gnu-gcc);
tar -C /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29  -xzf dl/ccache-2.4.tar.gz
touch /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/.unpacked
# WARNING - this will break if the toolchain is moved.
# Should probably patch things to use a relative path.
sed -i -e "s,getenv(\"CCACHE_PATH\"),\"/home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache\",g" \
                /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/execute.c
sed -i -e "s,getenv(\"CCACHE_DIR\"),\"/home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/var/cache\",g" \
                /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/ccache.c
mkdir -p /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/cache
touch /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/.patched
mkdir -p /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/
( cd /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4; rm -f config.cache; \
                CC=gcc \
                ./configure \
                --target=x86_64-pc-linux-gnu \
                --host=x86_64-pc-linux-gnu \
                --build=x86_64-pc-linux-gnu \
                --prefix=/usr \
                 \
        );
configure: Configuring ccache
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for realpath... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for mkstemp... yes
checking for gethostname... yes
checking for getpwuid... yes
checking for compar_fn_t in stdlib.h... yes
checking for C99 vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
touch /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/.configured
make -j2 CC=gcc -C /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4
make[1]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4'
gcc -g -O2 -Wall -W -I.   -c -o ccache.o ccache.c
gcc -g -O2 -Wall -W -I.   -c -o mdfour.o mdfour.c
ccache.c: In function ‘tmp_string’:
ccache.c:146: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -W -I.   -c -o hash.o hash.c
gcc -g -O2 -Wall -W -I.   -c -o execute.o execute.c
gcc -g -O2 -Wall -W -I.   -c -o util.o util.c
util.c: In function ‘x_asprintf’:
util.c:151: warning: ignoring return value of ‘vasprintf’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -W -I.   -c -o args.o args.c
gcc -g -O2 -Wall -W -I.   -c -o stats.o stats.c
gcc -g -O2 -Wall -W -I.   -c -o cleanup.o cleanup.c
stats.c: In function ‘write_stats’:
stats.c:94: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -W -I.   -c -o snprintf.o snprintf.c
gcc -g -O2 -Wall -W -I.   -c -o unify.o unify.c
gcc -g -O2 -Wall -W -I. -o ccache ccache.o mdfour.o hash.o execute.o util.o args.o stats.o cleanup.o snprintf.o unify.o
make[1]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4'
mkdir -p /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin
mkdir -p /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/var/cache
cp /home/christoph/Downloads/freetz-trunk/source/toolchain/target/gcc-4.2.4-uClibc-0.9.29/ccache-2.4/ccache /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/ccache
# Keep the actual toolchain binaries in a directory at the same level.
# Otherwise, relative paths for include dirs break.
mkdir -p /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache
(cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache; \
                ln -fs mipsel-linux-uclibc-gcc mipsel-linux-gcc; \
                ln -fs mipsel-linux-uclibc-gcc mipsel-linux-cc; \
                ln -fs mipsel-linux-uclibc-gcc mipsel-linux-uclibc-cc; \
        )
[ -f /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/mipsel-linux-uclibc-gcc ] && \
                mv /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/mipsel-linux-uclibc-gcc \
                        /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache/
(cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin; \
                        ln -fs ccache mipsel-linux-cc; \
                        ln -fs ccache mipsel-linux-gcc; \
                        ln -fs ccache mipsel-linux-uclibc-cc; \
                        ln -fs ccache mipsel-linux-uclibc-gcc; \
        )
[ -f /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/mipsel-linux-uclibc-c++ ] && \
                mv /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/mipsel-linux-uclibc-c++ \
                        /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache/
[ -f /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/mipsel-linux-uclibc-g++ ] && \
                mv /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin/mipsel-linux-uclibc-g++ \
                        /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache/
(cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin; \
                ln -fs ccache mipsel-linux-c++; \
                ln -fs ccache mipsel-linux-g++;\
                ln -fs ccache mipsel-linux-uclibc-c++; \
                ln -fs ccache mipsel-linux-uclibc-g++; \
        )
(cd /home/christoph/Downloads/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/bin-ccache; \
                ln -fs mipsel-linux-uclibc-c++ mipsel-linux-c++; \
                ln -fs mipsel-linux-uclibc-g++ mipsel-linux-g++; \
        )
preparing... tar -C source/target-mipsel_uClibc-0.9.29  -xjf dl/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30.tar.bz2
set -e; shopt -s nullglob; for i in make/libs/patches/*.uclibcxx.patch; do tools/freetz_patch source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30 $i; done
applying patch file make/libs/patches/009-compile_fixes.uclibcxx.patch
patching file include/associative_base
patching file include/string
patching file src/string.cpp
----------------------------------------------------------------------
applying patch file make/libs/patches/300-bin-Makefile.uclibcxx.patch
patching file bin/Makefile
----------------------------------------------------------------------
applying patch file make/libs/patches/400-eabi_fix.uclibcxx.patch
patching file include/typeinfo
patching file include/unwind-cxx.h
----------------------------------------------------------------------
applying patch file make/libs/patches/900-dependent_exception.uclibcxx.patch
patching file src/eh_alloc.cpp
patching file include/unwind-cxx.h
----------------------------------------------------------------------
cp make/libs/Config.uclibc++ source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/.config
sed -i -r -e 's%^(# )?(UCLIBCXX_HAS_LFS)[ =].*%\2=y%g' source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/.config
touch source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/.configured
cmd() { PATH="/home/christoph/Downloads/freetz-trunk/toolchain/target/bin:/home/christoph/Downloads/freetz-trunk/toolchain/kernel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" LD_RUN_PATH="/usr/lib/freetz" make -j2  "$@"  || { printf "\n\\033[33m%s\\033[m\n" "ERROR: Build failed.";  exit 1; } };       if [ -e source/.echo_item_start -a ! -e source/.echo_item_build ]; then echo -n "building... "; touch source/.echo_item_build; fi; cmd -C source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30 \
                ARCH_CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
                CROSS="mipsel-linux-uclibc-" \
                all
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
make[1]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30'
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
make[2]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/extra/config'
make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
hinzufügen.
cp zconf.tab.h_shipped zconf.tab.h
gcc -O2 -Wall -I. -c conf.c -o conf.o
conf.c: In function ‘conf_askvalue’:
conf.c:93: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
conf.c: In function ‘conf_choice’:
conf.c:349: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
cp zconf.tab.c_shipped zconf.tab.c
cp lex.zconf.c_shipped lex.zconf.c
gcc -O2 -Wall -I. -c zconf.tab.c -o zconf.tab.o
lex.zconf.c:2969: warning: ‘input’ defined but not used
gcc  conf.o zconf.tab.o -o conf
make[2]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/extra/config'
#
# using defaults found in .config
#
.config:4: trying to assign nonexistent symbol TARGET_alpha
.config:5: trying to assign nonexistent symbol TARGET_arm
.config:6: trying to assign nonexistent symbol TARGET_i386
.config:7: trying to assign nonexistent symbol TARGET_mips
.config:8: trying to assign nonexistent symbol TARGET_parisc
.config:9: trying to assign nonexistent symbol TARGET_powerpc
.config:10: trying to assign nonexistent symbol TARGET_x86_64
.config:15: trying to assign nonexistent symbol TARGET_ARCH
.config:16: trying to assign nonexistent symbol ARCH_SUPPORTS_LITTLE_ENDIAN
.config:17: trying to assign nonexistent symbol ARCH_CFLAGS
.config:18: trying to assign nonexistent symbol ARCH_SUPPORTS_BIG_ENDIAN
.config:19: trying to assign nonexistent symbol CONFIG_MIPS_ISA_1
.config:20: trying to assign nonexistent symbol CONFIG_MIPS_ISA_2
.config:21: trying to assign nonexistent symbol CONFIG_MIPS_ISA_3
.config:22: trying to assign nonexistent symbol CONFIG_MIPS_ISA_4
.config:23: trying to assign nonexistent symbol CONFIG_MIPS_ISA_MIPS32
.config:24: trying to assign nonexistent symbol CONFIG_MIPS_ISA_MIPS64
.config:25: trying to assign nonexistent symbol ARCH_LITTLE_ENDIAN
.config:26: trying to assign nonexistent symbol ARCH_BIG_ENDIAN
*
* uClibc++ Configuration
*
*
* Target Features and Options
*
Enable floating point number support (UCLIBCXX_HAS_FLOATS) [Y/n/?] y
  Math operations with long double (UCLIBCXX_HAS_LONG_DOUBLE) [N/y/?] n
Toolchain supports Thread-Local Storage (UCLIBCXX_HAS_TLS) [N/y/?] n
Compiler Warnings (WARNINGS) [] 
Extra Library Link Flags (BUILD_EXTRA_LIBRARIES) [] 
*
* String and I/O Stream Support
*
Wide Character Support (Not Currently Supported) (UCLIBCXX_HAS_WCHAR) [N/y/?] n
I/O stream buffer size (UCLIBCXX_IOSTREAM_BUFSIZE) [32] 32
Large File Support (UCLIBCXX_HAS_LFS) [Y/n/?] y
Enable support for standard streams like cin and cout (UCLIBCXX_SUPPORT_CDIR) [Y/n/?] y
  Enable cin (UCLIBCXX_SUPPORT_CIN) [Y/n/?] y
  Enable cout (UCLIBCXX_SUPPORT_COUT) [Y/n/?] y
  Enable cerr (UCLIBCXX_SUPPORT_CERR) [Y/n/?] y
  Enable clog (UCLIBCXX_SUPPORT_CLOG) [N/y/?] n
*
* STL and Code Expansion
*
STL buffer size (UCLIBCXX_STL_BUFFER_SIZE) [32] 32
Template code expansion (UCLIBCXX_CODE_EXPANSION) [Y/n/?] y
  Expand constructors and destructors (UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS) [N/y/?] n
  Expand std::basic_string for <char> (UCLIBCXX_EXPAND_STRING_CHAR) [Y/n/?] y
  Expand std::vector for basic data types (UCLIBCXX_EXPAND_VECTOR_BASIC) [Y/n/?] y
  Expand ios core code for char (UCLIBCXX_EXPAND_IOS_CHAR) [N/y/?] n
  Expand std::streambuf for char (UCLIBCXX_EXPAND_STREAMBUF_CHAR) [N/y/?] n
  Expand std::istream for <char> (UCLIBCXX_EXPAND_ISTREAM_CHAR) [Y/n/?] y
  Expand std::ostream for <char> (UCLIBCXX_EXPAND_OSTREAM_CHAR) [Y/n/?] y
  Expand std::fstream for <char> (UCLIBCXX_EXPAND_FSTREAM_CHAR) [Y/n/?] y
  Expand std::sstream for <char> (UCLIBCXX_EXPAND_SSTREAM_CHAR) [N/y/?] n
*
* Library Installation Options
*
uClibc++ runtime prefix directory (UCLIBCXX_RUNTIME_PREFIX) [] 
uClibc++ header file subdirectory (UCLIBCXX_RUNTIME_INCLUDE_SUBDIR) [/include/uClibc++] /include/uClibc++
uClibc++ library subdirectory (UCLIBCXX_RUNTIME_LIB_SUBDIR) [/lib] /lib
uClibc++ application file subdirectory (UCLIBCXX_RUNTIME_BIN_SUBDIR) [/bin] /bin
Exception and RTTI support (UCLIBCXX_EXCEPTION_SUPPORT) [Y/n/?] y
  Import libsupc++.a (IMPORT_LIBSUP) [Y/n/?] y
  Import libgcc_eh.a (IMPORT_LIBGCC_EH) [N/y/?] n
Build static library (BUILD_STATIC_LIB) [Y/n/?] y
  Build only static library (BUILD_ONLY_STATIC_LIB) [N/y/?] n
Build uClibc++ with debugging symbols (DODEBUG) [N/y/?] n
for dir in bin include src ; do \
                make -C $dir all; \
        done
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
make[2]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/bin'
echo "#!/bin/sh" > g++-uc
echo "" >> g++-uc
echo 'WRAPPER_INCLUDEDIR="${WRAPPER_INCLUDEDIR:=-I/include/uClibc++/}"' >> g++-uc
echo 'WRAPPER_LIBDIR="${WRAPPER_LIBDIR:=-L/lib/}"' >> g++-uc
echo "" >> g++-uc
echo "WRAPPER_LIBS=\" -L -lc -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed\"" >> g++-uc
echo "" >> g++-uc
echo 'WRAPPER_INCLIB=$(echo " $@ " | sed -ne "s/.* -\([cES]\|MF\) .*/NO/p;t;aYES")' >> g++-uc
echo 'WRAPPER_STATIC=$(echo " $@ " | sed -ne "s/.* -static .*/YES/p;t;aNO")' >> g++-uc
echo 'if [ "$WRAPPER_STATIC" = "YES" ]' >> g++-uc
echo 'then' >> g++-uc
echo "  WRAPPER_LIBS=\" -L -lc -lgcc -lgcc_eh\"" >> g++-uc
echo 'fi' >> g++-uc
echo 'if [ "$WRAPPER_INCLIB" = "YES" ]' >> g++-uc
echo 'then' >> g++-uc
echo '  exec mipsel-linux-uclibc-g++ -fno-builtin -nostdinc++   $WRAPPER_INCLUDEDIR "$@" -nodefaultlibs $WRAPPER_LIBDIR -luClibc++ $WRAPPER_LIBS' >> g++-uc
echo 'fi' >> g++-uc
echo "" >> g++-uc
echo 'exec mipsel-linux-uclibc-g++ -fno-builtin -nostdinc++   $WRAPPER_INCLUDEDIR "$@"' >> g++-uc
chmod 755 g++-uc
make[2]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/bin'
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
make[2]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/include'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/include'
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
make[2]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/src'
make -C abi/libsupc all
WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc   -Wno-trigraphs -pedantic   -ansi  -O2 -fPIC -o algorithm.o -c algorithm.cpp
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-g++: No such file or directory
make[2]: *** [algorithm.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
mipsel-linux-uclibc-gcc: No such file or directory
make[3]: Betrete Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/src/abi/libsupc'
mipsel-linux-uclibc-ar x 
Usage: mipsel-linux-uclibc-ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
       mipsel-linux-uclibc-ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new file(s) into the archive
  t            - display contents of archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name] (same as [i])
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [u]          - only replace files that are newer than current archive contents
 generic modifiers:
  [c]          - do not warn if the library had to be created
  [s]          - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
 emulation options: 
  No emulation specific options
mipsel-linux-uclibc-ar: supported targets: elf32-tradlittlemips elf32-tradbigmips ecoff-littlemips ecoff-bigmips elf32-ntradlittlemips elf64-tradlittlemips elf32-ntradbigmips elf64-tradbigmips elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex binary ihex
make[3]: *** [libsupc] Fehler 1
make[3]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/src/abi/libsupc'
make[2]: *** [libsupc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/src'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/christoph/Downloads/freetz-trunk/source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30'

ERROR: Build failed.
make: *** [source/target-mipsel_uClibc-0.9.29/uClibc++-5976d7536d8c7a8d5a7f60fd2a3c34876a224f30/src/libuClibc++-0.2.3.so] Fehler 1

Gruß, Christoph
 
Code:
make target-toolchain-distclean
make
:)
MfG Oliver
 
Hallo Oliver,

danke, jetzt ist's durchgelaufen.

Gruß, Christoph
 

Statistik des Forums

Themen
245,006
Beiträge
2,222,656
Mitglieder
371,782
Neuestes Mitglied
Linope
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.