[Problem] 7340 Kernel download/build fails (error code 8)

Michael999

Neuer User
Mitglied seit
24 Dez 2008
Beiträge
65
Punkte für Reaktionen
0
Punkte
0
Using trunk version 7506 I tried to compile a new image, but when using the default kernel download locations I get:

Code:
Download failed - ftp://ftp.avm.de/fritz.box/fritzbox.fon_wlan_7390/x_misc/opensrc/fritz_box_fon_wlan_7390_source_files.04.91.tar.gz  ->  error code 8

(There are no 7340 source files, so those of the 7390 are used, and they have worked great so far.)

I tried to change the kernel source manually to the new 7390 ".05.05" version in the override firmware section by entering:

Code:
fritz_box_fon_wlan_7390_source_files.05.05.tar.gz

But, when I try to compile I get:

Code:
ERROR: KERNEL_BUILD_ROOT_DIR has wrong structure
 
Hm, why did you delete your Download Directory? I will have a look how we can solve this...

Regards
Oliver
 
At first I tried to compile with my existing checkout but I kept getting a libgd error so I eventually did a "distclean" and when that didn't work I checked out a fresh trunk.
 
Should work again with trunk.
 
RalfFriedl, perhaps you misunderstood me? I meant I changed the version of the source files, not the source files themselves. I did that because the version that worked, i.e. "04.91" wasn't available anymore.
 
Zuletzt bearbeitet:
Olistudent, it downloads version "04.91" again from gpl.back2roots.org, thanks, you're the greatest!

Only now, using trunk 7511, I get another, though perhaps unrelated error:

Code:
packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0': No such file
 
You changed the name (or the version) of the program, and therefor you get different content. This different content may or may not be similar enough to the intended content to work.

Also your error message without some context is basically useless.
 
RalfFriedl, okay, so you didn't misunderstand me.

Concerning the error, I used a fresh trunk, but I did use the same .config I've always used. And here's a more complete error message:

Code:
chmod: cannot access `/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so.62.0.0': No such file or directory
cp: cannot stat `/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so*': No such file or directory
/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/bin/mips-linux-uclibc-strip: 'packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0': No such file
make: *** [packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0] Error 1
 
I could ask you for some more lines and then some more lines, until sometime there might be enough to have a hint of the real problem.
But it's not my problem, so why should I ask again and again just so that maybe you get a solution for your problem?
 
Zuletzt bearbeitet:
Whoa, I didn't mean ...

Trie this in the jpeg.mk file;):
Code:
...
$($(PKG)_BINARY): $($(PKG)_DIR)/.configured
    $(SUBMAKE) -C $(JPEG_DIR)  all[B] [COLOR=red]\[/COLOR]
[/B]    [COLOR=red][B]CFLAGS="-Os -pipe -march=24kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"[/B][/COLOR]

...
 
Thank you, sf3978, I appreciate your help. I get the same errors though:

Code:
make[1]: Leaving directory `/home/m/freetz-trunk-7340/source/target-mips_uClibc-0.9.29/jpeg-6b'
sed -i -r -e "s,^(libdir=)(['"'"'"]?)([^'"'"'"]*)(\2)$,\1\2/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc\3\4,g" -e "s,^(includedir=)(['"'"'"]?)([^'"'"'"]*)(\2)$,\1\2/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc\3\4,g" -e "s,^(prefix=)(['"'"'"]?)([^'"'"'"]*)(\2)$,\1\2/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc\3\4,g" -e "s,^(exec_prefix=)(['"'"'"]?)([^'"'"'"]*)(\2)$,\1\2/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc\3\4,g" -e "/^dependency_libs/s,[ \t],  ,g;s,([ '])((/usr)?/lib/[^ /]+[.]la)([ ']),\1/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc\2\4,g;s, +, ,g" \
		/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.la
chmod 755 /home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so.62.0.0; mkdir -p packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/; cp -a /home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so* packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/; /home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/bin/mips-linux-uclibc-strip --remove-section={.comment,.note,.pdr} packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0;
chmod: cannot access `/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so.62.0.0': No such file or directory
cp: cannot stat `/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so*': No such file or directory
/home/m/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/bin/mips-linux-uclibc-strip: 'packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0': No such file
make: *** [packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0] Error 1
 
Sorry, change this in your .config too:
Code:
...
#FREETZ_TARGET_CFLAGS="-Os -pipe -march=4kc -Wa,--trap"
FREETZ_TARGET_CFLAGS="-Os -pipe [COLOR=red]-march=24kc[/COLOR] -Wa,--trap"
...
and trie:
Code:
make jpeg-clean
Code:
make jpeg-precompiled
Code:
chmod 755 /home/gm/myfreetz/freetz[COLOR=red][B]7470[/B][/COLOR]/freetz-trunk/toolchain/build/mips_gcc-[B][COLOR=red]4.4.6[/COLOR][/B]_uClibc-[COLOR=red][B]0.9.29[/B][/COLOR]/mips-linux-uclibc/usr/lib/libjpeg.so.62.0.0; mkdir -p packages/target-mips_uClibc-[COLOR=red][B]0.9.29[/B][/COLOR]/root/usr/lib/freetz/; cp -a /home/gm/myfreetz/freetz7470/freetz-trunk/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/usr/lib/libjpeg.so* packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/; /home/gm/myfreetz/freetz7470/freetz-trunk/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/bin/mips-linux-uclibc-strip --remove-section={.comment,.note,.pdr} packages/target-mips_uClibc-0.9.29/root/usr/lib/freetz/libjpeg.so.62.0.0;
[COLOR=red][B]done[/B][/COLOR].
 
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.