Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Link problem in areaDetector with pva libraries
From: Mark Rivers <rivers@cars.uchicago.edu>
To: "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Tue, 5 Dec 2017 20:28:36 +0000

Thanks to a suggestion from Bruno ADCore now compiles OK.

 

I now have a problem when linking the IOC applications:

 

make[1]: Entering directory `/home/epics/devel-base7/areaDetector-3-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'

/usr/bin/g++ -o simDetectorApp -Wl,-Bstatic

-L/home/epics/devel-base7/areaDetector-3-1/ADSimDetector/lib/linux-x86_64

-L/home/epics/devel-base7/areaDetector-3-1/ADSimDetector/iocs/simDetectorIOC/lib/linux-x86_64

-L/home/epics/devel-base7/areaDetector-3-1/ADCore/lib/linux-x86_64

-L/home/epics/devel-base7/areaDetector-3-1/ADSupport/lib/linux-x86_64

-L/home/epics/devel-base7/asyn-4-32/lib/linux-x86_64

-L/home/epics/devel-base7/autosave-5-8/lib/linux-x86_64

-L/home/epics/devel-base7/busy-1-7/lib/linux-x86_64

-L/home/epics/devel-base7/calc-3-6-1/lib/linux-x86_64

-L/home/epics/devel-base7/devIocStats-3-1-15/lib/linux-x86_64

-L/home/epics/devel-base7/seq-2-2-4/lib/linux-x86_64

-L/home/epics/devel-base7/sscan-2-10-2/lib/linux-x86_64

-L/usr/local/epics-devel/base-7.0.1/lib/linux-x86_64           

-rdynamic -m64             simDetectorApp_registerRecordDeviceDriver.o simDetectorAppMain.o  

-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

simDetectorApp_registerRecordDeviceDriver.o: In function `simDetectorApp_registerRecordDeviceDriver':

/home/epics/devel-base7/areaDetector-3-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64/simDetectorApp_registerRecordDeviceDriver.cpp:504: undefined reference to `pvar_func_refTrackRegistrar'

/home/epics/devel-base7/areaDetector-3-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64/simDetectorApp_registerRecordDeviceDriver.cpp:505: undefined reference to `pvar_func_registerStartPVAServer'

collect2: error: ld returned 1 exit status

make[1]: *** [simDetectorApp] Error 1

make[1]: Leaving directory `/home/epics/devel-base7/areaDetector-3-1/ADSimDetector/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'

make: *** [install.linux-x86_64] Error 2

 

Is this a problem with the order of link libraries? 

 

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?

 

Thanks,

Mark

 


Replies:
Re: Link problem in areaDetector with pva libraries Andrew Johnson

Navigate by Date:
Prev: Re: Problem building areaDetector with base7.0.1-rc1 Andrew Johnson
Next: Re: Link problem in areaDetector with pva libraries Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: Problem building areaDetector with base7.0.1-rc1 Michael Davidsaver
Next: Re: Link problem in areaDetector with pva libraries Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 05 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·