[Erledigt] Fehler beim bauen von popt

oidia

Neuer User
Mitglied seit
18 Nov 2007
Beiträge
85
Punkte für Reaktionen
0
Punkte
6
Hallo zusammen,

versuche gerade den trunk zu bauen (3306). Bei popt läuft er auf einen recht seltsamen Fehler. Da im Moment unsere Chef-Entwicker ;) fleißig am umbauen sind, hängt das bestimmt damit zusammen.

Wenn man sich die folgende Ausgabe ansieht, stehen da ziemlich oft seltsame "X" vor den Parametern. Scheinbar wurden die irgendwie mit in die Scripte rein generiert. Hab mal versucht, den Grund zu finden, bin aber leider nicht fündig geworden. Hat von Euch vielleicht einer ne Idee?

Code:
make[3]: Entering directory `/home/slightly/freetz/trunk/source/popt-1.15'
/bin/sh ./libtool --tag=CC   --mode=compile /home/slightly/freetz/trunk/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT popt.lo -MD -MP -MF .deps/popt.Tpo -c -o popt.lo popt.c
/bin/sh ./libtool --tag=CC   --mode=compile /home/slightly/freetz/trunk/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT poptparse.lo -MD -MP -MF .deps/poptparse.Tpo -c -o poptparse.lo poptparse.c
./libtool: line 793: X--tag=CC: command not found
./libtool: line 826: libtool: ignoring unknown tag : command not found
./libtool: line 793: X--mode=compile: command not found
./libtool: line 959: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 960: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1103: X/home/slightly/freetz/trunk/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc: No such file or directory
./libtool: line 1103: X-DHAVE_CONFIG_H: command not found
./libtool: line 1103: X-I.: command not found
./libtool: line 793: X--tag=CC: command not found
./libtool: line 826: libtool: ignoring unknown tag : command not found
./libtool: line 793: X--mode=compile: command not found
./libtool: line 959: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 960: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1103: X/home/slightly/freetz/trunk/toolchain/target/usr/bin/mipsel-linux-uclibc-gcc: No such file or directory
./libtool: line 1103: X-DHAVE_CONFIG_H: command not found
./libtool: line 1103: X-I.: command not found
./libtool: line 1103: X-I.: command not found
./libtool: line 1103: X-I.: command not found
./libtool: line 1103: X-I.: command not found
./libtool: line 1103: X-I.: command not found
./libtool: line 1103: X-Os: command not found
./libtool: line 1103: X-Os: command not found
./libtool: line 1103: X-pipe: command not found
./libtool: line 1103: X-pipe: command not found
./libtool: line 1103: X-march=4kc: command not found
./libtool: line 1103: X-Wa,--trap: command not found
./libtool: line 1103: X-D_LARGEFILE_SOURCE: command not found
./libtool: line 1103: X-D_LARGEFILE64_SOURCE: command not found
./libtool: line 1103: X-D_FILE_OFFSET_BITS=64: command not found
./libtool: line 1103: X-Wall: command not found
./libtool: line 1103: X-W: command not found
./libtool: line 1103: X-D_GNU_SOURCE: command not found
./libtool: line 1103: X-D_REENTRANT: command not found
./libtool: line 1103: X-MT: command not found
./libtool: line 1103: Xpoptparse.lo: command not found
./libtool: line 1103: X-MD: command not found
./libtool: line 1103: X-MP: command not found
./libtool: line 1103: X-MF: command not found
./libtool: line 1103: X.deps/poptparse.Tpo: No such file or directory
./libtool: line 1103: X-c: command not found
./libtool: line 1154: Xpoptparse.lo: command not found
./libtool: line 1159: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [poptparse.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
./libtool: line 1103: X-march=4kc: command not found
./libtool: line 1103: X-Wa,--trap: command not found
./libtool: line 1103: X-D_LARGEFILE_SOURCE: command not found
./libtool: line 1103: X-D_LARGEFILE64_SOURCE: command not found
./libtool: line 1103: X-D_FILE_OFFSET_BITS=64: command not found
./libtool: line 1103: X-Wall: command not found
./libtool: line 1103: X-W: command not found
./libtool: line 1103: X-D_GNU_SOURCE: command not found
./libtool: line 1103: X-D_REENTRANT: command not found
./libtool: line 1103: X-MT: command not found
./libtool: line 1103: Xpopt.lo: command not found
./libtool: line 1103: X-MD: command not found
./libtool: line 1103: X-MP: command not found
./libtool: line 1103: X-MF: command not found
./libtool: line 1103: X.deps/popt.Tpo: No such file or directory
./libtool: line 1103: X-c: command not found
./libtool: line 1154: Xpopt.lo: command not found
./libtool: line 1159: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [popt.lo] Fehler 1
make[3]: Leaving directory `/home/slightly/freetz/trunk/source/popt-1.15'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/slightly/freetz/trunk/source/popt-1.15'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/slightly/freetz/trunk/source/popt-1.15'
make: *** [source/popt-1.15/.libs/libpopt.so.0.0.0] Fehler 2
 
