public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* RE: running user application on omap
@ 2006-09-24 12:21 Woodruff, Richard
  0 siblings, 0 replies; 3+ messages in thread
From: Woodruff, Richard @ 2006-09-24 12:21 UTC (permalink / raw)
  To: srini kode, linux-omap-open-source

When things don't work as expected one thing to do is to use strace or
ltrace and to look at the error outputs.  'strace ./apptest'

Depending on the shell type and version its errors are not always that
explicit.  Where did you get your NFS root from?  How was it compiled?
File systems can be created such that they are not compatible with
binaries (soft vs. hard float for example).

Also, what are the permissions after you copied it?  If your lucky all
you need is a chmod 777 apptest.  I would have guessed your shell might
have told you about that kind of error but I don't know.

Also, I've not used 3.3.2 with 2430, only 3.4.0 and 3.4.1.  This
shouldn't matter much, but if you are mixing and matching VFP/Hardfloat
it might.

Regards,
Richard W.

> We are writing a test user application to run in user
> space. We downloaded the gcc from linux.omap.com site,
> installed it under /usr/linux/arm
> and compiled successfully the application as follows:
> 
> arm-linux-gcc-3.3.2 -I /usr/local/arm/3.3.2/include -L
> /usr/local/arm/3.3.2/lib apptest.c -o apptest
> 
> Now we created a test directory on the nfs mounted
> root directory in omap 2430 sdp and copied the
> "apptest" to this directory and executed from there.
> We get the follwoing error:
> 
> /test $ ./apptest
> -sh: ./apptest: not found
> /test $
> 
> All the above we were trying from the
> console(hyperterminal connected to uart1-2 on omap).
> 
> can you please let us know the steps we are missing.
> 
> Regards
> Srini
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-24 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <EA12F909C0431D458B9D18A176BEE4A507B537A2@dlee02.ent.ti.com>
2006-09-23 20:38 ` running user application on omap srini kode
2006-09-24 15:07   ` Nishanth Menon
2006-09-24 12:21 Woodruff, Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox