make flash-all fehler

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
KamiKatze
Neugieriger
Neugieriger
Beiträge: 8
Registriert: Montag 24. März 2003, 23:56

make flash-all fehler

Beitrag von KamiKatze »

hallo und immer wieder dergleiche fehler

also make all läuft duch

Code: Alles auswählen

make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7/intl«
make[2]: Wechsel in das Verzeichnis Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
make[3]: Wechsel in das Verzeichnis Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
/bin/sh ./mkinstalldirs /home/kami/dbox2/cdkroot/bin
  /usr/bin/install -c  nano /home/kami/dbox2/cdkroot/bin/nano
/bin/sh ./mkinstalldirs /home/kami/dbox2/cdkroot/info
 /usr/bin/install -c -m 644 ./nano.info /home/kami/dbox2/cdkroot/info/nano.info
 install-info --info-dir=/home/kami/dbox2/cdkroot/info /home/kami/dbox2/cdkroot/info/nano.info
make  install-man1
make[4]: Wechsel in das Verzeichnis Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
/bin/sh ./mkinstalldirs /home/kami/dbox2/cdkroot/man/man1
 /usr/bin/install -c -m 644 ./nano.1 /home/kami/dbox2/cdkroot/man/man1/nano.1
make[4]: Verlassen des Verzeichnisses Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
make[3]: Verlassen des Verzeichnisses Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/kami/tuxbox-cvs/cdk/nano-1.0.7«
rm -rf nano-1.0.7
touch .nano
und das make flash-all hängt sich hier auf:

Code: Alles auswählen

kami@linux:~/tuxbox-cvs/cdk> make flash-lib
find /home/kami/dbox2/cdkflash/root/lib -maxdepth 1 -type f -o -type l | xargs rm -f
cp -pa /home/kami/dbox2/cdkroot/lib/libnss_dns-?.*.so /home/kami/dbox2/cdkflash/root/lib
cp -pa /home/kami/dbox2/cdkroot/lib/libnss_files-?.*.so /home/kami/dbox2/cdkflash/root/lib
/bin/false --target powerpc-tuxbox-linux-gnu --ldlib ld.so.1 --libc-extras-dir /home/kami/dbox2/cdkroot/lib/libc_pic \
-d /home/kami/dbox2/cdkflash/root/lib \
-D -L /home/kami/dbox2/cdkroot/lib \
`find /home/kami/dbox2/cdkflash/root/bin/ -path "*bin/?*"` \
        `find /home/kami/dbox2/cdkflash/root/lib/ -name "libnss_*"` \
        `find /home/kami/dbox2/cdkflash/root/lib/tuxbox/ -name "*.so" -type f` \
        `find /home/kami/dbox2/cdkflash/root/sbin/ -path "*sbin/?*"`
make: *** [/home/kami/dbox2/cdkflash/.lib] Fehler 1
kami@linux:~/tuxbox-cvs/cdk>
hab auch versucht nach der anleitung im doc zu bauen der witz an der anlietung ist das es diese regeln nicht gib :)
make flash-network gibt es nicht es gibt nur z.b. make flash-lib und so aber nicht die die in der anleitung stehen
ChakaZulu
Developer
Beiträge: 457
Registriert: Sonntag 23. März 2003, 00:39

Beitrag von ChakaZulu »

hi,

hab das selbe problem. liegt das vielleicht an dem /bin/false in der letzten zeile? wüsste nicht, was das für einen sinn macht :)
/bin/false taucht hier auf:

Code: Alles auswählen