Zuletzt bearbeitet:
Mindestens dein libtool ist zu alt. Das hatte ich auch vor ein paar Tagen...
 
Was brauch man denn mindestens für eine Version??
Meine installiert Version unter Debian/Lenny
Code:
ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-4 (1.1220.2.493 2008/02/01 16:58:18)

Reicht es wenn ich die Version aus dem Testingzweig installiere? Oder eine ganz neue Kompilieren??

gruß
candyman
 
Zuletzt bearbeitet:
Eine neuer Version gibt es nicht, die hab ich mir auch installiert. Du hast wohl ein anderes Problem
 
Also ich hab mir auch mal die libtool Version 1.5.26 installiert (von hier): Problem besteht immernoch.

Dann hab ich von gleicher Seite die Version 2.2.6a installiert: Läuft!

Bleibt also nur, Danke zu sagen :)
 
Ups, die 2er Version übersehen :-}
PS: Ich hatte später noch ein oder zwei andere Tools updaten müssen
 
Hallo,

muss libtool in Freetz, oder auf dem System auf dem ich Freetz bauen möchte (also meinem PC) aktualisiert werden?

Gruß,
Hendrik
 
libtool wird zum bauen von Freetz benötigt, also auf deinem PC.
 
Für was wird popt gebraucht? Ich habe heute auf den neuen Trunk 3366 geupdatet und ein paar Pakete noch hinzugenommen und schon stoppt er auch bei popt. Danach wie hier beschrieben das libtool auf 2.2.6a erneuert und trotzdem bleibt er hängen...

Code:
PATH="/home/witcom/freetz-trunk-200905/toolchain/target/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" \
                make -j2 -C source/popt-1.15
