compiling DD-WRT for brcm linux.v24_2

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
Author Message
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Wed Dec 09, 2009 15:41    Post subject: Reply with quote
Here is the log from the output. Can osmeone help me please? Thx in advance Smile


make.txt
 Description:

Download
 Filename:  make.txt
 Filesize:  616.07 KB
 Downloaded:  2794 Time(s)


_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
Sponsor
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Dec 10, 2009 16:39    Post subject: Reply with quote
Anyone?
_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Fri Dec 11, 2009 13:20    Post subject: Reply with quote
I would also take a look at:
/home/john/dd-wrt/DD-WRT/src/router/misc/rootprep_micro.sh

There might be a path problem.
jrp316
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 8

PostPosted: Fri Dec 11, 2009 16:42    Post subject: Reply with quote
Firstly, very nice job on figuring this out; I've been trying to compile for a while now and this was the missing link for me.

I've taken the next step and made attempts at compiling for x86. So far, I've been making some decent in-roads to that end but I believe I'm missing the proper Makefile when it comes time to run a make in the /src directory. I can compile the kernel and a "make configure" in the /src/router directory appears to work out, but a final make in the /src directory bombs out at the end with a "services.o" error.

Any thoughts?
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Sat Dec 12, 2009 22:26    Post subject: Reply with quote
gruenesAlien wrote:
I would also take a look at:
/home/john/dd-wrt/DD-WRT/src/router/misc/rootprep_micro.sh

There might be a path problem.


Ok I'll look at it and report back. Thanks for the help Smile

_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 150

PostPosted: Sat Dec 12, 2009 22:36    Post subject: Reply with quote
4512jth wrote:
gruenesAlien wrote:
I would also take a look at:
/home/john/dd-wrt/DD-WRT/src/router/misc/rootprep_micro.sh

There might be a path problem.


Ok I'll look at it and report back. Thanks for the help Smile


or your build environment is missing mknod.
aruzsi
DD-WRT Novice


Joined: 22 Nov 2009
Posts: 9

PostPosted: Sun Dec 13, 2009 14:53    Post subject: Reply with quote
Hi,

