Experimental Physics and Industrial Control System
Also, please report the output of this command
uname -a
On 2019-01-12 10:39 PM, Williams Jr., Ernest L. via Tech-talk wrote:
> On 1/12/19 6:57 PM, 刘佳 wrote:
>>
>>
>>
>> -----原始邮件-----
>> *发件人:*"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)
>>
> Okay, that is good.
>
>
>>
>> I didn't change any configuration of the application, and then
>> MAKE is no error. So I copy the <appTop> to the target.
>>
> In this step, I need more information:
>
> What type of linux distro are running on your target?
>
> What file system are you using?
>
> Does you target do an nfs mount anywhere?
>
>
>>
>> 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!
>>
>>
> In theory, this should be working.
>
> After you copy the <appTop> to your target file system, please do a pwd().
>
> I would like to see the path on your target.
>
>
> In general, I think we could help you troubleshoot this more efficiently
> if you
>
> list all the commands you type in your console.
>
>
>
> Cheers,
>
> Ernesto
>
>> 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 target
>> Hi,
>> 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
>>
>>
>>
>
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <[email protected]>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
- References:
- Cannot execute application on ARM target 刘佳 via Tech-talk
- Re: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk
- Re: Re: Cannot execute application on ARM target 刘佳 via Tech-talk
- Re: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk
- Navigate by Date:
- Prev:
Re: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk
- Next:
Re: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk
- 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
- Navigate by Thread:
- Prev:
Re: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk
- Next:
Re: Cannot execute application on ARM target Williams Jr., Ernest L. via Tech-talk
- 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