EPICS Controls Argonne National Laboratory

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  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: softgluezynq
From: "Siddons, David via Tech-talk" <[email protected]>
To: "Mooney, Tim M." <[email protected]>, EPICS <[email protected]>
Date: Fri, 25 Jan 2019 21:49:58 +0000

Hi Tim,

   I edited delaygen/configure/RELEASE to add sscan:


# Modules required for building module
ASYN=$(SUPPORT)/asyn-R4-33
SSCAN=$(SUPPORT)/sscan-R2-11-1
CALC=$(SUPPORT)/calc-R3-7-1
IP=$(SUPPORT)/ip-R2-19-1
STREAM=$(SUPPORT)/stream-R2-7-7c
IPAC=$(SUPPORT)/ipac-2-15


The calc RELEASE file shows:


# Need SSCAN module only to build the swait record (recDynLink library)
# If you comment this definition out, the module will just decline to
# build the swait record.
SSCAN=$(SUPPORT)/sscan-R2-11-1


After doing the edit to delaygen, I did a make clean uninstall ; make release; make. That fixed this problem. On to the next :)

THanks,

Pete.


On 1/25/19 4:01 PM, Mooney, Tim M. wrote:

Hi Pete,


I think what's happening is that calc/configure/RELEASE defines SSCAN, but delaygen/configure/RELEASE does not.  Any module that uses calc must match calc's definition of SSCAN.


Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: Siddons, David <[email protected]>
Sent: Friday, January 25, 2019 2:18:47 PM
To: Mooney, Tim M.; EPICS
Subject: softgluezynq
 

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?


References:
softgluezynq Siddons, David via Tech-talk
Re: softgluezynq Mooney, Tim M. via Tech-talk

Navigate by Date:
Prev: Re: softgluezynq Mooney, Tim M. via Tech-talk
Next: Re: Symantec legacy certificate makes EPICS wiki untrusted Hill, Bruce 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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: softgluezynq Mooney, Tim M. via Tech-talk
Next: Re: Symantec legacy certificate makes EPICS wiki untrusted Hill, Bruce 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  2021  2022  2023  2024 
ANJ, 25 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·