On 8/2/06, Salvador Gianluca <[EMAIL PROTECTED]> wrote:
Hi to all the list!
I'm working with an ARM-based system (Omniflash) with Cirrus Logic EP9302 processor. The system is shipped with kernel 2.4 and busybox.
On my host machine I cross-compiled helloworld.c to helloworld.arm, put it into Omniflash via tftp, changed permissions and succesfully executed it with ./helloworld.arm command.So you can conclude with me that the toolchain works as well as tftp transfer and the command execution.
Thus where is the problem? Here are: i have also succesfully cross-compiled linphone and all dependencies following readme.arm and obtain the /armbuild directory tree:
/armbuild -> usr -> bin, include, lib, libexec, man.In the usr/bin directory there is the linhonec binary that should be launch to execute the application. Because via TFTP you can transfer only files, i compressed all the tree in a tar archive, transfered it, and decompressed it on board-flash.
So i had a twin usr/... tree in /mnt/FlashMemory/. Exactly the same! Also permissions are correct!
But when i launch ./linphonec i get:/mnt/FlashMemory/usr/bin # ./linphonec
-sh: ./linphonec: not foundNote that the error is "not found" not something like "wrong file format" or "error while loading shared libraries"
It is very strange and I didn't been able to understand the meaning.
Have you got any idea?
Thanks and best regards,
Gian
_______________________________________________
Linphone-developers mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/linphone-developers
Gianluca,
go into the folder "/mnt/FlashMemory/usr/bin" and run linphonec, does it work? look at the $PATH of Linux, and see if "/mnt/FlashMemory/usr/bin" is on it? I think it is not, because it is not a default folder. Include "
/mnt/FlashMemory/usr/bin" into $PATH, does linphonec runs? I think you should copy everything to root filesys "/"
Edwin
_______________________________________________ Linphone-developers mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/linphone-developers
