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 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
<== Date ==> <== Thread ==>

Subject: DSO missing from command line Error in Ubuntu 16.04 LTS
From: Shantonu Sahoo <ssahoo@vecc.gov.in>
To: "EPICS Tech-Talk" <tech-talk@aps.anl.gov>
Cc: Anindya Roy <r_ani@vecc.gov.in>
Date: Tue, 10 Jan 2017 17:44:38 +0530
I am getting an abnormal error while building an application in EPICS in ubuntu 16.04 x86 platform. I could successfully build EPICS base 3.15.5 and asysn 4-30 without error. But get the following error:

make[3]: Entering directory '/home/epics/base-3.15.5/asyn4-30/tcpscc/tcpsccApp/src/O.linux-x86'
/usr/bin/g++ -o tcpscc  -L/home/epics/base-3.15.5/asyn4-30/tcpscc/lib/linux-x86 -Wl,-rpath,/home/epics/base-3.15.5/asyn4-30/tcpscc/lib/linux-x86           -rdynamic -m32            tcpscc_registerRecordDeviceDriver.o tcpsccMain.o    -ldevtcpscc -lasyn  
/usr/bin/ld: tcpscc_registerRecordDeviceDriver.o: undefined reference to symbol 'iocshRegisterCommon'
/home/epics/base-3.15.5/asyn4-30/tcpscc/lib/linux-x86/libdbCore.so.3.15.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
/home/epics/base-3.15.5/configure/RULES_BUILD:201: recipe for target 'tcpscc' failed
make[3]: *** [tcpscc] Error 1
make[3]: Leaving directory '/home/epics/base-3.15.5/asyn4-30/tcpscc/tcpsccApp/src/O.linux-x86'
/home/epics/base-3.15.5/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86' failed
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory '/home/epics/base-3.15.5/asyn4-30/tcpscc/tcpsccApp/src'
/home/epics/base-3.15.5/configure/RULES_DIRS:84: recipe for target 'src.install' failed
make[1]: *** [src.install] Error 2
make[1]: Leaving directory '/home/epics/base-3.15.5/asyn4-30/tcpscc/tcpsccApp'
/home/epics/base-3.15.5/configure/RULES_DIRS:84: recipe for target 'tcpsccApp.install' failed
make: *** [tcpsccApp.install] Error 2


I have tried with different version of epics and asyn, but the error persists. Is it related to OS?
शांतनु साहू / Shantonu Sahoo

Replies:
Re: DSO missing from command line Error in Ubuntu 16.04 LTS Johnson, Andrew N.

Navigate by Date:
Prev: Looking for someone to help building the control system of XAFS/XRF beamline at SESAME Messaoud Harfouche
Next: Re: Looking for someone to help building the control system of XAFS/XRF beamline at SESAME Mark Rivers
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
Navigate by Thread:
Prev: Looking for someone to help building the control system of XAFS/XRF beamline at SESAME Mark Clift
Next: Re: DSO missing from command line Error in Ubuntu 16.04 LTS Johnson, Andrew N.
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
ANJ, 14 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·