Seite 4 von 8 ErsteErste 12345678 LetzteLetzte
Ergebnis 61 bis 80 von 156

Thema: Crosscompiler mit danisahne Mod

  1. #61
    IPPF-Einsteiger
    Registriert seit
    01.03.2006
    Beiträge
    19

    Crosscompiler auf SuSE 9.3

    Hi,

    ich wollte kurz berichten, daß das "Zusammenbauen" des Crosscompilers aus dem danisahne-mod 02.rc7 auf meiner SuSE 9.3 x86_64 Kiste (gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux))--nach einer kleineren Hürde--erfolgreich war.

    Die Hürde: Im ersten Anlauf war 'makeinfo' nicht verfügbar und der build brach mit einer Fehlermeldung ab. Nachinstallieren des Texinfo-Pakets brachte keinen Erfolg da 'makeinfo' beim build immer noch nicht gefunden wurde. Erneutes Auspacken von 'ds-0.2rc7.tar.bz2' und kopieren des 'dl' Verzeichnisses (damit nicht wieder alle sources downgeloaded werden müssen) brachte Erfolg. Ich vermute aber es gibt einen einfacheren und/oder schnelleren Weg als alles nochmal zu compilieren?

    Probelauf:
    • Download von 'tar' Version 1.15.1 von hier
    • Configure mit './configure --target=mipsel-linux --host=mipsel-linux' gibt zwar folgende Warnung:
      Code:
      configure: WARNING: If you wanted to set the --build type, don't use --host. 
      If a cross compiler is detected then cross compile mode will be used.
      läuft aber durch.
    • 'make' lief auch und das Binary funktioniert, nach erstem Test, ordentlich auf meiner FBF. Note: habe die von danisahne weiter oben vorgeschlagenen CFLAGS verwendet. Die Box läuft noch mit Original-Firmware.

    Gruß,
    tungdil

    P.S.: Wenn der Post hier fehl am Platz ist, dann bitte verschieben oder auch löschen. Danke!
    Router: FRITZ!Box Fon WLAN 7050 (UI), Firmware-Version 14.04.01
    Anbindung: 1&1 DSL 2000 (2087 kBit/s down, 203 kBit/s up)
    Analog: Siemens euroset 815s & Panasonic KX-TCD445
    LAN A SuSE Linux 9.3 x86_64 --- LAN B SuSE Linux 9.3 i386
    WLAN keine Windose mehr dank ndiswrapper weil der FRITZ!WLAN USB Stick damit sogar WPA2 unter Linux kann

  2. #62
    Gesperrt Avatar von heini66
    Registriert seit
    12.03.2005
    Ort
    irgendwo im wald im kreuz von hh und lg
    Beiträge
    2.163
    Zitat Zitat von olistudent
    Das Package baut die libiw.so.27 doch, oder hab ich das falsch gesehen?
    Die musst du dann noch nach "/mod/lib" kopieren.

    MfG Oliver
    jo, thxs! läuft!
    Geändert von heini66 (07.03.2006 um 10:14 Uhr)

  3. #63
    Gesperrt Avatar von heini66
    Registriert seit
    12.03.2005
    Ort
    irgendwo im wald im kreuz von hh und lg
    Beiträge
    2.163
    kubuntu linux, ds-mod 02.

    make toolchain

    rm -rf $backupdir; exit $rc
    WARNING: `makeinfo' is missing on your system. You should only need it if
    you modified a `.texi' or `.texinfo' file, or any other file
    indirectly affecting the aspect of the manual. The spurious
    call might also be the consequence of using a buggy `make' (AIX,
    DU, IRIX). You might want to install the `Texinfo' package or
    the `GNU make' package. Grab either from any GNU archive site.
    make[4]: *** [../../../binutils-2.16.91.0.6/bfd/doc/bfd.info] Fehler 1
    make[4]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd/doc«
    Making info in po
    make[4]: Gehe in Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd/po«
    make[4]: Für das Ziel »info« ist nichts zu tun.
    make[4]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd/po«
    make[4]: Gehe in Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd«
    make[4]: Für das Ziel »info-am« ist nichts zu tun.
    make[4]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd«
    make[3]: *** [info-recursive] Fehler 1
    make[3]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd«
    make[2]: *** [all-bfd] Fehler 2
    make[2]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build«
    make[1]: *** [all] Fehler 2
    make[1]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build«
    make: *** [/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/binutils/objdump] Fehler 2

    texinfo ist drauf.

    gcc --version
    gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
    Copyright (C) 2005 Free Software Foundation, Inc.
    Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
    gibt KEINE Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE.


    kann das einer lösen?

  4. #64
    IPPF-Einsteiger
    Registriert seit
    01.03.2006
    Beiträge
    19
    Hallo,

    das schaut mir ähnlich aus wie bei mir unter SuSE (siehe weiter oben). Ich hatte techinfo nachinstalliert. Das half aber nichts, da es kein 'configure' gibt und 'make' das 'makeinfo' nicht findet (vermutlich beim ersten Durchlauf "falsch" gesetzte Variable). Nach Entpacken der Quellen in ein neues Verzeichnis lief der build durch.

    Gruß,
    tungdil


    Zitat Zitat von heini66
    kubuntu linux, ds-mod 02.

    make toolchain

    rm -rf $backupdir; exit $rc
    WARNING: `makeinfo' is missing on your system. You should only need it if
    you modified a `.texi' or `.texinfo' file, or any other file
    indirectly affecting the aspect of the manual. The spurious
    call might also be the consequence of using a buggy `make' (AIX,
    DU, IRIX). You might want to install the `Texinfo' package or
    the `GNU make' package. Grab either from any GNU archive site.
    make[4]: *** [../../../binutils-2.16.91.0.6/bfd/doc/bfd.info] Fehler 1
    make[4]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd/doc«
    Making info in po
    make[4]: Gehe in Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd/po«
    make[4]: Für das Ziel »info« ist nichts zu tun.
    make[4]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd/po«
    make[4]: Gehe in Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd«
    make[4]: Für das Ziel »info-am« ist nichts zu tun.
    make[4]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd«
    make[3]: *** [info-recursive] Fehler 1
    make[3]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/bfd«
    make[2]: *** [all-bfd] Fehler 2
    make[2]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build«
    make[1]: *** [all] Fehler 2
    make[1]: Verlasse Verzeichnis »/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build«
    make: *** [/home/xtc/ds-0.2/source/toolchain/binutils-2.16.91.0.6-build/binutils/objdump] Fehler 2

    texinfo ist drauf.

    gcc --version
    gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
    Copyright (C) 2005 Free Software Foundation, Inc.
    Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
    gibt KEINE Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE.


    kann das einer lösen?
    Router: FRITZ!Box Fon WLAN 7050 (UI), Firmware-Version 14.04.01
    Anbindung: 1&1 DSL 2000 (2087 kBit/s down, 203 kBit/s up)
    Analog: Siemens euroset 815s & Panasonic KX-TCD445
    LAN A SuSE Linux 9.3 x86_64 --- LAN B SuSE Linux 9.3 i386
    WLAN keine Windose mehr dank ndiswrapper weil der FRITZ!WLAN USB Stick damit sogar WPA2 unter Linux kann

  5. #65
    IPPF-Fan
    Registriert seit
    05.11.2005
    Beiträge
    115
    ich habs gerade under cgywin nochmal versucht die toolchain zu erstellen, aber er hat nach 4 std abgebrochen mit der Fehlermeldung die im screenshot steht :@
    Angehängte Grafiken Angehängte Grafiken
    Router: Fritz!Box Fon Wlan 7050 - 14.04.01ds-0.2
    Telefon: Panasonic KX-T2070G-E, Siemens Gigaset
    VoIP: 1&1
    Anbindung: DSL mit 3130 down / 406 up

  6. #66
    IPPF-Fan
    Registriert seit
    05.11.2005
    Beiträge
    115
    könnte bitte mal jemand was dazu sagen, ich hab keine ahnung warum er abbricht, würd aber gerne eigene sachen kompillieren
    Router: Fritz!Box Fon Wlan 7050 - 14.04.01ds-0.2
    Telefon: Panasonic KX-T2070G-E, Siemens Gigaset
    VoIP: 1&1
    Anbindung: DSL mit 3130 down / 406 up

  7. #67
    Semi-Moderator Avatar von danisahne
    Registriert seit
    30.07.2005
    Ort
    Marktoberdorf
    Beiträge
    1.493
    Zitat Zitat von Becka
    könnte bitte mal jemand was dazu sagen, ich hab keine ahnung warum er abbricht, würd aber gerne eigene sachen kompillieren
    Keine Ahnung, die Fehlermeldung sagt mir nichts. Ich baue die Toolchain immer mit einem echten Linux.

    Router: SMC 7008 BR hinter Fritz!Box Fon WLAN 7050 (UI) FW: 14.04.15ds-0.2.8
    Provider: 1und1 DSL 6000 mit (leider nur) 3130/406 kbps (Down/Up)

  8. #68
    IPPF-Fan
    Registriert seit
    05.11.2005
    Beiträge
    115
    hmm wenn nichmal du weist woher die kommt werd ich wohl ne vm erstellen müssen zum kompillieren
    Router: Fritz!Box Fon Wlan 7050 - 14.04.01ds-0.2
    Telefon: Panasonic KX-T2070G-E, Siemens Gigaset
    VoIP: 1&1
    Anbindung: DSL mit 3130 down / 406 up

  9. #69
    IPPF-Fan
    Registriert seit
    26.09.2004
    Beiträge
    492
    moin,

    ich versuch so wie ein paar Beiträge weiter oben beschrieben tar zu erstellen, aber es will mir einfach nicht gelingen.....


    Wenn beim "./configure --target=mipsel-linux --host=mipsel-linux" das rauskommst:

    checking for mipsel-linux-strip... no
    checking for mipsel-linux-gcc... no

    Da stimmt doch was nicht....???

    Hier mal die Ausgabe:
    Code:
    root@2[tar-1.15.1]# ./configure --target=mipsel-linux --host=mipsel-linux
    configure: WARNING: If you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used.
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for mipsel-linux-strip... no
    checking for strip... strip
    checking for style of include used by make... GNU
    checking for mipsel-linux-gcc... no
    checking for 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 dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for AIX... no
    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 minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking for mipsel-linux-gcc... gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for mipsel-linux-ranlib... no
    checking for ranlib... ranlib
    checking for bison... bison -y
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGE_FILES value needed for large files... no
    checking for library containing strerror... none required
    checking for inline... inline
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking linux/fd.h usability... yes
    checking linux/fd.h presence... yes
    checking for linux/fd.h... yes
    checking for memory.h... (cached) yes
    checking net/errno.h usability... no
    checking net/errno.h presence... no
    checking for net/errno.h... no
    checking sgtty.h usability... yes
    checking sgtty.h presence... yes
    checking for sgtty.h... yes
    checking for string.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/device.h usability... no
    checking sys/device.h presence... no
    checking for sys/device.h... no
    checking sys/gentape.h usability... no
    checking sys/gentape.h presence... no
    checking for sys/gentape.h... no
    checking sys/inet.h usability... no
    checking sys/inet.h presence... no
    checking for sys/inet.h... no
    checking sys/io/trioctl.h usability... no
    checking sys/io/trioctl.h presence... no
    checking for sys/io/trioctl.h... no
    checking sys/mtio.h usability... yes
    checking sys/mtio.h presence... yes
    checking for sys/mtio.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking sys/tprintf.h usability... no
    checking sys/tprintf.h presence... no
    checking for sys/tprintf.h... no
    checking sys/tape.h usability... no
    checking sys/tape.h presence... no
    checking for sys/tape.h... no
    checking for unistd.h... (cached) yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for sys/buf.h... no
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking whether sys/types.h defines makedev... yes
    checking whether stat file-mode macros are broken... no
    checking for ANSI C header files... (cached) yes
    checking for struct stat.st_blksize... yes
    checking for struct stat.st_blocks... yes
    checking for st_fstype string in struct stat... no
    checking return type of signal handlers... void
    checking for mode_t... yes
    checking for pid_t... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for uid_t in sys/types.h... yes
    checking for major_t... no
    checking for minor_t... no
    checking for dev_t... yes
    checking for ino_t... yes
    checking for ssize_t... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for long long... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unsigned long long... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for long double... yes
    checking whether clearerr_unlocked is declared... yes
    checking whether feof_unlocked is declared... yes
    checking whether ferror_unlocked is declared... yes
    checking whether fflush_unlocked is declared... yes
    checking whether fgets_unlocked is declared... yes
    checking whether fputc_unlocked is declared... yes
    checking whether fputs_unlocked is declared... yes
    checking whether fread_unlocked is declared... yes
    checking whether fwrite_unlocked is declared... yes
    checking whether getc_unlocked is declared... yes
    checking whether getchar_unlocked is declared... yes
    checking whether putc_unlocked is declared... yes
    checking whether putchar_unlocked is declared... yes
    checking for flockfile... yes
    checking for funlockfile... yes
    checking for isascii... yes
    checking for gettimeofday... yes
    checking for setlocale... yes
    checking for iswprint... yes
    checking for mbsinit... yes
    checking features.h usability... yes
    checking features.h presence... yes
    checking for features.h... yes
    checking linewrap.h usability... no
    checking linewrap.h presence... no
    checking for linewrap.h... no
    checking for unistd.h... (cached) yes
    checking for fcntl.h... (cached) yes
    checking for sys/param.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking wctype.h usability... yes
    checking wctype.h presence... yes
    checking for wctype.h... yes
    checking utime.h usability... yes
    checking utime.h presence... yes
    checking for utime.h... yes
    checking for d_ino member in directory struct... yes
    checking whether system is Windows or MSDOS... no
    checking for long file names... yes
    checking for unistd.h... (cached) yes
    checking for working chown... yes
    checking whether chown(2) dereferences symlinks... yes
    checking whether strerror_r is declared... yes
    checking for strerror_r... yes
    checking whether strerror_r returns char *... yes
    checking for an ANSI C-conforming const... yes
    checking for mbstate_t... yes
    checking whether getcwd (NULL, 0) allocates memory for result... yes
    checking whether getcwd is declared... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for struct timespec... yes
    checking for nanoseconds member of struct stat.st_mtim... tv_nsec
    checking whether nanosleep is declared... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for library containing clock_gettime... -lrt
    checking for clock_gettime... yes
    checking for clock_settime... yes
    checking for struct tm.tm_gmtoff... yes
    checking for unsigned long long... (cached) yes
    checking for nl_langinfo and CODESET... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... mipsel-unknown-linux-gnu
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking for stdlib.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for alarm... yes
    checking for working mktime... yes
    checking whether closedir returns void... no
    checking whether utime accepts a null argument... yes
    checking for struct utimbuf... yes
    checking whether strtoimax is declared... yes
    checking whether strtoumax is declared... yes
    checking whether program_invocation_name is declared... yes
    checking whether program_invocation_short_name is declared... yes
    checking for pathconf... yes
    checking for error_at_line... yes
    checking for struct stat.st_blocks... (cached) yes
    checking for working GNU fnmatch... yes
    checking for ftruncate... yes
    checking whether getcwd handles long file names properly... yes
    checking for struct tm.tm_zone... yes
    checking for getline... yes
    checking for working getline function... yes
    checking OS.h usability... no
    checking OS.h presence... no
    checking for OS.h... no
    checking for getpagesize... yes
    checking whether gettimeofday clobbers localtime buffer... no
    checking for lchown... yes
    checking for mempcpy... yes
    checking for memset... yes
    checking for obstacks... yes
    checking for mbstate_t... (cached) yes
    checking whether mbrtowc and mbstate_t are properly declared... yes
    checking for C/C++ restrict keyword... __restrict
    checking for rmdir... yes
    checking for fchdir... yes
    checking for setenv... yes
    checking for unsetenv... yes
    checking for unsetenv() return type... int
    checking for stpcpy... yes
    checking for strcasecmp... yes
    checking for strncasecmp... yes
    checking for strchrnul... yes
    checking for strndup... yes
    checking for working strnlen... yes
    checking whether <inttypes.h> defines strtoimax as a macro... no
    checking for strtoimax... yes
    checking for strtol... yes
    checking for strtoll... yes
    checking for strtoul... yes
    checking for strtoull... yes
    checking whether <inttypes.h> defines strtoumax as a macro... no
    checking for strtoumax... yes
    checking sysexits.h usability... yes
    checking sysexits.h presence... yes
    checking for sysexits.h... yes
    checking whether localtime_r is compatible with its POSIX signature... yes
    checking for struct timespec... (cached) yes
    checking for nanoseconds member of struct stat.st_mtim... (cached) tv_nsec
    checking whether nanosleep is declared... (cached) yes
    checking for struct stat.st_spare1... no
    checking for struct stat.st_atim.tv_nsec... yes
    checking for struct stat.st_atimespec.tv_nsec... no
    checking for struct stat.st_atimensec... no
    checking for library containing clock_gettime... (cached) -lrt
    checking for clock_gettime... (cached) yes
    checking for fsync... yes
    checking for lstat... yes
    checking for mkfifo... yes
    checking for readlink... yes
    checking for strerror... yes
    checking for symlink... yes
    checking for setlocale... (cached) yes
    checking for utimes... yes
    checking whether getgrgid is declared... yes
    checking whether getpwuid is declared... yes
    checking whether time is declared... yes
    checking for library containing setsockopt... none required
    checking for library containing setsockopt... (cached) none required
    checking for waitpid... yes
    checking for remote shell... /usr/bin/rsh
    checking for default archive format... GNU
    checking for default archive... -
    checking for default blocking... 20
    checking for sys/mtio.h... (cached) yes
    checking which ioctl field to test for reversed bytes... mt_type
    checking whether to build rmt... yes
    checking for remote tape header files... yes
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for iconv declaration...
             extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking iconv.h usability... yes
    checking iconv.h presence... yes
    checking for iconv.h... yes
    checking for iconv_t... yes
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking whether NLS is requested... yes
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    configure: creating ./config.status
    config.status: creating tests/Makefile
    config.status: creating tests/atlocal
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating lib/Makefile
    config.status: creating po/Makefile.in
    config.status: creating scripts/Makefile
    config.status: creating rmt/Makefile
    config.status: creating src/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing default-1 commands
    config.status: creating po/POTFILES
    config.status: creating po/Makefile
    config.status: executing tests/atconfig commands
    root@2[tar-1.15.1]#
    Und das kam nach make toolchain raus bei mir:

    Code:
    # Strip the host binaries
    strip --strip-all -R .note -R .comment /home/knoppix/ds-0.2.2/toolchain/build/gcc-4.1.0-uClibc-0.9.26/mipsel-linux-uclibc/bin/*
    strip: /home/knoppix/ds-0.2.2/toolchain/build/gcc-4.1.0-uClibc-0.9.26/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gccbug: File format not recognized
    make: [/home/knoppix/ds-0.2.2/source/toolchain/gcc-4.1.0-final/.installed] Fehler 1 (ignoriert)
    # Set up the symlinks to enable lying about target name.
    set -e; \
            ( cd /home/knoppix/ds-0.2.2/toolchain/build/gcc-4.1.0-uClibc-0.9.26/mipsel-linux-uclibc; \
                    ln -sf mipsel-linux-uclibc mipsel-linux; \
                    cd bin; \
                    for app in mipsel-linux-uclibc-* ; do \
                            ln -sf ${app} \
                            mipsel-linux${app##mipsel-linux-uclibc}; \
                    done; \
            );
    touch /home/knoppix/ds-0.2.2/source/toolchain/gcc-4.1.0-final/.installed
    
    FINISHED: toolchain/kernel/ - glibc compiler for the kernel
              toolchain/target/ - uClibc compiler for the userspace
    Wer kann mir helfen???
    Alice DSL 5Mbit / ISDN - AVM FritzBox 7270 v2 Firmware 54.04.88freetz-devel-6740 - Voyage Debian 5.0 auf Alix 2D13 - Https, MySql, Asterisk 1.8 per Netcapi und Fritz!Load 0.40

  10. #70
    Semi-Moderator Avatar von danisahne
    Registriert seit
    30.07.2005
    Ort
    Marktoberdorf
    Beiträge
    1.493
    1. Du solltest auch noch --build=<dein-gnu-host-name> (z.B. --build=i386-pc-linux-gnu)
    2. Der Cross-Compiler wurde erstellt, aber du scheinst beim Kompilieren den Pfad nicht zu setzen, das configure Skript kann also den Compiler nicht finden. Das einfachste ist
      Code:
      export PATH=/path/to/ds-0.x.y/toolchain/target/bin:$PATH
      so dass der Aufruf
      Code:
      mipsel-linux-gcc -v
      genau so ohne Pfadangaben klappt. Jetzt versuch nochmal das configure Skript laufen zu lassen und achte darauf, dass er den Cross-Compiler findet.

    Mfg,
    danisahne

    Router: SMC 7008 BR hinter Fritz!Box Fon WLAN 7050 (UI) FW: 14.04.15ds-0.2.8
    Provider: 1und1 DSL 6000 mit (leider nur) 3130/406 kbps (Down/Up)

  11. #71
    IPPF-Fan
    Registriert seit
    26.09.2004
    Beiträge
    492
    Code:
    export PATH=/path/to/ds-0.x.y/toolchain/target/bin:$PATH
    Das war es!!!! Jetzt geht es!!! Vielen Dank!!!

    Wie kann man eigentlich jetzt ein Binary mit static links und ohne shared libs erstellen?

    Tar sagt auf der Fritz Box:
    ./tar: can't load library 'libgcc_s.so.1'


    Bei file tar kommt:
    Code:
    tar: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
    Und so sollte es aussehen:
    Code:
    ivcall: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), statically linked, not stripped
    Was muss ich machen?

    DANKE!!!!

    Gruß
    mastertester
    Geändert von mastertester (29.03.2006 um 10:36 Uhr)
    Alice DSL 5Mbit / ISDN - AVM FritzBox 7270 v2 Firmware 54.04.88freetz-devel-6740 - Voyage Debian 5.0 auf Alix 2D13 - Https, MySql, Asterisk 1.8 per Netcapi und Fritz!Load 0.40

  12. #72
    Semi-Moderator Avatar von danisahne
    Registriert seit
    30.07.2005
    Ort
    Marktoberdorf
    Beiträge
    1.493
    Versuch mal:
    Code:
    LDFLAGS=-static ./configure [...]

    Router: SMC 7008 BR hinter Fritz!Box Fon WLAN 7050 (UI) FW: 14.04.15ds-0.2.8
    Provider: 1und1 DSL 6000 mit (leider nur) 3130/406 kbps (Down/Up)

  13. #73
    IPPF-Fan
    Registriert seit
    26.09.2004
    Beiträge
    492
    Ich danke Dir danisahne!!!!

    Jetzt geht es!!! Was hat es eigentlich mit diesem not stripped auf sich???


    Gruß
    mastertester
    Alice DSL 5Mbit / ISDN - AVM FritzBox 7270 v2 Firmware 54.04.88freetz-devel-6740 - Voyage Debian 5.0 auf Alix 2D13 - Https, MySql, Asterisk 1.8 per Netcapi und Fritz!Load 0.40

  14. #74
    Semi-Moderator Avatar von olistudent
    Registriert seit
    19.10.2004
    Ort
    Kaiserslautern
    Beiträge
    14.292
    Mit strip bzw. mipsel-linux-strip kannst du unnötige Symbol aus Binaries strippen. => Binary wird kleiner

    @danisahne
    Was muss ich den als configure-option einstellen, wenn ich ein Library kompilieren will, das dann mit "make install" in den Pfad der toolchain installiert werden soll? prefix?


    MfG Oliver
    Router: Fritz!Box Fon WLAN 7570, 7390, 7320, 7270, 3170
    Anbindung: T-Online DSL 16.000 RAM

    Visit ##fritzbox on Freenode for help
    Spenden für Freetz

  15. #75
    Semi-Moderator Avatar von danisahne
    Registriert seit
    30.07.2005
    Ort
    Marktoberdorf
    Beiträge
    1.493
    Zitat Zitat von olistudent
    Was muss ich den als configure-option einstellen, wenn ich ein Library kompilieren will, das dann mit "make install" in den Pfad der toolchain installiert werden soll? prefix?
    Bei configure mußt du das Prefix wie er auf der Fritzbox sein soll angeben und bei `make install' das Prefix der toolchain (siehe ./make/libs/*.mk).

    Kann mir jemand sagen, warum ich immer wenn ich dynamisch linke trotz -static-libgcc die libgcc_s.so als Abhängigkeit reinbekomme?

    Mfg,
    danisahne

    Router: SMC 7008 BR hinter Fritz!Box Fon WLAN 7050 (UI) FW: 14.04.15ds-0.2.8
    Provider: 1und1 DSL 6000 mit (leider nur) 3130/406 kbps (Down/Up)

  16. #76
    Semi-Moderator Avatar von olistudent
    Registriert seit
    19.10.2004
    Ort
    Kaiserslautern
    Beiträge
    14.292
    Zitat Zitat von danisahne
    Kann mir jemand sagen, warum ich immer wenn ich dynamisch linke trotz -static-libgcc die libgcc_s.so als Abhängigkeit reinbekomme?
    Das hab ich auch noch nicht verstanden. Manchmal muss es unter LDFLAGS und manchmal unter CFLAGS. Hängt das mit dem Aufruf des Linkers zusammen?
    Manchmal wird über gcc gelinkt und ein anderes mal über ld.

    MfG Oliver
    Router: Fritz!Box Fon WLAN 7570, 7390, 7320, 7270, 3170
    Anbindung: T-Online DSL 16.000 RAM

    Visit ##fritzbox on Freenode for help
    Spenden für Freetz

  17. #77
    IPPF-Fan
    Registriert seit
    26.09.2004
    Beiträge
    492
    nach einem Neustart ist leider diese Einstellung wieder weg:

    Code:
    export PATH=/path/to/ds-0.x.y/toolchain/target/bin:$PATH
    Wenn ich das denn eingebe geht zwar das Cross Compilen, aber danach findet er andere Module aus meiner Installation nicht mehr....

    Kann es sein, dass sie das nicht verträgt? Wie bringe ich "export PATH=/path/to/ds-0.x.y/toolchain/target/bin:$PATH" fest in meinem System unter?

    Das ist doch so wie früher in der autoexec.bat die PATH Angabe!?

    Wo ist die Konfigurationsdatei in Linux dafür?

    Kann ich das dort einfach mit einbauen?

    Und was muss ich das nächste mal bei make toolchain angeben, dass diese Einstellung gleich mit übernommen wird???


    Gruß
    mastertester
    Alice DSL 5Mbit / ISDN - AVM FritzBox 7270 v2 Firmware 54.04.88freetz-devel-6740 - Voyage Debian 5.0 auf Alix 2D13 - Https, MySql, Asterisk 1.8 per Netcapi und Fritz!Load 0.40

  18. #78
    Semi-Moderator Avatar von olistudent
    Registriert seit
    19.10.2004
    Ort
    Kaiserslautern
    Beiträge
    14.292
    Hi.
    Diese Zeile gehört in die .bashrc, die befindet sich in deinem Home-Verzeichnis.

    MfG Oliver
    Router: Fritz!Box Fon WLAN 7570, 7390, 7320, 7270, 3170
    Anbindung: T-Online DSL 16.000 RAM

    Visit ##fritzbox on Freenode for help
    Spenden für Freetz

  19. #79
    IPPF-Fan
    Registriert seit
    26.09.2004
    Beiträge
    492
    Danke Oli!

    Ich versuche z.Z. ivcall mit spandsp und libtiff zu erstellen.

    Habe ganz normal mit
    Code:
    ./configure, make, make install
    libtiff und spandsp installiert.

    Bei ivcall wird per:
    Code:
     ./configure
    die spandsp.h gefunden, wenn ich aber per
    Code:
    ./configure --host=miplse-linux --target=mipsel-linx
    versuche das ganze durch den cross Compiler laufen zu lassen, findet er die spandsp.h nicht.


    Was muss ich beim erstellen der Packete beachten?

    Habe auch schon versucht libtiff und spandsp per cross Compiler zu erstellen, aber das funktionierte nicht, da spandsp die per cross Compiler erstellte libtiff nicht finden konnte....

    Gruß
    mastertester
    Alice DSL 5Mbit / ISDN - AVM FritzBox 7270 v2 Firmware 54.04.88freetz-devel-6740 - Voyage Debian 5.0 auf Alix 2D13 - Https, MySql, Asterisk 1.8 per Netcapi und Fritz!Load 0.40

  20. #80
    Semi-Moderator Avatar von olistudent
    Registriert seit
    19.10.2004
    Ort
    Kaiserslautern
    Beiträge
    14.292
    Genau das war meine Frage hier.
    Wie es jetzt wirklich geht, habe ich noch nicht probiert. Ich hab dann das Header-File immer ins Verzeichnis kopiert und den Source angepasst. Und die lib dann noch per Hand in die toolchain...
    Mit "make install" wäre das natürlich etwas eleganter.

    MfG Oliver
    Router: Fritz!Box Fon WLAN 7570, 7390, 7320, 7270, 3170
    Anbindung: T-Online DSL 16.000 RAM

    Visit ##fritzbox on Freenode for help
    Spenden für Freetz

Ähnliche Themen

  1. Crosscompiler nutzen
    Von mode im Forum Freetz
    Antworten: 3
    Letzter Beitrag: 20.07.2008, 17:16
  2. Crosscompiler
    Von the_ncw im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 21
    Letzter Beitrag: 19.02.2007, 15:53
  3. Crosscompiler
    Von derdanielder im Forum D-Link
    Antworten: 1
    Letzter Beitrag: 18.12.2006, 02:55
  4. Wieder mal Crosscompiler
    Von klez im Forum Freetz
    Antworten: 5
    Letzter Beitrag: 30.03.2006, 16:31
  5. Crosscompiler für Fritz!box?
    Von Dck1D im Forum FRITZ!Box Fon: Modifikationen
    Antworten: 19
    Letzter Beitrag: 07.03.2006, 16:46

Berechtigungen

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