Hi,
ich bin dabei eine neue Noad Version zu erstellen. Dabei versuche ich verzweiflt eine neue ausführbare Datei zu erstellen. Der Linker findet einfach nicht Objektdateien und die Librarys.
Ich Übersetze und Linke noadd.cpp mit folendem Script:
Bash
#!/bin/sh
pwd
#`export CFLAGS="--sysroot=/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/dm7080/usr/lib"`
#`export LIBRARY_PATH=/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/dm7080/usr/lib`
mipsel-oe-linux-c++ -I/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/dm7080/usr/include -I/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/dm7080/usr/include/c++/5.3.0 -I/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/dm7080/usr/include/c++/5.3.0/mipsel-oe-linux noadd.cpp
mipsel-oe-linux-c++ -o noadd noadd.o -L/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/dm7080/usr/lib/
Es werden folgende Fehler ausgegeben:
Code
/u@/h:/w/$ ./compile
/home/tester/noad/ts/mips/tools
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crt1.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crti.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crtbegin.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lstdc++
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lm/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lgcc_s
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lgcc
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lc/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lgcc_s
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lgcc
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crtend.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crtn.o: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crt1.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crti.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find crtbegin.o: Datei oder Verzeichnis nicht gefunden
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lgcc_s
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find -lgcc
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find /lib/libc.so.6
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find /usr/lib/libc_nonshared.a
/home/tester/dreambox/2.5/opendreambox/build/dm7080/tmp-glibc/sysroots/x86_64-linux/usr/libexec/mipsel-oe-linux/gcc/mipsel-oe-linux/5.3.0/ld: cannot find /lib/ld.so.1
collect2: error: ld returned 1 exit status
Alles anzeigen
Es werden keine Librays und Objektdateien gefunden.
Hat jemand eine Idee wie ich dieses Problem lösen kann?
Viele Grüße
Aladin