I have a similar problem. Cross compiling C++ programs (e.g. Hello World) using mipsel-linux-g++ from the default LinkSys GPL build compiles fine, but run-time execution will give the "no found" message.
I was not able to compile C++ Hello World program using the mipsel-uclibc-g++ (which btw soft links to mipsel-uclibc=gcc binary), since the C++ STL are not there (e.g. vector, maps, etc...)
I was able to get a C Hello World program to work fine (compiled and run on firmware).
Has anyone successfully compile and execute a C++ program onto the WRT54G/GL v4 via telnet?
e.g. Run-time on GL router via telnet:
# ./test1 (C++ version)
./test1: not found
# ./test2 (C version)
Hello World!
thetraste wrote:Dear friends
I am a bit fed up with this cross-compilation, I am desesperatelly looking for help. I think I misunderstand sth. I explian the case:
I am using sveasoft firmware. Well, I have download wrt54.2.04.4.tgz I have used the cross compiler included inside to compile one of my prograss (mipsel-linux-gcc), then I upload it to the linksys and then I do chmod +x program and then I execute ./program and it says; "program" not found...
What do I havce to do to make my own programs and upload them to the linksys????. DO I have to make a new formware wiuth the program inside (as a command) to make it work??