1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Re: Cannot execute application on ARM target |
From: | 刘佳 via Tech-talk <[email protected]> |
To: | "williams jr., ernest l." <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Sun, 13 Jan 2019 10:57:19 +0800 (GMT+08:00) |
-----原始邮件-----
发件人:"Williams Jr., Ernest L." <[email protected]>
发送时间:2019-01-11 23:52:15 (星期五)
收件人: "刘佳" <[email protected]>
抄送: "[email protected]" <[email protected]>
主题: Re: Cannot execute application on ARM target
Yes, I built the IOC application via the EPICS templates:
makeBaseApp.pl -t example armexample
makeBaseApp.pl -i -t example armexample ( the architechture choose linux-arm, and the application name is armexample)
I didn't change any configuration of the application, and then MAKE is no error. So I copy the <appTop> to the target.
when I try to start the application on the target, ../../bin/linux-arm/armexample st.cmd, the Error is:
-bash: ../../bin/linux-arm/armexample: No such file or directory
and then I change to the <appTop>/bin/linux-arm/, chmod +x armexample, and ./armexample, the Error is:
-bash: ./armexample: No such file or directory
I didn't known what to do next, please give some advices, thanks a lot!
Jia LIU
From: [email protected] <[email protected]> on behalf of 刘佳 via Tech-talk <[email protected]>
Sent: Thursday, January 10, 2019 6:59 PM
To: [email protected]
Subject: Cannot execute application on ARM targetHi,
I am trying to build EPICS application on ARM target, and the cross compiling on host have no error,
but the IOC on the target cannot execute:
-bash: ./armexample: No such file or directory
============================================================================================[Ernest]:If you are building your IOC application via the EPICS Templates, then executable is found here by default:<TOP>/bin/<T_A>/armexample
For example, I built and application called "Jupiter" for a linux target:<TOP>/bin/rhel6-x86_64/Jupiter
Please provide more information such as did you first create a skeleton for you app with:makeBaseApp.pl -t example
============================================================================================
########################################################
my configuration as following:
HOST: Ubuntu 14.04 (on VMware)
TARGET: Exynos4412
BASE: base-3.14.12.5
GCC: arm-none-linux-gnueabi-gcc-4.4.1
the cross compiling configuration is:
configure/CONFIG_SITE:
CROSS_COMPILER_TARGET_ARCHS=linux-arm
CROSS_COMPILER_HOST_ARCHS=linux-x86
SHARED_LIBRARIES=NO
STATIC_BUILD=YES
configure/os/CONFIG_SITE.Common.linux-arm:
#COMMANDLINE_LIBRARY = READLINE
configure/os/CONFIG_SITE.linux-x86.linux-arm:
GNU_DIR = /opt/armtoolchain/arm-2009q3
GNU_TARGET = arm-none-linux-gnueabi
########################################################
the .bashrc configuration is:
export EPICS_HOST_ARCH=linux-x86
export EPICS_BASE=/home/control/epics/base-3.14.12.5
export LD_LIBRARY_PATH=/opt/armtoolchain/arm-2009q3/lib:$EPICS_BASE/lib/linux-arm
I am still getting the error message on target, Please solve my above query.
Thanks
Jia LIU