ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: can not execute binary file

To:
Subject: Re: [ts-7000] Re: can not execute binary file
From: Xiang Lu <>
Date: Sat, 17 Jul 2010 22:36:42 -0700 (PDT)


Dear Doug,

I am sorry for the naive mistake. Yes, I tried the full path of the file. Now, it works. Thank you for your help.

Best,
Xiang


From: Doug <>
To:
Sent: Sun, July 18, 2010 12:35:21 PM
Subject: [ts-7000] Re: can not execute binary file

 

Hi Xiang,

Yes--that's how it was on the 7390, anyway--I used the EABI compiler for the kernel/modules, and OABI for compiling apps for the TS provided file system.

You shouldn't try to execute the binary as an argument to bash. That makes bash try to interpret it as a shell script. It's expecting a text file containing shell commands but instead you gave it a binary, so that's what the "cannot execute binary file" message is telling you.

Instead, you should type:
/home/test

to directly execute the binary. If that gives you the same error you originally had, you should type "ldd /home/test" (that's lowercase LDD) and see if it's telling you about a library it cannot locate.

Hope this helps,
Doug

--- In , Xiang Lu <> wrote:
>
> Dear Doug,
>
> Thank you for your reminding. I recompiled my application source code using the
> toolchain referred in you email, that means I use the EABI toochain to compile
> my module, but using the OABI toolchain to compile the application. The problem
> is still there with further information.
>
> I used the full path to execute the binary file, saying "/bin/bash /home/test",
> the error information is "/home/goose_arm: /home/test: cannot execute binary
> file".
>
> I totally lost in so strange situation. Could you please give me more hints?
> Thank you so much.
>
> Best,
> Xiang




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU