PDA

Bekijk de volledige versie : Make busybox with "printf" support



samoht
15-06-2005, 12:14
Hi,

I want to install SIP Express Router on my WL500gx and used the binaries from sipath.sourceforge.net that where made for Linksys Routers. These require a busybox with "printf" support, that is not included in Olegs firmware.

I tried to compile them myself. I installed "make" and and downloaded the busybox sources, as described in http://www.busybox.net/downloads/tutorial/00load.html

But it doesnīt seems to be enough. How can I make my own busybox binary with printf?

Greetings from Karlsruhe

samoht

macsat
15-06-2005, 12:54
Cross Compiling is the answer.

Take a look at the Setting Up Build Environment Tutorial at http://www.macsat.com

samoht
15-06-2005, 16:13
Isnīt it possible to compile on the router?

Do I have to complie on my PC?

Styno
15-06-2005, 16:37
Yes, it would be possible to compile on the router, but:
- Very little RAM available
- Very little CPU power available
- Very slow HDD access

These three items are very important to compile with reasonable speed. So be smart and use a crosscompile environment.

samoht
16-06-2005, 07:58
Thanks for your Howto macsat. it works. :-)


Cross Compiling is the answer.

Take a look at the Setting Up Build Environment Tutorial at http://www.macsat.com

macsat
16-06-2005, 08:39
Hi

No problem at all, good to hear it is of use :-)

If you decide to build packages that are not already there, please do consider to inform in this forum, or even better, to inform the people in #nslu2-linux on irc.freenode.net .

We might as well add the packages to the official ipkg package stream, since changes are that you are not the only one having the need for some package :-)

Lets all try to expand the number of packages available for the ASUS WL devices :-)

/mascat