-   Linux - Newbie (
-   -   How can I cross-compile a program for my openwrt router? (

kevinx17910 11-15-2010 03:51 PM

How can I cross-compile a program for my openwrt router?

I am new to Linux and the whole programming world. I want to compile a program with the source I already have but I have to add an option.

When I run the command ./ the terminal returns aclocal not found. Is it a package or something i have to install?

Please guide me through the process as many guides are confusing. :)

Any help would be very very much appreciated!

flakblas 11-15-2010 08:40 PM


yum install automake

paulsm4 11-15-2010 11:43 PM

Hi -

"automake" is a good start, but not sufficient. Please look here:

kevinx17910 11-16-2010 05:08 PM


I tried ./ becuase I think thats the only way to go (please advice me if there are any other ways)and ./configure but many errors showed up. I have also tried the openwrt sdk but it didnt work.

Any help please?!

AwesomeMachine 11-16-2010 05:48 PM

Install the aclocal macros package.

kevinx17910 11-17-2010 06:38 AM

thx for all the help. I solved the aclocal problem by installing libtools.

Does anyone know how to build a gcc 4.3.3 for target ar71xx?


paulsm4 11-17-2010 02:07 PM


How to Cross-compile for OpenWRT

Hi -

Eric Bishop wrote a great tutorial several years ago. The original site moved; here's it's current location:
'Hope that helps!

All times are GMT -5. The time now is 09:41 PM.