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: areaDetector ADProsilica dbJLinkDebug undefined reference
From: Michael Davidsaver via Tech-talk <[email protected]>
To: Heinz Junkes <[email protected]>
Cc: tech-talk <[email protected]>
Date: Sun, 14 Jul 2019 16:33:33 -0700
My first suspicion of that your build isn't consistent.  Maybe a clean rebuild
is in order?

> /usr/bin/ld: prosilicaApp_registerRecordDeviceDriver.o: undefined reference to symbol ‘pvar_int_dbJLinkDebug'

This symbol should be defined in libdbCore.so from Base in 7.0.2,
though the error suggests that it is missing in your build.

> $ nm lib/linux-x86_64/libdbCore.so|grep pvar_int_dbJLinkDebug
> 000000000008b020 D pvar_int_dbJLinkDebug

It is pulled into an IOC through base.dbd (directly in dbCore.dbd).

> $ grep dbJLinkDebug dbd/*
> dbd/dbCore.dbd:variable(dbJLinkDebug,int)


On 7/14/19 8:50 AM, Heinz Junkes via Tech-talk wrote:
> areadetector 3-6 
> 
> ADProsilica Release 2-5
> 
> /usr/bin/g++ -o prosilicaApp  -L/home/epics/EPICS/SUPPORT/areaDetector/ADProsilica/lib/linux-x86_64 -L/home/epics/EPICS/SUPPORT/areaDetector/ADProsilica/iocs/prosilicaIOC/lib/linux-x86_64 -L/home/epics/EPICS/SUPPORT/areaDetector/ADCore/lib/linux-x86_64 -L/home/epics/EPICS/SUPPORT/areaDetector/ADSupport/lib/linux-x86_64 -L/home/epics/EPICS/SUPPORT/asyn/lib/linux-x86_64 -L/home/epics/EPICS/base-7.0.2/lib/linux-x86_64 -Wl,-rpath,/home/epics/EPICS/SUPPORT/areaDetector/ADProsilica/lib/linux-x86_64 -Wl,-rpath,/home/epics/EPICS/SUPPORT/areaDetector/ADProsilica/iocs/prosilicaIOC/lib/linux-x86_64 -Wl,-rpath,/home/epics/EPICS/SUPPORT/areaDetector/ADCore/lib/linux-x86_64 -Wl,-rpath,/home/epics/EPICS/SUPPORT/areaDetector/ADSupport/lib/linux-x86_64 -Wl,-rpath,/home/epics/EPICS/SUPPORT/asyn/lib/linux-x86_64 -Wl,-rpath,/home/epics/EPICS/base-7.0.2/lib/linux-x86_64           -rdynamic -m64          prosilicaApp_registerRecordDeviceDriver.o prosilicaAppMain.o   -lprosilica -lPvAPI -lNDPlugin -lADBase -lqsrv -lntndArrayConverter -lnt -lpvDatabase -lpvAccessIOC -lpvAccessCA -lpvAccess -lpvData -lnetCDF -lMagick++ -lcoders -lMagick -ljbig -ljp2 -lbzlib -lpng -lwebp -llcms -lttf -lwmf -lfilters -ltiff -lxml2 -lNeXus -lhdf5 -lhdf5_hl -lbitshuffle -lblosc -lszip -lzlib -ljpeg -lasyn -lCom  -lX11 -lXext
> 
> /usr/bin/ld: prosilicaApp_registerRecordDeviceDriver.o: undefined reference to symbol ‘pvar_int_dbJLinkDebug'
> 
> 
> 
> //home/epics/EPICS/base-7.0.2/lib/linux-x86_64/libdbCore.so.3.17.2: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> 
> I have only selected proSilica support.
> 
> What am I doing wrong?
> 
> Danke, Heinz
> ------------------------------------------------------------------------------
> Fritz-Haber-Institut    | Phone:         (+49 30) 8413-4270
> Heinz Junkes             | Fax (G3+G4):   (+49 30) 8413-5900
> Faradayweg 4-6        | 
> D - 14195 Berlin        | E-Mail:        [email protected]
> ------------------------------------------------------------------------------
> 


Replies:
Re: areaDetector ADProsilica dbJLinkDebug undefined reference Mark Rivers via Tech-talk
References:
areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes via Tech-talk

Navigate by Date:
Prev: areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes via Tech-talk
Next: Re: areaDetector ADProsilica dbJLinkDebug undefined reference Mark Rivers 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: areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes via Tech-talk
Next: Re: areaDetector ADProsilica dbJLinkDebug undefined reference Mark Rivers 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, 14 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·