Hi
I am currently developing firmware from source for DD -WRT, i am following this link and doing
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=28348&postdays=0&postorder=...
Everything works fine except that ther is a error when i do make configure
arun@ubuntu:~/DD-WRT/src/router$ sudo make configure
rules/iptables.mk:39: warning: overriding commands for target `iptables-clean'
rules/iptables.mk:2: warning: ignoring old commands for target `iptables-clean'
[ ! -d nvram-configure ] || make -C nvram-configure
[ ! -d libutils-configure ] || make -C libutils-configure
[ ! -d shared-configure ] || make -C shared-configure
[ ! -d httpd-configure ] || make -C httpd-configure
[ ! -d rc-configure ] || make -C rc-configure
[ ! -d services-configure ] || make -C services-configure
[ ! -d libbcm-configure ] || make -C libbcm-configure
[ ! -d www-configure ] || make -C www-configure
[ ! -d lib.mipsel-configure ] || make -C lib.mipsel-configure
[ ! -d bridge-configure ] || make -C bridge-configure
[ ! -d zlib-configure ] || make -C zlib-configure
make -j 4 -C zlib
make[1]: Entering directory `/home/arun/DD-WRT/src/router/zlib'
mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32
-funit-at-a-time -DUSE_MMAP -ffunction-sections -fdata-sections
-Wl,--gc-sections -c -o example.o example.c
make[1]: mipsel-linux-uclibc-gcc: Command not found
mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32
-funit-at-a-time -DUSE_MMAP -ffunction-sections -fdata-sections
-Wl,--gc-sections -c -o adler32.o adler32.c
make[1]: mipsel-linux-uclibc-gcc: Command not found
make[1]: *** [example.o] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [adler32.o] Error 127
make[1]: Leaving directory `/home/arun/DD-WRT/src/router/zlib'
make: *** [zlib] Error 2
arun@ubuntu:~/DD-WRT/src/router$
Though I have done
export MYPATH=$PATH;
export PATH=/opt/4.1.0/bin:$MYPATH;
make configure
I get mipsel-linux-uclibc-gcc: Command not found error.
Someone pls help....
Hi sunil,
Please check if u have installed the tool chain properly or not ...
If tool chain is installed properly or if u r not specifying the correct PATH then
this error will arise ....
Also have a look at the build scripts avlbl at :
http://www.myopenrouter.com/download/10865/Automation-Scripts-DD-WRT-Dow...
You can get some info from there or utilize them directly to compile DD-WRT ..
Keep us posted abt your proceedings ....
hi achilles,
prev prob I sorted out, thank you. However I am getting segmentation fault when i try to build..
reading /home/arun/DD-WRT/src/router/mipsel-uclibc/install/www/www/help/index.asp
writing
cd /home/arun/DD-WRT/src/router/mipsel-uclibc/install/www/www && find . -iname "CVS" | xargs rm -rf
cd /home/arun/DD-WRT/src/router/mipsel-uclibc/install/www/www && find . -iname ".svn" | xargs rm -rf
cd /home/arun/DD-WRT/src/router/mipsel-uclibc/install/www/www && /home/arun/DD-WRT/src/../tools/webcomp . /home/arun/DD-WRT/src/../tools/filelist *.asp *.svg *.htm *.css *.js help/*.asp help/*.png help/*.css images/*.gif images/*.png images/*.jpg images/*.ico images/*/*.png images/*/*.gif js/* lang_pack/* style/* style/*/* style/*/*/* style/*/*/*/* style/*/*/*/*/* > /home/arun/DD-WRT/src/router/httpd/html.c
Segmentation fault
make[1]: *** [install] Error 139
make[1]: Leaving directory `/home/arun/DD-WRT/src/router/kromo/dd-wrt'
make: *** [www] Error 2
mkdir: cannot create directory `../src/router/mipsel-uclibc/target/etc/config': No such file or directory
./sstrip/sstrip: ../src/router/mipsel-uclibc/target/bin/*: No such file or directory
./sstrip/sstrip: ../src/router/mipsel-uclibc/target/sbin/rc: No such file or directory
./sstrip/sstrip: ../src/router/mipsel-uclibc/target/usr/sbin/*: No such file or directory
cp: cannot create regular file `../src/router/mipsel-uclibc/target/bin': No such file or directory
cp: cannot create regular file `../src/router/mipsel-uclibc/target/lib': No such file or directory
./install_mini.v24_2.sh: line 24: cd: ../src/router/mipsel-uclibc/target/lib: No such file or directory
ln: creating symbolic link `libgcc_s.so': File exists
cp: cannot stat `./etc/preinit': No such file or directory
cp: cannot stat `./etc/postinit': No such file or directory
cp: cannot stat `./etc/ipkg.conf': No such file or directory
cp: cannot stat `./etc/config/*': No such file or directory
cp: cannot stat `./usr/lib/smb.conf': No such file or directory
./install_mini.v24_2.sh: line 32: cd: ../src/router/mipsel-uclibc/target/www: No such file or directory
ln: creating symbolic link `smb': File exists
./install_mini.v24_2.sh: line 39: ./strip_libs.sh: No such file or directory
./install_mini.v24_2.sh: line 42: ../src/linux/brcm/linux.v24_2/scripts/squashfs/mksquashfs-lzma: No such file or directory
./install_mini.v24_2.sh: line 43: ./make_kernel.v24_2.sh: No such file or directory
./install_mini.v24_2.sh: line 44: ../tools/trx: No such file or directory
cp: cannot stat `dd-wrt.v24_2.trx': No such file or directory
What is the problem?
Thank you
sunil
hi sunil ,
First I would suggest you to go through my build scripts and do exactly the same thing in same order ....
If after that u face any problem let me know ...
Also make sure that u use gcc version 3.3.6 for compiling Linux and 4.1.0 for other router packages ....
Linux must be compiled with 3.3.6 so include this in your PATH and let me know ..
Hi achilles,
I am using WRT54GL v1.1. Will those script hold good for this router as well?
The scripts r for compiling and creating a firmware .... Now for WGR614L the firmware is in .chk format and I dnt know which format WRT54GL requires .... u can use the scripts as far as compilation is concerned ... Rest shud be WRT54GL specific ....
i have a same problem, and i don't know how to do.
are you resolve this problem? how to resolve this problem?
i expect you to help me...