I read this thread and the Wiki compiling a new image.
I think I downloaded all pices of source and I got just Error: x messages. :-(

Please help me!

My environment:
Ubuntu 9.10 64 bit.
The router would be a Linksys WRT54GL v1.0.

I want a new image with OSPF support. Thats all. Nothing more. And I needn't HotSpot.

TIA,

BTW: I'm not programer only a "configurator". Wink
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Sun Dec 13, 2009 22:56    Post subject: Reply with quote
Has anyone ever set up a preconfigured VM with the source code sucessfully downloaded and compiled, for the less technical inclined? Laughing
_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Tue Dec 15, 2009 19:27    Post subject: Reply with quote
Here are my scripts for setting up a compile environment. You still need the files install_mini.v24_2.sh and make_kernel.v24_2.sh from page 1. They are made for debian and for a user with name dd-wrt. Unpack them to /home/dd-wrt/. The script is configures to use revision 13302, you can change this is file 01_get_src_svn.sh.

Usage:
cd /home/dd-wrt/
wget http://www.dd-wrt.com/phpBB2/download.php?id=12336
tar xzf scripts.tar.gz
chmod +x *.sh
./00_install_prerequirements.sh
./01_get_src_svn.sh
./02_compile_first_some_tools.sh
./03_compile_mini.sh

If they do not work, find the solution and post it. There can be a kink but if you do not find a solution for this almost precooked dinner you should not compile a firmware because you do not know what you are doing.

BTW: I am not responsible anything you do with those scripts.



scripts.tar.gz
 Description:

Download
 Filename:  scripts.tar.gz
 Filesize:  1.68 KB
 Downloaded:  984 Time(s)

4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Tue Dec 15, 2009 20:20    Post subject: Reply with quote
gruenesAlien wrote:
Here are my scripts for setting up a compile environment. You still need the files install_mini.v24_2.sh and make_kernel.v24_2.sh from page 1. They are made for debian and for a user with name dd-wrt. Unpack them to /home/dd-wrt/. The script is configures to use revision 13302, you can change this is file 01_get_src_svn.sh.

Usage:
cd /home/dd-wrt/
wget http://www.dd-wrt.com/phpBB2/download.php?id=12336
tar xzf scripts.tar.gz
chmod +x *.sh
./00_install_prerequirements.sh
./01_get_src_svn.sh
./02_compile_first_some_tools.sh
./03_compile_mini.sh

If they do not work, find the solution and post it. There can be a kink but if you do not find a solution for this almost precooked dinner you should not compile a firmware because you do not know what you are doing.

BTW: I am not responsible anything you do with those scripts.


I should be able to use these, thanks. I am getting a serial cable for my Asus WL-500gP v2 soon so I will ahve a way or recovering. Thanks again.

_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Wed Dec 16, 2009 8:07    Post subject: Reply with quote
It is difficult to brink a wl500gP V2, I have one my own and not managed to.

If you have a serial I would be interested in output if you config busybox to have LFS. My wl500gP V2 did not start or hung somewhere, just reflashed a good version. I guess the toolchain is not with LFS but I'm unsure. Perhaps it's something else.
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Wed Dec 16, 2009 20:48    Post subject: Reply with quote
Yeah, I heard good things about Asus routers being very difficult to brick. ALso, I'm compiling now with the scripts you made. Thanks or sharing them Very Happy
_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Wed Dec 16, 2009 22:50    Post subject: Reply with quote
make -C radvd/flex libfl.a
make[2]: Entering directory `/home/dd-wrt/DD-WRT/src/router/radvd/flex'
make[2]: *** No rule to make target `libfl.a'. Stop.
make[2]: Leaving directory `/home/dd-wrt/DD-WRT/src/router/radvd/flex'
make[1]: *** [radvd] Error 2
make[1]: Leaving directory `/home/dd-wrt/DD-WRT/src/router'
make: *** [all] Error 2

Ugh.

_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Thu Dec 17, 2009 8:35    Post subject: Reply with quote
which build? mini works with those scripts.

There are some "stale" packages in svn. Stale means no source available public and so not build able. You have to take a look at radvd/flex. The error looks like there's no makefile available.

The "rules" for compiling things are in "DD-WRT/src/router/rules" and you might find a radvd.mk there that will help you.
4512jth
DD-WRT User


Joined: 14 Mar 2009
Posts: 233

PostPosted: Thu Dec 17, 2009 14:13    Post subject: Reply with quote
gruenesAlien wrote:
which build? mini works with those scripts.

There are some "stale" packages in svn. Stale means no source available public and so not build able. You have to take a look at radvd/flex. The error looks like there's no makefile available.

The "rules" for compiling things are in "DD-WRT/src/router/rules" and you might find a radvd.mk there that will help you.


I am attempting to compile Mega, which may be the problem. Currently stuck on another package at the moment.

EDIT:
Code:

Quagga configuration
--------------------
quagga version          : 0.99.15
host operationg system  : linux-gnu
source code location    : .
compiler                : mipsel-linux-uclibc-gcc
compiler flags          : -I/home/dd-wrt/DD-WRT/src/router/quagga -Drpl_malloc=malloc -Drpl_realloc=realloc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time
make                    : make
includes                :
linker flags            : -L/home/dd-wrt/DD-WRT/src/router/quagga/readline -L/home/dd-wrt/DD-WRT/src/router/ncurses/lib -lncurses -lcrypt  -lrt   -lncurses -lreadline -lm
state file directory    : /var/run
config file directory   : /usr/etc
example directory       : /usr/etc
user to run as          : root
group to run as         : root
group for vty sockets   :
config file mask        : 0600
log file mask           : 0600

The above user and group must have read/write access to the state file
directory and to the config files in the config file directory.
make[2]: Leaving directory `/home/dd-wrt/DD-WRT/src/router/quagga'
make[1]: *** [quagga] Error 2
make[1]: Leaving directory `/home/dd-wrt/DD-WRT/src/router'
make: *** [all] Error 2
dd-wrt@ubuntu:~/DD-WRT/src$

_________________
Routers:
WRT54GS v6: DD-WRT v24-sp2 14438 NEWD2 micro_plus with modified CFE
Asus WL-500gP v2: Tomato USB k26 beta 20
WRT120N (No dd-wrt/openwrt yet...)
At 14, the youngest DD-WRT User Very Happy
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next Display posts from previous:    Page 10 of 12
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum