Hi,
I have a WRT54GL with OpenWrt Kamikaze 8.09 r 14511 installed.
I compiled a simple HelloWorld Program with Ubuntu on my laptop.
I tried the compilers from two SDKs:
1.) OpenWrt-SDK-atheros-2.6-for-Linux-i686.tar.bz2
2.)from http://downloads.openwrt.org/whiterussi … -1.tar.bz2
I compiled it like that:
root@OpenWrt:~#staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -o helloworld helloworld.c
and then I copied helloworld to my router.
When I tried to execute it (./helloworld), I got this error (with both SDKs):
./helloworld: line 1 : syntax erorr "(" unexpected
Can somebody help me?
I guess it is because the compiler I used is outdated. However, I can't find an SDK for Kamikaze.
So can you tell me what I did wrong or, if my compiler is really outdated, tell me where I can get a new one?
regards
(Last edited by miranda on 3 Sep 2009, 17:00)