C Program doesn't run on openwrt Backfire 10.03
Hi all,
We are trying to compile a helloworld package writted in C and downloaded from the following tutorial: http://manoftoday.wordpress.com/2007...m-for-openwrt/ We have the RouterStation Pro with Backfire 10.03 from the link: http://downloads.openwrt.org/backfir...sysupgrade.bin root@OpenWrt:~# uname -a Linux OpenWrt 2.6.32.10 #20 Tue Apr 6 15:01:26 CEST 2010 mips GNU/Linux The cross-compilation of the package is done selecting: Target System (Atheros AR71xx/AR7240/AR913x) Target Profile (Ubiquiti RouterStation Pro) The other parameters are set by default The helloworld C package (.ipk) is correctly compiled, copied to the routerstation pro and installed on it, but when we try to run the program we get: root@OpenWrt:~# helloworld /bin/helloworld: line 1: syntax error: unexpected "(" Any idea? |
Quote:
|
I run the file command in two binaries, one original from Backfire, and my helloword to see the differences, and you are right, the cross-compiling doesn't work. Any idea to fix this?
Quote:
|
Quote:
|
All times are GMT -5. The time now is 10:12 AM. |