Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: ld error: Module contains undefined symbol(s) and may be unusable.
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: "Porter, Rodney R." <rporter@anl.gov>
Cc: tech-talk@aps.anl.gov
Date: Tue, 04 Apr 2006 19:04:37 +0200
Hi Rodney,

you can do
nm<arch> *.o | grep _sysIntEnablePIC
on all object files which are included in your ANC library to find out which code uses that function. In you case, nm<arch> is probably nm68k and maybe you have to specify the complete path (same directory as your cross-compiler).


Most sys* functions are defined in the vxWorks BSP for your board. If they are missing, you have probably board-depending driver code which has been compiled for the wrong board. Are macro definitions missing or wrong?

Dirk

Porter, Rodney R. wrote:
I am running EPICS 3.14.8.2, vxWorks T2.2, synApps 5_1_1 with upgrades to motor 5-8 and asyn 4-4 to get streamDevice to work. For vxWorks-68040 I get the following load errors: ld < ANC.munch
undefined symbol: _sysIntEnablePIC
undefined symbol: _sysVectorIRQ0
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0
For vxWorks-ppc604_long I get the following load error: ld < ANC.munch
undefined symbol: sysIntEnablePIC (binding 1 type 0)
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0
I am assuming that these mean that some vxWorks system calls are not getting properly registered. Does anyone have a fix, or can anyone direct me to where the fix needs to be implemented (vxWorks, base, asyn . . .)?
Rodney Porter
Sr. Scientific Programmer
Data Aquisition & Detector Systems
Intense Pulsed Neutron Source
Argonne National Laboratory
9700 So. Cass Ave
Argonne, IL 60439 USA
Ph. (630) 252-7151
E-mail: rporter@anl.gov <mailto:rporter@anl.gov>
IPNS website: www.pns.anl.gov

-- Dr. Dirk Zimoch Swiss Light Source Paul Scherrer Institut Computing and Controls phone +41 56 310 5182 fax +41 56 310 4413

References:
ld error: Module contains undefined symbol(s) and may be unusable. Porter, Rodney R.

Navigate by Date:
Prev: ld error: Module contains undefined symbol(s) and may be unusable. Porter, Rodney R.
Next: Re: snc/seq enhancements ... local-variable access Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: ld error: Module contains undefined symbol(s) and may be unusable. Porter, Rodney R.
Next: EpicsHostArch.pl for Intel OS X machines? Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·