make[1]: Entering directory `/home/witcom/freetz-trunk-200905/source/popt-1.15'
make  all-recursive
make[2]: Entering directory `/home/witcom/freetz-trunk-200905/source/popt-1.15'
Making all in po
make[3]: Entering directory `/home/witcom/freetz-trunk-200905/source/popt-1.15/po'
make[3]: Leaving directory `/home/witcom/freetz-trunk-200905/source/popt-1.15/po'
make[3]: Entering directory `/home/witcom/freetz-trunk-200905/source/popt-1.15'
/bin/bash ./libtool --tag=CC   --mode=compile /home/witcom/freetz-trunk-200905/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT popt.lo -MD -MP -MF .deps/popt.Tpo -c -o popt.lo popt.c
/bin/bash ./libtool --tag=CC   --mode=compile /home/witcom/freetz-trunk-200905/toolchain/target/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.    -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -W -D_GNU_SOURCE -D_REENTRANT -MT poptparse.lo -MD -MP -MF .deps/poptparse.Tpo -c -o poptparse.lo poptparse.c
./libtool: line 827: X--tag=CC: command not found
./libtool: line 827: X--tag=CC: command not found
./libtool: line 860: libtool: ignoring unknown tag : command not found
./libtool: line 827: X--mode=compile: command not found
./libtool: line 860: libtool: ignoring unknown tag : command not found
./libtool: line 827: X--mode=compile: command not found
./libtool: line 994: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 995: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 994: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 995: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1138: X/home/witcom/freetz-trunk-200905/toolchain/target/bin/mipsel-linux-uclibc-gcc: No such file or directory
./libtool: line 1138: X/home/witcom/freetz-trunk-200905/toolchain/target/bin/mipsel-linux-uclibc-gcc: No such file or directory
./libtool: line 1138: X-DHAVE_CONFIG_H: command not found
./libtool: line 1138: X-DHAVE_CONFIG_H: command not found
./libtool: line 1138: X-I.: command not found
./libtool: line 1138: X-I.: command not found
./libtool: line 1138: X-I.: command not found
./libtool: line 1138: X-I.: command not found
./libtool: line 1138: X-I.: command not found
./libtool: line 1138: X-I.: command not found
./libtool: line 1138: X-Os: command not found
./libtool: line 1138: X-Os: command not found
./libtool: line 1138: X-pipe: command not found
./libtool: line 1138: X-pipe: command not found
./libtool: line 1138: X-march=4kc: command not found
./libtool: line 1138: X-march=4kc: command not found
./libtool: line 1138: X-Wa,--trap: command not found
./libtool: line 1138: X-Wa,--trap: command not found
./libtool: line 1138: X-D_LARGEFILE_SOURCE: command not found
./libtool: line 1138: X-D_LARGEFILE_SOURCE: command not found
./libtool: line 1138: X-D_LARGEFILE64_SOURCE: command not found
./libtool: line 1138: X-D_LARGEFILE64_SOURCE: command not found
./libtool: line 1138: X-D_FILE_OFFSET_BITS=64: command not found
./libtool: line 1138: X-D_FILE_OFFSET_BITS=64: command not found
./libtool: line 1138: X-Wall: command not found
./libtool: line 1138: X-Wall: command not found
./libtool: line 1138: X-W: command not found
./libtool: line 1138: X-W: command not found
./libtool: line 1138: X-D_GNU_SOURCE: command not found
./libtool: line 1138: X-D_GNU_SOURCE: command not found
./libtool: line 1138: X-D_REENTRANT: command not found
./libtool: line 1138: X-D_REENTRANT: command not found
./libtool: line 1138: X-MT: command not found
./libtool: line 1138: X-MT: command not found
./libtool: line 1138: Xpopt.lo: command not found
./libtool: line 1138: Xpoptparse.lo: command not found
./libtool: line 1138: X-MD: command not found
./libtool: line 1138: X-MD: command not found
./libtool: line 1138: X-MP: command not found
./libtool: line 1138: X-MP: command not found
./libtool: line 1138: X-MF: command not found
./libtool: line 1138: X-MF: command not found
./libtool: line 1138: X.deps/popt.Tpo: No such file or directory
./libtool: line 1138: X.deps/poptparse.Tpo: No such file or directory
./libtool: line 1138: X-c: command not found
./libtool: line 1138: X-c: command not found
./libtool: line 1191: Xpopt.lo: command not found
./libtool: line 1191: Xpoptparse.lo: command not found
./libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [popt.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
./libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [poptparse.lo] Error 1
make[3]: Leaving directory `/home/witcom/freetz-trunk-200905/source/popt-1.15'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/witcom/freetz-trunk-200905/source/popt-1.15'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/witcom/freetz-trunk-200905/source/popt-1.15'
make: *** [source/popt-1.15/.libs/libpopt.so.0.0.0] Error 2

EDIT:

Danach noch die source löschen "source/popt-1.15" dann klappts auch mit dem Nachbarn...

voilà...
 
