EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Crosscompiling EPICS for ARM Arch - zedboard : Error
From: 윤대희 <[email protected]>
To: <[email protected]>
Cc: 김상균 소장님 <[email protected]>
Date: Wed, 1 Nov 2017 16:48:55 +0900

Hi.

I am attempting to build EPICS into Zedboard.

So I go through Tech-talk Messages.

I discover this recipe.

http://www.aps.anl.gov/epics/tech-talk/2016/msg00629.php

 

I attempt to cross-compile

First > gedit ~/.bashrc > export EPICS_BASE=/home/xilinx/epics/base

export EPICS_HOST_ARCH=linux-x86_64

export LANG=C

 

second > base.x.x.x/configure/CONFIG_SITE > CROSS_COMPILER_TARGET_ARCHS = linux-arm

                                                                     CROSS_COMPILER_HOST_ARCHS=linux-x86_64

 

Third > base.x.x.x/configure/os/CONFIG_SITE.Common.linux-x86_64 > #COMMANDLINE_LIBRARY = READLINE

 

Fourth > base.x.x.x/configure/os/CONFIG_SITE.linux-x86_64.linux-arm > GNU_DIR = /usr

                                                                                                          GNU_TARGET = arm-linux-gnueabi

Fifth > apt-get install libreadline6 libreadline6-dev gcc-arm-linux-gnueabi

 

Sixth > make

 

But It stops asLib.o

Error below.

 

clude/compiler/gcc -I../../../include/os/Linux -I../../../include        -I/usr/local/vw/zynq-2011.09/arm-xilinx-linux-gnueabi/include -c asLib.c

make[3]: /usr/local/vw/zynq-2011.09/bin/arm-xilinx-linux-gnueabi-gcc: Command not found

../../../configure/RULES_BUILD:229: recipe for target 'asLib.o' failed

make[3]: *** [asLib.o] Error 127

make[3]: Leaving directory '/home/xilinx/epics/base/src/libCom/O.linux-arm'

../../configure/RULES_ARCHS:58: recipe for target 'install.linux-arm' failed

make[2]: *** [install.linux-arm] Error 2

make[2]: Leaving directory '/home/xilinx/epics/base/src/libCom'

../configure/RULES_DIRS:84: recipe for target 'libCom.install' failed

make[1]: *** [libCom.install] Error 2

make[1]: Leaving directory '/home/xilinx/epics/base/src'

configure/RULES_DIRS:84: recipe for target 'src.install' failed

make: *** [src.install] Error 2

 

I do not understand where this route came from “/usr/local/vw/zynq-2011.09/bin/arm-xilinx-linux-gnueabi-gcc”.

 

How can I build successfully?

 

Thank you.

 

Dae Hee, Yoon


Replies:
Re: Crosscompiling EPICS for ARM Arch - zedboard : Error Shuei YAMADA

Navigate by Date:
Prev: Re: RTEMS+zoneset seems to be broken Ricardo Cardenes
Next: Data Conversion from CSS RDB Archiver to Archiver Appliance Abdalla Ahmad
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to define a global variable and global array in python script for a widget of Control system studio (CS Anton Derbenev
Next: Re: Crosscompiling EPICS for ARM Arch - zedboard : Error Shuei YAMADA
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024