Opendchub auf der Fritz!Box 7170

mädchen

Neuer User
Mitglied seit
31 Okt 2007
Beiträge
15
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich habe ein kleines Porblem mit dem Compilieren von OpenDCHUB mit dem Cross-Compiler, welche ich mir vorher gebaut habe.

Wollte jetzt den OpenDCHUB compilieren und habe folgende Fehler, also bis jetzt:
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$ make
make all-recursive
make[1]: Entering directory `/home/slightly/Desktop/opendchub-0.7.15'
Making all in src
make[2]: Entering directory `/home/slightly/Desktop/opendchub-0.7.15/src'
gcc -g -O2 -o opendchub commands.o fileio.o main.o network.o perl_utils.o userlist.o utils.o xs_functions.o -Wl,-E -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -lcrypt -lnsl
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[2]: *** [opendchub] Fehler 1
make[2]: Leaving directory `/home/slightly/Desktop/opendchub-0.7.15/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/slightly/Desktop/opendchub-0.7.15'
make: *** [all-recursive-am] Fehler 2
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$

Jetzt die Frage, welche Libaries muss ich vielleicht noch zusötzlich einbinden, und wie soll/kann ich diese einbinden?

Zusätzlich hätte ich noch diese Info:
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$ ./configure --build=i386-linux-gnu --target=mipsel-linux --host=mipsel-linux | grep no
checking for mipsel-linux-gcc... no
checking for socket in -lsocket... no
checking for crypt in -lcrypto... no
checking for gcc option to accept ANSI C... none needed
checking for _doprnt... no
*** If "gmake" does not work, try "make" ***
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$

Hab meinen Fehler selber gefunden *g*, ich hab jetzt einfach unter der Synaptic Paketverwaltung alle Pakete gesucht ("perl dev" als Suchwort), und dies Installiert, und schon compiliert es wunderbar *g*.


Danke für eure hilfe
 
Zuletzt bearbeitet:
Du hast aber schon gemerkt, dass nicht der mipsel-linux-gcc, sondern der gcc deines Host Systems genommen wird? Der mipsel-linux-gcc muss im Pfad sein, wenn du configure aufrufst. Wie du libperl für mipsel kompilierst kann ich dir nicht sagen...

MfG Oliver
 
wieso nimmt mein rechner nicht den mipsel?
und wie muss der in dem ordner sein?
ich hatte doch die PATH-variable gesetzt...
 
also jetzt hat der den Pfad gefunden:
Code:
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$ LDFLAGS=-static ./configure --build=i386-linux-gnu --target=mipsel-linux --host=mipsel-linux | grep no
checking for socket in -lsocket... no
checking for crypt in -lcrypto... no
checking for mipsel-linux-gcc option to accept ANSI C... none needed
checking for _doprnt... no
*** If "gmake" does not work, try "make" ***
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$

also da hab ich jetzt das make ausgeführt, und diesmal mit mipsel-linux-gcc, aber habe jetzt einige fehlermeldungen, mit denen ich nichts anfangen kann...
Code:
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$ make make  all-recursive
make[1]: Entering directory `/home/slightly/Desktop/opendchub-0.7.15'
Making all in src
make[2]: Entering directory `/home/slightly/Desktop/opendchub-0.7.15/src'
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE     -g -O2 -c commands.c
In Datei, eingefügt von /home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/sys/types.h:26,
                 von commands.c:24:
/home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/features.h:329:2: Fehler: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In Datei, eingefügt von /home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/stdio.h:72,
                 von commands.c:26:
/home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h:72:2: Fehler: #error Sorry... uClibc was built without large file support!
In file included from commands.c:26:
/home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/stdio.h:83: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »fpos_t«
In file included from commands.c:26:
/home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/stdio.h:701: Fehler: expected declaration specifiers or »...« before »fpos_t«
/home/slightly/Desktop/ds26-15.2/toolchain/build/gcc-4.2.1-uClibc-0.9.28/mipsel-linux-uclibc/bin-ccache/../lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/stdio.h:703: Fehler: expected »;«, »,« or »)« before »*« token
commands.c: In Funktion »my_info«:
commands.c:997: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breitecommands.c: In Funktion »get_host«:
commands.c:3036: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
make[2]: *** [commands.o] Fehler 1
make[2]: Leaving directory `/home/slightly/Desktop/opendchub-0.7.15/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/slightly/Desktop/opendchub-0.7.15'
make: *** [all-recursive-am] Fehler 2
slightly@StinkyLinux:~/Desktop/opendchub-0.7.15$

und wie kann ich die -lsocket und die -lcrypto mit einbinden, also oben steht ja das die dateien nicht gefunden wurden
 
Zuletzt bearbeitet von einem Moderator:
Code:
Fehler: #error Sorry... uClibc was built without large file support!

Das sagt eigentlich schon alles. Irgendwas stimmt mit Deiner uClibc nicht.

Ich hab's mit folgendem configure hingekriegt:
Code:
LDFLAGS=-static ./configure --build=i386-linux-gnu --target=mipsel-linux --host=mipsel-linux CC="mipsel-linux-gcc" --disable-perl CFLAGS="-Os -pipe -march=4kc -Wa,--trap"
 
so ich bin jetzt am bauen einer neuen Toolchain, habe jetzt hoffentlich alles richtig eingestellt. also auch das Lagre-File-Support *g*.

Hoffe das das dann funst...

und noch eine andere Frage am rande, wenn ich über Telnet auf meiner Box "ps" ausführe werden mir ja die prozesse angezeigt, was sagt die VmSize auf? Also die größe in Byte oder MByte ?
 
ja ne, war mir am ende auf fast klar *lol*...

so mein DCHUB läuft jetzt, das problem ist, die Frage ist, wie kann ich den Hub Administrieren, und wie können Leute aus dem Internet auch auf den Hub zugreifen?

(mein Internet ist auf Lan 1)
 
Wer lesen kann ist klar im Vorteil. ;-)
Code:
Open DC Hub is a server that is run as a daemon. That means it runs in the
background and does not have a user interface. Instead, it waits for
connections on a port that is dedicated for administration. That means that
the server can be administrated both from the local host and remotely. The
admin port is by default 53696.
MfG Oliver
 
ich weiß das ich port 53696 nutzen muss, und ich habe jetzt auch herausgefunden das ich in /var/flash/ar7.cfg den Port freigeben kann....

Die Frage, also nochmal, wie kann ich jetzt über DC++ oder so als Admin angemeldet befehle ausführen? Es steht zwar da mit "$commands|" aber so funzen keine Befehle.
Und noch was: jetzt konnten en paar freunde zu mir connecten, aber wir konnten unsere Filelist nicht austauschen....
Hat dazu jemand vielleicht ne Idee?
 
Kostenlos!

Statistik des Forums

Themen
248,917
Beiträge
2,305,043
Mitglieder
378,638
Neuestes Mitglied
Patrick89