well the libs seem to work and firmware compiles, however I am having the same problem as others, I cannot get a wan ip. So the problem is devinatly the libs in the current linero toolchain
/usr/sbin/ip: '/lib/libresolv.so.0' is not an ELF executable for MIPS
Posted: Thu Jun 02, 2011 5:53 Post subject: Success
Many thanks.
After updating to revision 17167 problem is solved. It compiled successfully. Mini is built.
I found 2 images on GruppenLW directory.
Quote:
-rw-rw-r-- 1 saint saint 3551232 Jun 2 11:49 dd-wrt.v24-17167_NEWD-2_K2.6_mini.bin
-rw-rw-r-- 1 saint saint 3551232 Jun 2 11:49 dd-wrt.v24-17167_NEWD-2_K2.6_mini-e2k-e3k.bin
Now should I load firmware, dd-wrt.v24-17167_NEWD-2_K2.6_mini-e2k-e3k.bin into my LinkSys E2000 router? Or is there a bricking issue. I read somewhere in this site that I always have to load trailed build mini into E2000.
Does that mean I cannot use any other build i.e., mega, big etc?
I'm afraid to test my built image. Anyone have the guts to test them? I've attached them.
Edit: I booted one firmware. Seems bad. Removed. _________________ Saint Atique
OS: Fedora Core 15_x86_64,
Routers: LinkSys E2000, D-Link Dir-615
Last edited by sareve on Mon Jun 20, 2011 8:56; edited 1 time in total
I had to remove rflow and kaid from the makefile before it would compile.. however still need to get the right libs for the linero toolchain for all to come together... I have sent a few msgs out see if the devs can help.
I had to remove rflow and kaid from the makefile before it would compile.. however still need to get the right libs for the linero toolchain for all to come together... I have sent a few msgs out see if the devs can help.
fractal
I haven't had any time whatsoever to spend on these compiles errors here lately, but here were the next steps I was going to take...
1. Start from a fresh SVN checkout
2. Compile with linaro (removing all the features that won't compile with linaro)
At this point, I was *thinking* the optimize-lib routine would stop complaining about the missing libresolv, etc libs.
That said, it seems that you already did this and the libs are still needed. There goes that idea.
Hmm... I will try to work on this sometime over the weekend if you guys haven't figured it out by then.
you are getting those errors because you need the lib.mipsel source copied to src/router for it to compile... I am using the same toolchain as kc6108 and it is working SUPER fast.. Once you copy the libs into the right place, go into /src/router
then do the following:
make clean
make glibc-clean
make glibc
then run your compile script again..
PS: you can get the missing libs from the same place u got the toolchain.
Fractal
walkero wrote:
I downloaded the toolchain from www.kc6108.com/resources and trying to build a broadcom_K26/.config_mini.v24-K26 build I got the errors:
Posted: Sat Jun 11, 2011 1:23 Post subject: Re: linaro toolchain
to my knowledge the linero toolchain is missing libs when lib-optimize runs, I have had to customize the toolchain... I suggest using the toolchain that kc6108 and I are using and do a FULL make clean of your src/router directory... Also you will need to replace the lib.mipsel files as stated in previous post...
Fractal.
sareve wrote:
Well. I'm still using the linaro toolchain. Just tell me guys whether this error comes due to using linaro toolchain or because I upgraded my OS.
you are getting those errors because you need the lib.mipsel source copied to src/router for it to compile... I am using the same toolchain as kc6108 and it is working SUPER fast.. Once you copy the libs into the right place, go into /src/router
then do the following:
make clean
make glibc-clean
make glibc
then run your compile script again..
PS: you can get the missing libs from the same place u got the toolchain.
Fractal
thanks for your reply Fractal.
I download lib.mipsel.tar.gz from http://www.kc6108.com/resources and replace the src/router/lib.mipsel files, but i get sample compile error. then i tried to compile it with hand (on shell term go to the error fold and add "-lcrypt" string at end of compile command), compile is ok:
Posted: Sun Jun 12, 2011 5:47 Post subject: toolchain kc1608
I have downloaded the 7 zip archives several times from http://www.kc6108.com/resources. But at the end of extraction I get following error!
Code:
$ tar xzvf toolchain-mipsel_gcc-linaro_uClibc-0.9.32.tar.gz -C toolchain
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips.h: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips-protos.h
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips-protos.h: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/linux.h
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/linux.h: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/ada/gcc-interface/ada-tree.def
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux-uclibc/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/ada/gcc-interface/ada-tree.def: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips.h
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips.h: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips-protos.h
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/mips-protos.h: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/linux.h
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/config/mips/linux.h: Cannot open: Not a directory
toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/ada/gcc-interface/ada-tree.def
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/ada/gcc-interface/ada-t
tar: toolchain-mipsel_gcc-linaro_uClibc-0.9.32/mipsel-openwrt-linux/lib/gcc/mipsel-openwrt-linux-uclibc/4.5.2/plugin/include/ada/gcc-interface/ada-.................
tree.def: Cannot open: Not a directory
tar: Exiting with failure status due to previous errors
we need to add NV-64k support to our compile.sh script... I will take a look tonight and see about adding it.. This would all for build of the WNDR4000 netgear router .