nice für die Fritz!Box

mathisdt

Neuer User
Mitglied seit
29 Jan 2006
Beiträge
39
Punkte für Reaktionen
0
Punkte
0
Hallo,
hat einer von Euch ein busybox Binary für dir Fritz!Box, welches auch als "nice" und/oder "renice" aufgerufen werden kann? Das würd ich gern haben, aber ich kann dooferweise nix selbst kompilieren weil meine Toolchain sich nicht baut... Wäre einer bitte so nett?

Danke,
Mathis
:habenwol:​
 
:noidea: makeinfo und make sind beide voll da (siehe ganz unten), ich weiß auch nicht weiter.
Wie kann man denn die toolchain "clean" machen? Ich habe dafür kein Target gefunden...
Code:
(mathisdt) /temp/FRITZBOX/ds-0.2.7 # make toolchain
make -C /temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6 all
make[1]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6'
make[2]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6'
make[3]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/libiberty'
make[4]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/libiberty/testsuite'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/libiberty/testsuite'
make[3]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/libiberty'
make[3]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/intl'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/intl'
make[3]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd'
Making info in doc
make[4]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd/doc'
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && cd ../.././bfd/doc && \
        rm -rf $backupdir && mkdir $backupdir && \
        for f in ../.././bfd/doc/bfd.info ../.././bfd/doc/bfd.info-[0-9] ../.././bfd/doc/bfd.info-[0-9][0-9] ../.././bfd/doc/bfd.i[0-9] ../.././bfd/doc/bfd.i[0-9][0-9]; do \
          if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
        done; \
        cd "$am__cwd"; \
        if /temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/missing makeinfo --split-size=5000000 --split-size=5000000   -I ../.././bfd/doc \
         -o ../.././bfd/doc/bfd.info ../.././bfd/doc/bfd.texinfo; \
        then \
          rc=0; \
          cd ../.././bfd/doc; \
        else \
          rc=$?; \
          cd ../.././bfd/doc && \
          $restore $backupdir/* `echo "./../.././bfd/doc/bfd.info" | sed 's|[^/]*$||'`; \
        fi; \
        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]: *** [../.././bfd/doc/bfd.info] Fehler 1
make[4]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd/doc'
Making info in po
make[4]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd/po'
make[4]: Für das Ziel »info« ist nichts zu tun.
make[4]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd/po'
make[4]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd'
make[4]: Für das Ziel »info-am« ist nichts zu tun.
make[4]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd'
make[3]: *** [info-recursive] Fehler 1
make[3]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/bfd'
make[2]: *** [all-bfd] Fehler 2
make[2]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6'
make: *** [/temp/FRITZBOX/ds-0.2.7/source/toolchain/binutils-2.16.91.0.6/binutils/objdump] Fehler 2
(mathisdt) /temp/FRITZBOX/ds-0.2.7 # makeinfo --version
makeinfo (GNU texinfo) 4.8

Copyright (C) 2004 Free Software Foundation, Inc.
Es gibt KEINERLEI Garantie. Sie können diese Software unter den
Bedingungen der GNU General Public License weiterverteilen.
Für weiterführende Informationen zu diesen Fragen
konsultieren Sie bitte die Datei namens COPYING.
(mathisdt) /temp/FRITZBOX/ds-0.2.7 # make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu
(mathisdt) /temp/FRITZBOX/ds-0.2.7 #
 
Du musst das ganze Verzeichnis löschen. Ich weiß grad nicht genau welches. Vielleicht findest du es über die Suche.
Und das "make toolchain" von vorne starten.

MfG Oliver
 
Es fehlt das Paket texinfo. Installiere es und lösche mal die ganzen binutils Verzeichnisse unter /temp/FRITZBOX/ds-0.2.7/source/toolchain/. Danach sollte es mit `make toolchain' weitergehen.

Mfg,
danisahne
 
Texinfo habe ich nach dem ersten Auftreten des Fehlers sofort installiert, der Fehler blieb jedoch. Das Löschen des Verzeichnisses hat zumindest die binutils jetzt fertig bauen lassen.

Neuer Fehler:
Code:
(mathisdt) /temp/FRITZBOX/ds-0.2.7 # make toolchain
make -C /temp/FRITZBOX/ds-0.2.7/source/toolchain/uClibc-0.9.26 \
                PREFIX= \
                DEVEL_PREFIX=/ \
                RUNTIME_PREFIX=/ \
                HOSTCC="gcc" \
                all
make[1]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/uClibc-0.9.26'
make -C extra/config ncurses mconf
make[2]: Entering directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/uClibc-0.9.26/extra/config'
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c mconf.c -o mconf.o
mconf.c:104: error: static declaration of 'current_menu' follows non-static declaration
lkc.h:63: error: previous declaration of 'current_menu' was here
mconf.c: In function 'conf_string':
mconf.c:574: warning: pointer targets in passing argument 2 of 'sym_set_string_value' differ in signedness
mconf.c: In function 'conf_load':
mconf.c:595: warning: pointer targets in passing argument 1 of 'conf_read' differ in signedness
mconf.c: In function 'conf_save':
mconf.c:616: warning: pointer targets in passing argument 1 of 'conf_write' differ in signedness
make[2]: *** [mconf.o] Error 1
make[2]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/uClibc-0.9.26/extra/config'
make[1]: *** [extra/config/mconf] Fehler 2
make[1]: Leaving directory `/temp/FRITZBOX/ds-0.2.7/source/toolchain/uClibc-0.9.26'
make: *** [/temp/FRITZBOX/ds-0.2.7/source/toolchain/uClibc-0.9.26/lib/libc.a] Fehler 2
(mathisdt) /temp/FRITZBOX/ds-0.2.7 #

libncurses5-dev 5.5-2 ist installiert. Was tun?
 
Bis das mit dir und der toolchain klappt... :mrgreen:
Code:
/var/mod/root # ./busybox
BusyBox v1.2.0 (2006.07.30-12:18+0000) multi-call binary
Usage: busybox [function] [arguments]...
   or: [function] [arguments]...
        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!
Currently defined functions:
        [, [[, arping, ash, awk, basename, busybox, cat, chmod, chown,
        chroot, clear, cmp, cp, crond, crontab, cut, date, dd, df, dirname,
        dmesg, du, echo, egrep, env, ether-wake, expr, false, fgrep, find,
        free, ftpget, ftpput, getopt, grep, gunzip, gzip, halt, head,
        hexdump, hostid, hostname, httpd, id, ifconfig, init, insmod,
        install, ip, kill, killall, klogd, ln, logger, login, logname,
        logread, ls, lsmod, md5sum, mkdir, mkfifo, mknod, modprobe, more,
        mount, mv, nc, netstat, nice, nohup, nslookup, od, passwd, pidof,
        ping, pivot_root, poweroff, printf, ps, pwd, rdate, realpath,
        reboot, renice, reset, rm, rmdir, rmmod, route, sed, sh, sha1sum,
        sleep, sort, strings, stty, sync, sysctl, syslogd, tail, tar,
        tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute,
        true, umount, uname, uniq, uptime, usleep, uudecode, uuencode,
        vi, wc, wget, which, xargs, yes, zcat
/var/mod/root #
MfG Oliver
 

Anhänge

  • busybox.tar.gz
    246.7 KB · Aufrufe: 18
heini66 schrieb:
versuchs mal, den ds-mod nochmal komplett neu aufzubauen.
bei nem neu aufgesetzem system, bei denen texinfo libncurses5-dev oder sysutils während des build der toolchain fehlte auch schon die merkwürdigsten fehler beim build der toolchain gehabt...
dauert zwar, :( hat mir aber schon geholfen.
Hat mir auch geholfen! :D Jetzt habe ich eine Toolchain! Busybox folgt hoffentlich auch bald...

Mathis
 
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.