LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I cross-compile a program for my openwrt router? (http://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-cross-compile-a-program-for-my-openwrt-router-844434/)

kevinx17910 11-15-2010 04:51 PM

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

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 ./autogen.sh 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 09:40 PM

Try
Code:

yum install automake

paulsm4 11-16-2010 12:43 AM

Hi -

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

http://www.linuxquestions.org/questi...7/#post4159934

kevinx17910 11-16-2010 06:08 PM

Hi,

I tried ./autogen.sh 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 06:48 PM

Install the aclocal macros package.

kevinx17910 11-17-2010 07: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?

Thx

paulsm4 11-17-2010 03:07 PM

Yes:
Quote:

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:

http://www.gargoyle-router.com/wiki/...openwrt_coding

https://forum.openwrt.org/viewtopic.php?id=12247

http://downloads.openwrt.org/docs/bu...mentation.html
'Hope that helps!


All times are GMT -5. The time now is 05:15 PM.