Experimental Physics and Industrial Control System
Hi Heinz,
This is part of my link output:
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 -lNDPluginEdge -lNDPluginCV -lasyn -lautosave -lbusy -lcalc -ldevIocStats -lsscan -lseq -lpv -ldbRecStd -ldbCore -lca -lCom -Wl,-Bdynamic -lboost_system -lopencv_core -lopencv_imgproc -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_video -lX11 -lXext -lpthread -lreadline -lm -lrt -ldl -lgcc
Note that before -lCom it has -lpv -ldbRecStd -ldbCore -lca
Yours is missing all of these libraries. I’m not sure what would cause that.
Mark
Sent from my iPhone
> On Jul 14, 2019, at 7:36 PM, Michael Davidsaver via Tech-talk <[email protected]> wrote:
>
> 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 Heinz Junkes via Tech-talk
- References:
- areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes via Tech-talk
- Re: areaDetector ADProsilica dbJLinkDebug undefined reference Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: areaDetector ADProsilica dbJLinkDebug undefined reference Michael Davidsaver via Tech-talk
- Next:
Re: areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes 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
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: areaDetector ADProsilica dbJLinkDebug undefined reference Michael Davidsaver via Tech-talk
- Next:
Re: areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes 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
<2019>
2020
2021
2022
2023
2024