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  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: softgluezynq
From: "Siddons, David via Tech-talk" <tech-talk@aps.anl.gov>
To: Tim Mooney <mooney@aps.anl.gov>, EPICS <tech-talk@aps.anl.gov>
Date: Fri, 25 Jan 2019 20:18:47 +0000

HI Tim,

   I'm going through your instructions for building softgluezynq. My Vivado version is 2018.3, and I had to make a small change to CONFIG_SITE.linux-x86.linux-arm. The tools are in a slightly different location, and the target is different. Here's my file:

# CONFIG_SITE.linux-x86.linux-arm
#
# Site specific definitions for linux-x86 host - linux-arm target builds
#-------------------------------------------------------

# Set GNU crosscompiler target name
GNU_TARGET = arm-linux-gnueabihf

# Set GNU tools install path
# This is the install path at APS:
GNU_DIR = /home/peter/tools/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi/

# With a Xilinx SDK, it'll be something like
#GNU_DIR = /usr/local/zynq/Xilinx/SDK/2015.4/gnu/arm/lin

Base compiled OK. Moving to synApps, (6.0, I believe), things are OK until:

/home/peter/tools/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi//bin/arm-linux-gnueabihf-g++ -o delaygenApp  -L/home/peter/epics/synApps/support/delaygen-R1-2-0/lib/linux-arm -L/home/peter/epics/base-3.15.5/lib/linux-arm -L/home/peter/epics/synApps/support/asyn-R4-33/lib/linux-arm -L/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm -L/home/peter/epics/synApps/support/stream-R2-7-7c/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/delaygen-R1-2-0/lib/linux-arm -Wl,-rpath,/home/peter/epics/base-3.15.5/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/asyn-R4-33/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/stream-R2-7-7c/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/delaygen-R1-2-0/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/base-3.15.5/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/asyn-R4-33/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/stream-R2-7-7c/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/delaygen-R1-2-0/lib/linux-arm -Wl,-rpath,/home/peter/epics/base-3.15.5/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/asyn-R4-33/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm -Wl,-rpath,/home/peter/epics/synApps/support/stream-R2-7-7c/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/delaygen-R1-2-0/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/base-3.15.5/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/asyn-R4-33/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm -Wl,-rpath-link,/home/peter/epics/synApps/support/stream-R2-7-7c/lib/linux-arm           -rdynamic -L/home/peter/tools/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi//arm-linux-gnueabihf/lib           delaygenApp_registerRecordDeviceDriver.o delaygenMain.o    -ldelaygen -lcalc -lasyn -lstream -ldbRecStd -ldbCore -lca -lCom  
/home/peter/tools/Xilinx/SDK/2018.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/7.3.1/../../../../arm-linux-gnueabihf/bin/ld: warning: libsscan.so, needed by /home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm/libcalc.so, not found (try using -rpath or -rpath-link)
/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm/libcalc.so: undefined reference to `recDynLinkClear'
/home/peter/epics/synApps/support/calc-R3-7-1/lib/linux-arm/libcalc.so: undefined reference to `recDynLinkPut'

.....and a bunch more. I checked, and both libcalc.so and libsscan.so exist, but sscan is not referenced in the above. WHat am I doing wrong?


Replies:
Re: softgluezynq Mooney, Tim M. via Tech-talk

Navigate by Date:
Prev: RE: Searching for Stream device db/proto for Lakeshore 331 temp controller Kathryn Baker - UKRI STFC via Tech-talk
Next: Re: softgluezynq Mooney, Tim M. 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  <20192020 
Navigate by Thread:
Prev: RE: Searching for Stream device db/proto for Lakeshore 331 temp controller Kathryn Baker - UKRI STFC via Tech-talk
Next: Re: softgluezynq Mooney, Tim M. 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  <20192020