-----Ursprüngliche Nachricht-----
Von: Otavio Salvador [mailto:[email protected]] 
Gesendet: Freitag, 17. November 2017 12:55
An: Paul Sievers
Cc: [email protected]
Betreff: Re: [meta-freescale] ADT Installer produces bad compiler?

On Fri, Nov 17, 2017 at 5:25 AM, Paul Sievers <[email protected]> wrote:
> Thanks, Otavio, that works.
>
> Now, my next problem: I produce "tt" on my VirtualBox-Linux:
> paul@VBox:~/DataExchange/workspace/tt$ $CC -o tt src/tt.o 
> paul@VBox:~/DataExchange/workspace/tt$ cksum tt
> 2134736149 39910 tt
> paul@VBox:~/DataExchange/workspace/tt$
>
> I copy it to my target machine (i.MX6UL EVK) via SD-card:
> root@imx6ulevk:~# cksum /home/root/tt
> 2134736149 39910 tt
> root@imx6ulevk:~#
>
> I cannot execute it:
> root@imx6ulevk:~# /home/root/tt
> -sh: /home/root/tt: No such file or directory root@imx6ulevk:~#
>
> What is amiss?

No idea; you need to debug. It might be many different things. I'd start using 
strace and try to see what is missing.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
---------------------------------------------------------------------------------------------------------------------------------
Here is strace output:
root@imx6ulevk:~# strace /home/root/tt
execve("/home/root/tt", ["/home/root/tt"], [/* 15 vars */]) = -1 ENOENT (No 
such file or directory)
write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or 
directory
) = 40
exit_group(1)                           = ?
+++ exited with 1 +++
root@imx6ulevk:~#

Best Regards
Paul


-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to