autom4te.cache/output.0:                MKLIBS=/bin/false
autom4te.cache/output.0:                MKCRAMFS=/bin/false
autom4te.cache/output.0:                        MKJFFS2=/bin/false
config.log:MKCRAMFS='/bin/false'
config.log:MKJFFS2='/bin/false'
config.log:MKLIBS='/bin/false'
config.status:s,@MKLIBS@,/bin/false,;t t
config.status:s,@MKCRAMFS@,/bin/false,;t t
config.status:s,@MKJFFS2@,/bin/false,;t t
configure:              MKLIBS=/bin/false
configure:              MKCRAMFS=/bin/false
configure:                      MKJFFS2=/bin/false
configure.ac:           MKLIBS=/bin/false
configure.ac:           MKCRAMFS=/bin/false
configure.ac:                   MKJFFS2=/bin/false
Makefile:MKCRAMFS = /bin/false
Makefile:MKJFFS2 = /bin/false
Makefile:MKLIBS = /bin/false
root/etc/init.d/Makefile:MKCRAMFS = /bin/false
root/etc/init.d/Makefile:MKJFFS2 = /bin/false
root/etc/init.d/Makefile:MKLIBS = /bin/false
root/etc/passwd:sshd:*:65532:65534::/:/bin/false
root/etc/passwd:ftp:*:65533:65534::/:/bin/false
root/etc/passwd:nobody:*:65534:65534::/:/bin/false
root/etc/network/Makefile:MKCRAMFS = /bin/false
root/etc/network/Makefile:MKJFFS2 = /bin/false
root/etc/network/Makefile:MKLIBS = /bin/false
root/etc/Makefile:MKCRAMFS = /bin/false
root/etc/Makefile:MKJFFS2 = /bin/false
root/etc/Makefile:MKLIBS = /bin/false
root/share/udhcpc/Makefile:MKCRAMFS = /bin/false
root/share/udhcpc/Makefile:MKJFFS2 = /bin/false
root/share/udhcpc/Makefile:MKLIBS = /bin/false
root/share/Makefile:MKCRAMFS = /bin/false
root/share/Makefile:MKJFFS2 = /bin/false
root/share/Makefile:MKLIBS = /bin/false
root/Makefile:MKCRAMFS = /bin/false
root/Makefile:MKJFFS2 = /bin/false
root/Makefile:MKLIBS = /bin/false
das configure hab ich aus Readme-flash.de
./configure --prefix=$HOME/projects/dbox2 --with-cvsdir=$HOME/projects/tuxbox-cvs --enable-maintainer-mode --with-targetruleset=flash

ciao,

ChakaZUlu
thegoodguy
Erleuchteter
Erleuchteter
Beiträge: 465
Registriert: Mittwoch 14. August 2002, 20:45

Beitrag von thegoodguy »

Auszug aus configure.ac:

Code: Alles auswählen

	AC_PATH_PROG(MKLIBS,mklibs,no)
	if test "$MKLIBS" = "no"; then
		AC_MSG_WARN(can't build libs)
		MKLIBS=/bin/false
	fi
Auszug aus Makefile.am:

Code: Alles auswählen

	$(MKLIBS) --target $(target) --ldlib ld.so.1 --libc-extras-dir $(targetprefix)/lib/libc_pic \
		-d $(flashprefix)/root/lib \
		-D -L $(targetprefix)/lib \
		`find $(flashprefix)/root/bin/ -path "*bin/?*"` \
		`find $(flashprefix)/root/lib/ -name "libnss_*"` \
		`find $(flashprefix)/root/lib/tuxbox/ -name "*.so" -type f` \
		`find $(flashprefix)/root/sbin/ -path "*sbin/?*"`
Schlussfolgerung: Bei euch gab es beim Ausfuehren von configure die Warnung "can't build libs" weil ihr das Programm mklibs nicht installiert habt. Und an der genannten Stelle muessen die libs gebaut werden, also ist es nun ein Fehler. Also mklibs installieren und gut ist.
KamiKatze
Neugieriger
Neugieriger
Beiträge: 8
Registriert: Montag 24. März 2003, 23:56

Beitrag von KamiKatze »

jo danke hab mklibs mitlerweile installiert :) nur kommt ich im moment noch nicht mal mehr soweit :)

endweder hängt es bei make all (im bereich u-boot) oder wie heute beim kernel kompilieren irgend wo ist der wurm drin heute :)

und weches ppcboot brauche ich am besten das aus dem axelW oder kann man sich eine eigene ppcboot bauen also da bin ich noch nicht hinter ansonsten hab ich es mitlerweile ja geschnallt wie das eine oder andere funktionirert