g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: adding libCom calls to vxWorks IOC
From: "John Dobbins" <john.dobbins@cornell.edu>
To: "EPICS Tech-Talk" <tech-talk@aps.anl.gov>
Date: Mon, 5 Jan 2009 13:31:20 -0500 (EST)
Forgive me if I am missing something obvious here, it is the first day
back after the holidays...

I am trying to use libCom calls to add an interrupt handler to device
support for a vxWorks (ppc604) IOC.

Everything compiles fine but at reboot I get undefined symbols, console
output reads:

  ld < vme49.munch
  Undefined symbol: devDisableInterruptLevelVME (binding 1 type 0)
  Undefined symbol: devConnectInterruptVME (binding 1 type 0)
  Undefined symbol: devEnableInterruptLevelVME (binding 1 type 0)
  Undefined symbol: devInterruptInUseVME (binding 1 type 0)
  ld error: Module contains undefined symbol(s) and may be unusable.
  value = 0 = 0x0

  Done executing startup script /home/jad/ppcBootDir/st.cmd



The libCom calls are in device support, my devAUX_CLK module, used by my
devERL_EMS module, used in my IOC vme49.

In the vme49 IOC src folder the Makefile looks like:

PROD_IOC_vxWorks = vme49

DBD += vme49.dbd
# vme44.dbd will be made up from these files:
vme49_DBD += base.dbd


# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
vme49_SRCS += vme49_registerRecordDeviceDriver.cpp
vme49_SRCS_DEFAULT += vme49Main.cpp
vme49_SRCS_vxWorks += -nil-

#The following adds support from base/src/vxWorks
vme49_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

#add a definition for each support application used by this application
vme49_LIBS_vxWorks += devERL_EMS
vme49_LIBS_vxWorks += devAUX_CLK
vme49_LIBS_vxWorks += asyn
vme49_LIBS_vxWorks += stream

vme49_LIBS += $(EPICS_BASE_IOC_LIBS)



Happy New Year and thanks,

John Dobbins

Lab for Elementary Particle Physics


Navigate by Date:
Prev: Re: Problems with Base 3.14.10. and Sequencer 2.0.12 on Cygwin? Andrew Johnson
Next: PowerPMAC_EPICS Krzysztof Lazarski
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014 
Navigate by Thread:
Prev: Re: Problems with Base 3.14.10. and Sequencer 2.0.12 on Cygwin? Andrew Johnson
Next: PowerPMAC_EPICS Krzysztof Lazarski
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·