Zuletzt bearbeitet:
Hallo,

es gibt hierzu ja noch diesen Thread:
http://www.ip-phone-forum.de/showthread.php?t=182680&highlight=popt
Aber so richtig eine Lösung kann ich daraus nicht erkennen?
Ich habe dieses Problem noch immer, sobald ich rsync hinzufüge (benötigt auch popt), finde aber keine Lösung hierfür. Es passiert auch direkt nach einem frischen checkout.

Gruß,
Hendrik
 
Hi,
was für ein System benutzt du zum bauen? Zufällig stinky-linux? Dann schlage ich vor, mal dieses neue, virtuelle Freetz-Linux zu versuchen. Ich hab auch umgestellt und es lief auf anhieb.
 
Hallo,

meines Wissens sollte das unabhängig vom System sein, auf dem kompiliert wird, oder?

Ich nutze Gentoo.

Gruß,
Hendrik
 
Wie schon geschrieben hängt der Fehler mit der verwendeten Libtool Version zusammen. Ich hatte nur noch keine Zeit zu erforschen welche genau den Fehler bringen.

MfG Oliver
 
Ich hab erst Stinky-Linux genutzt, da war eine zu alte Version drauf. Die hatte ich aktualisiert (siehe Post #5), dann ging es. Aber es muß auf jeden Fall die 2er Version sein!

Bei dem Freetz-Linux ist wohl schon die passende Version drauf (hab es grad nicht laufen). Aber wenn du ein Gentoo nutzt, versuch mal die neueste libtool Version zu kompilieren/installieren...
 
Nur Zur Info

Jetzt habe ich auch das Problem mit popt, und zwar ab neuausgechecktem trunk 4394. Ein "make popt-precompiled" ergibt Folgendes:
Code:
./libtool: line 1138: X-MP: command not found
./libtool: line 1138: X-c: command not found
./libtool: line 1138: X-MF: command not found
./libtool: line 1191: Xpopt.lo: command not found
./libtool: line 1138: X.deps/poptparse.Tpo: No such file or directory
./libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [popt.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
./libtool: line 1138: X-c: command not found
./libtool: line 1191: Xpoptparse.lo: command not found
./libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [poptparse.lo] Fehler 1
make[3]: Leaving directory `/home/gm/myfreetz/freetz4430/freetz-trunk/source/popt-1.15'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/gm/myfreetz/freetz4430/freetz-trunk/source/popt-1.15'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/gm/myfreetz/freetz4430/freetz-trunk/source/popt-1.15'

ERROR: Build failed.
make: *** [source/popt-1.15/.libs/libpopt.so.0.0.0] Fehler 1
Mit dem trunk 4380 z. B., kein Problem:
Code:
/home/gm/myfreetz/freetz4380/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpopt.la
chmod 755 /home/gm/myfreetz/freetz4380/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpopt.so.0.0.0; mkdir -p root/usr/lib/; cp -a /home/gm/myfreetz/freetz4380/freetz-trunk/toolchain/build/gcc-4.2.4-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib/libpopt.so* root/usr/lib/; /home/gm/myfreetz/freetz4380/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-strip --remove-section={.comment,.note,.pdr} root/usr/lib/libpopt.so.0.0.0

EDIT:
Meine libtool-Version ist: 2.2.6-47.451.1 (installiert am: Di 05 Jan 2010 15:51:15 CET) auf dem System OpenSUSE 11.2
 
Zuletzt bearbeitet:
Was passiert denn wenn du die Zeile "$(call REPLACE_LIBTOOL)" aus der popt.mk entfernst?

MfG Oliver
 
Wenn ich "$(call REPLACE_LIBTOOL)" aus der popt.mk entferne, dann funktioniert es ohne Probleme.
 

Neueste Beiträge

Statistik des Forums

Themen
244,880
Beiträge
2,220,049
Mitglieder
371,605
Neuestes Mitglied
michaelwarwel
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.