Hello! I'm having big problems with compiling a simple program for my OpenWRT device.
Can someone please help me to set-up the compiling environment and tell me what do I have to run to successfully compile a program.
I don't need to compile a package, just a simple binary program, that I need for a serial port communication.
1.
I have TP-Link WR741ND v4.22 with ATTITUDE ADJUSTMENT (12.09-rc1, r34185).
I installed openwrt-ar71xx-generic-tl-wr741nd-v1-squashfs-sysupgrade.bin from here
http://downloads.openwrt.org/attitude_a … x/generic/
I obtained
OpenWrt-Toolchain-ar71xx-for-mips_r2-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2
from the same link above.
For compiling I use debian.
2.
I don't know if I'm doing right, but tell me...
Where do I need to put my c_source_file.c?
And then I have to run
mips-openwrt-linux-uclibc-gcc
from toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin (downloaded toolchain above).
Am I doing right?
I did like this for kamikaze and everything worked well. But now on new router and ATTITUDE ADJUSTMENT I can't get things working.
Help, please, I'm not really a Linux programer, but i need this program to compile
(Last edited by pcpostar on 6 Apr 2013, 18:54)