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  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: undefined reference to symbol 'pvar_dset_asynInt32ArrayWfIn'
From: Peter Pitfield via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 26 Sep 2023 10:30:04 -0700
Hello,
I am trying to use the labjack module, and I am receiving the error message in the subject line.
The complete error looks like this:
/usr/bin/g++ -o labjackIOC  -L/home/raphael/EPICS/IOCs/labjackIOC/lib/linux-x86_64 -L/home/raphael/EPICS/epics-base/lib/linux-x86_64 -L/home/raphael/EPICS/support/LabJack/lib/linux-x86_64 -Wl,-rpath,/home/raphael/EPICS/IOCs/labjackIOC/lib/linux-x86_64 -Wl,-rpath,/home/raphael/EPICS/epics-base/lib/linux-x86_64 -Wl,-rpath,/home/raphael/EPICS/support/LabJack/lib/linux-x86_64          -rdynamic -m64         labjackIOC_registerRecordDeviceDriver.o labjackIOCMain.o    -llabjackIOCSupport -lLabJack -lqsrv -lpvAccessIOC -lpvAccessCA -lpvAccess -lpvData -ldbRecStd -ldbCore -lca -lCom  
/usr/bin/ld: labjackIOC_registerRecordDeviceDriver.o: undefined reference to symbol 'pvar_dset_asynInt32ArrayWfIn'
/usr/bin/ld: /home/raphael/EPICS/support/asyn/lib/linux-x86_64/libasyn.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [/home/raphael/EPICS/epics-base/configure/RULES_BUILD:231: labjackIOC] Error 1
make[3]: Leaving directory '/home/raphael/EPICS/IOCs/labjackIOC/labjackIOCApp/src/O.linux-x86_64'
make[2]: *** [/home/raphael/EPICS/epics-base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[2]: Leaving directory '/home/raphael/EPICS/IOCs/labjackIOC/labjackIOCApp/src'
make[1]: *** [/home/raphael/EPICS/epics-base/configure/RULES_DIRS:85: src.install] Error 2
make[1]: Leaving directory '/home/raphael/EPICS/IOCs/labjackIOC/labjackIOCApp'
make: *** [/home/raphael/EPICS/epics-base/configure/RULES_DIRS:85: labjackIOCApp.install] Error 2

Also, I do not know how to set up an IOC with the labjack module. I have checked the readme file in the module and the documentation it has a link to, but the setup instructions did not seem complete. I would like to know what, if anything, I might be missing.

Thank you so much,
Peter

Replies:
Re: undefined reference to symbol 'pvar_dset_asynInt32ArrayWfIn' Wang Xiaoqiang via Tech-talk
Re: undefined reference to symbol 'pvar_dset_asynInt32ArrayWfIn' Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: USB permissions Mark Rivers via Tech-talk
Next: Re: USB permissions Guruswamy, Tejas 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  <20232024 
Navigate by Thread:
Prev: Re: USB permissions Guruswamy, Tejas via Tech-talk
Next: Re: undefined reference to symbol 'pvar_dset_asynInt32ArrayWfIn' Wang Xiaoqiang 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  <20232024 
ANJ, 27 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·