* [Buildroot] problem with execution ./mai -sh: ./main not found
@ 2010-02-22 20:13 Miguel Angel Brintrup
2010-02-22 21:09 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Miguel Angel Brintrup @ 2010-02-22 20:13 UTC (permalink / raw)
To: buildroot
Hi to all I have a big but dummy problem. I have a main file compiled with
gcc (usr/local/arm/3.4.1/bin/arm-linux-gcc) but when I try to run the
program appears this problem:
# ./main
-sh: ./main: not found
The main file is already exist:
# ls
DocumentacionDoxygen headers
Doxyfile libmcuinterface.a
Makefile main
buffer.c main.c
buffer.o mcu_interface.c
communication_interface.c mcu_interface.o
communication_interface.o rs232.c
crc16.c rs232.o
crc16.o
And PATH is:
# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin
I try with different kernels and file systems based in buildroot, but the
problem stay here.
I'm using a at91sam9261ek board and SAM-BA software to load the kernel
images and file systems.
I have a second board and I charge a kernel with file system with uboot and
this work without problems.
Anyone have any ideas?
Thanks in Advanced
--
Miguel Angel Brintrup B.
skype: miguel.brintrup
Atenci?n: Piense bien antes de imprimir este correo electr?nico, el medio
ambiente debe ser preocupaci?n de todos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100222/44cc3aaf/attachment.htm>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] problem with execution ./mai -sh: ./main not found
2010-02-22 20:13 [Buildroot] problem with execution ./mai -sh: ./main not found Miguel Angel Brintrup
@ 2010-02-22 21:09 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2010-02-22 21:09 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 22 Feb 2010 17:13:06 -0300
Miguel Angel Brintrup <mbrintrup@tecnocal.cl> wrote:
> Hi to all I have a big but dummy problem. I have a main file compiled
> with gcc (usr/local/arm/3.4.1/bin/arm-linux-gcc) but when I try to
> run the program appears this problem:
>
> # ./main
> -sh: ./main: not found
It is usually the error displayed when the shared library loader cannot
be found.
Run arm-linux-readelf -a on your program, and check what the "Program
Interpreter" is. Then verify that it exists with this *exact* same name
on your target.
Sincerely,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-22 21:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-22 20:13 [Buildroot] problem with execution ./mai -sh: ./main not found Miguel Angel Brintrup
2010-02-22 21:09 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox