@binduli: Das Achtung am Anfang des Threads hast Du gelesen und dieses Problem ausgeschlossen, oder?
Nachdem ich die Firmware -12 eigentlich schonmal völlig problemlos kompiliert hatte, gibts plötzlich Probleme. Ich hatte die Patches 1-3 und den von supermicha verwendet, dabei dann Probleme.
Jetzt habe ich nochmal versucht, das Image völlig ohne Patches zu kompilieren und habe wieder den gleichen Fehler. Zwischenzeitlich hatte ich mal ein System-Update meines Debians gemacht, möglicherweise liegt es auch daran. Natürlich habe ich das Archiv neu entpackt.
Hier das Ende des Logfiles, in dem das erste Problem auftritt (C-Complier wird angeblich nicht gefunden):
Generell hört das make precompiled viermal auf, bis ich soweit bin, aber ich kann keinerlei Fehler in den Logfiles erkennen. Hier mal die letzten Zeilen der jeweiligen Files. Ist das normal, dass man make precompiled mehrmals aufrufen muss?
Hier meine Aufrufe:
make clean
make menuconfig
make precompiled
make precompiled
make precompiled
make precompiled
Nach diesem Aufruf komme ich bis zum oben geposteten Logfile.
Wenn ich dann weiter mache, komme ich hierher:
make precompiled
Wenn ich jetzt ein weiteres make precompiled starte, bricht es mit Fehlermeldung ab. Hier jetzt mal Anfang und Ende des Logfies
Wäre super, wenn mir da jemand helfen könnte. Vielen Dank schonmal
Grüße,
Martin
REPLACE KERNEL ist nicht aktviert. Sollte meine Config hilfreich sein, poste ich diese natürlich auch gerne, oder hänge sie an.
Nachdem ich die Firmware -12 eigentlich schonmal völlig problemlos kompiliert hatte, gibts plötzlich Probleme. Ich hatte die Patches 1-3 und den von supermicha verwendet, dabei dann Probleme.
Jetzt habe ich nochmal versucht, das Image völlig ohne Patches zu kompilieren und habe wieder den gleichen Fehler. Zwischenzeitlich hatte ich mal ein System-Update meines Debians gemacht, möglicherweise liegt es auch daran. Natürlich habe ich das Archiv neu entpackt.
Hier das Ende des Logfiles, in dem das erste Problem auftritt (C-Complier wird angeblich nicht gefunden):
Code:
make[3]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6/glibc-2.3.6/elf'
make[2]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6/glibc-2.3.6'
make[1]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6/build-glibc'
Cross-toolchain build complete. Result in /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/build/gcc-3.4.5-glibc-2.3.6/mipsel-unknown-linux-gnu.
No c++ compiler found; c++ compiler not tested.
testhello: C compiler can in fact build a trivial program.
touch source/crosstool-0.42/.installed
Command exited with non-zero status 2
Command being timed: "make --jobs=6 precompiled"
User time (seconds): 1224.59
System time (seconds): 197.54
Percent of CPU this job got: 100%
Elapsed (wall clock) time (h:mm:ss or m:ss): 23:29.77
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 233
Minor (reclaiming a frame) page faults: 59796068
Voluntary context switches: 311176
Involuntary context switches: 230229
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 2
Generell hört das make precompiled viermal auf, bis ich soweit bin, aber ich kann keinerlei Fehler in den Logfiles erkennen. Hier mal die letzten Zeilen der jeweiligen Files. Ist das normal, dass man make precompiled mehrmals aufrufen muss?
Hier meine Aufrufe:
make clean
make menuconfig
make precompiled
Code:
17:46:34 (68.37 KB/s) - `dl/fritzbox-lab-source-files-04.19.tar.bz2' saved [138591731]
real 33m3.618s
user 0m0.124s
sys 0m2.268s
Code:
./FRITZBox_Sources/FTP/inetutils-1.4.2+20040207/whois/
./FRITZBox_Sources/FTP/inetutils-1.4.2+20040207/whois/ChangeLog
./FRITZBox_Sources/FTP/inetutils-1.4.2+20040207/whois/Makefile.am
./FRITZBox_Sources/FTP/inetutils-1.4.2+20040207/whois/main.c
./FRITZBox_Sources/FTP/inetutils-1.4.2+20040207/whois/net.c
./FRITZBox_Sources/FTP/inetutils-1.4.2+20040207/whois/whois-servers
touch source/avm-gpl-04.19/.unpacked
real 1m8.887s
user 1m1.468s
sys 0m5.608s
Code:
linuxthreads_db/td_ta_get_nthreads.c
linuxthreads_db/td_thr_setsigpending.c
linuxthreads_db/Banner
linuxthreads_db/td_thr_tls_get_addr.c
linuxthreads_db/td_ta_get_stats.c
applying patch /home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/crosstool-0.42/patches/glibc-linuxthreads-2.3.6/glibc-linuxthreads-2.3.5-cygwin.patch
patching file linuxthreads/Makefile
for i in toolchain/make/kernel/crosstool/patches/*.patch; do \
[ -f $i ] || continue; \
patch -d source/crosstool-0.42/build/mipsel-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6 -p0 < $i; \
done
patching file glibc-2.3.6/csu/Makefile
touch source/crosstool-0.42/.unpacked2
real 18m40.259s
user 0m42.271s
sys 0m8.725s
Nach diesem Aufruf komme ich bis zum oben geposteten Logfile.
Wenn ich dann weiter mache, komme ich hierher:
make precompiled
Code:
make[5]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/binutils-2.16.91.0.6/binutils'
make[4]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/binutils-2.16.91.0.6/binutils'
make[3]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/binutils-2.16.91.0.6/binutils'
make[2]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/binutils-2.16.91.0.6'
make[1]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/binutils-2.16.91.0.6'
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC arch/mips/kernel/offset.s
CHK include/asm-mips/offset.h
UPD include/asm-mips/offset.h
make[2]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/ref-8mb_26-04.19/kernel/kernel_8mb_26_build/kernel/linux-2.6.13.1'
make[1]: Leaving directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/ref-8mb_26-04.19/kernel/kernel_8mb_26_build'
touch source/ref-8mb_26-04.19/kernel/.configured
Command exited with non-zero status 2
Command being timed: "make --jobs=6 precompiled"
User time (seconds): 5.96
System time (seconds): 1.69
Percent of CPU this job got: 91%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:08.37
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 2
Minor (reclaiming a frame) page faults: 460635
Voluntary context switches: 4993
Involuntary context switches: 3224
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 2
Wenn ich jetzt ein weiteres make precompiled starte, bricht es mit Fehlermeldung ab. Hier jetzt mal Anfang und Ende des Logfies
Code:
make[1]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[1]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28'
make[1]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
+ ./extra/scripts/fix_includes.sh -k /home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/ref-8mb_26-04.19/kernel/linux -t mips
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-strip: '/home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/../lib/libgcc_s.so.1': No such file
cp: cannot stat `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/../lib/libgcc_s.so.1': No such file or directory
make: *** [libgcc-installed] Error 1
make: *** Waiting for unfinished jobs....
+ TOPDIR=.
+ CC=/home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc
+ /bin/sh extra/scripts/gen_bits_syscall_h.sh
extra/scripts/gen_bits_syscall_h.sh: line 15: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: No such file or directory
extra/scripts/gen_bits_syscall_h.sh: line 18: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: No such file or directory
+ cmp include/bits/sysnum.h include/bits/sysnum.h.new
+ rm -f include/bits/sysnum.h.new
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc/sysdeps/linux/common'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc/sysdeps/linux/mips'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libresolv'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: *** [resolv.o] Error 127
make[1]: *** [_dir_libresolv] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libcrypt'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: *** [crypt.o] Error 127
make[1]: *** [_dir_libcrypt] Error 2
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/ldso'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libnsl'
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: *** [nsl.o] Error 127
make[1]: *** [_dir_libnsl] Error 2
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc/stdio'
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: *** [fclose.o] Error 127
make[2]: *** [_dir_stdio] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc/pwd_grp'
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: *** [fgetpwent_r.o] Error 127
make[2]: *** [_dir_pwd_grp] Error 2
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc/misc'
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: Entering directory `/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc-0.9.28/libc/string'
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: /home/xtomcatx/src/fritz/ds-0.2.9_26-12/toolchain/target/bin/mipsel-linux-uclibc-gcc: Command not found
make[3]: *** [basename.o] Error 127
make[2]: *** [_dir_string] Error 2
In file included from /home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/stdio.h:28,
from ../../gcc-4.1.0/gcc/tsystem.h:90,
from ../../gcc-4.1.0/gcc/crtstuff.c:68:
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/features.h:262:32: error: bits/uClibc_config.h: No such file or directory
In file included from ../../gcc-4.1.0/gcc/tsystem.h:90,
from ../../gcc-4.1.0/gcc/crtstuff.c:68:
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/stdio.h:36:25: error: bits/types.h: No such file or directory
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/stdio.h:72:31: error: bits/uClibc_stdio.h: No such file or directory
In file included from ../../gcc-4.1.0/gcc/tsystem.h:90,
from ../../gcc-4.1.0/gcc/crtstuff.c:68:
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/stdio.h:81: error: expected '=', ','
[ ..... ]
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/time.h:332: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timelocal'
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/time.h:349: error: expected ')' before '__clock_id'
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/time.h:352: error: expected ')' before '__clock_id'
/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/uClibc_dev//usr/include/time.h:355: error: expected ')' before '__clock_id'
make[2]: *** [crtend.o] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [/home/xtomcatx/src/fritz/ds-0.2.9_26-12/source/toolchain/gcc-4.1.0-initial/.compiled] Error 2
Command exited with non-zero status 2
Command being timed: "make --jobs=6 precompiled"
User time (seconds): 0.60
System time (seconds): 0.26
Percent of CPU this job got: 163%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.53
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 124056
Voluntary context switches: 960
Involuntary context switches: 528
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 2
Wäre super, wenn mir da jemand helfen könnte. Vielen Dank schonmal
Grüße,
Martin
REPLACE KERNEL ist nicht aktviert. Sollte meine Config hilfreich sein, poste ich diese natürlich auch gerne, oder hänge sie an.
Zuletzt bearbeitet: