Experimental Physics and Industrial Control System
Hi Mark,
On 12/05/2017 02:28 PM, Mark Rivers wrote:
> Thanks to a suggestion from Bruno ADCore now compiles OK.
Great.
> I now have a problem when linking the IOC applications:
> -lsimDetector -lNDPlugin -lADBase -lntndArrayConverter -lnt -lpvDatabase
> -lpvAccess -lpvData
> -lnetCDF -lMagick++ -lcoders -lMagick -ljbig -ljp2 -lbzlib -lpng -lwebp
> -llcms -lttf -lwmf
> -lfilters -ltiff -ljpeg -lxml2 -lNeXus -lhdf5 -lblosc -lszip -lzlib
> -lasyn -lautosave -lbusy -lcalc
> -ldevIocStats -lsscan -lseq -lpv -ldbRecStd -ldbCore -lca -lCom
> -Wl,-Bdynamic -lX11 -lXext -lpthread
> -lreadline -lm -lrt -ldl -lgcc
> undefined reference to `pvar_func_refTrackRegistrar'
> undefined reference to `pvar_func_registerStartPVAServer'
> Is this a problem with the order of link libraries?
I believe those particular routines are found in libpvAccessIOC which I
don't see in your link line at all. That's a new library in this
release, as is libpvAccessCA although you might not need that.
> When using EPICS 7 does one still need to link explicitly with pvAccess,
> pvDatabase, etc. or are those included in EPICS_BASE_IOC_LIBS or some
> other symbol?
We provide a new variable EPICS_BASE_PVA_CORE_LIBS which contains the
core PVA libraries (put this in your *_LIBS before EPICS_BASE_IOC_LIBS):
> EPICS_BASE_PVA_CORE_LIBS = pvAccessIOC pvAccessCA pvAccess pvData
Note that neither nt nor pvDatabase are included there, they still need
to appear before the above variable. If you want the IOC to be able to
serve records over pvAccess and your DBD file includes qsrv.dbd you will
also need the qsrv library, also before either of the variables.
HTH,
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- Replies:
- RE: Link problem in areaDetector with pva libraries Mark Rivers
- References:
- Link problem in areaDetector with pva libraries Mark Rivers
- Navigate by Date:
- Prev:
Link problem in areaDetector with pva libraries Mark Rivers
- Next:
RE: Link problem in areaDetector with pva libraries Mark Rivers
- Index:
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:
Link problem in areaDetector with pva libraries Mark Rivers
- Next:
RE: Link problem in areaDetector with pva libraries Mark Rivers
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024