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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Undefined symbol of devReadProbe and devRegisterAddress
From: [email protected]
To: [email protected]
Date: Wed, 16 Nov 2011 19:08:35 +0800

Hi, all
I am a green hand in epics world. I am developing a driver support and device support for Caen Modal V812 constant fraction discriminator VME card. The epics base is 3.14.12.1 and the host is scientific linux 5.2, the target is MVME5100 running vxWorks 5.51. I built the base and my application successfully, but when the iocCore loaded at startup, the error occurred. I got the message from the terminal as below:

cd topbin
value = 0 = 0x0
#load epics 3.14.12.1 core
ld 0,0, "rapp.munch"
Undefined symbol: devReadProbe (binding 1 type 0)
Undefined symbol: devRegisterAddress (binding 1 type 0)
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0

After searching tech-talk for reference to solve the problems, I used nmppc and arppc extract devLibVME.o from libCom.a and loaded it before iocCore, but I got more undefined symbol hint. I guess I must have configured some error somewhere, but I can’t find a way yet to solve the problem. Is there any one who can give me some advice? Any comment will be much appreciated.

There it is the Makefile of app:

TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
#=============================
# Build the IOC application

PROD_IOC = rapp
# rapp.dbd will be created and installed
DBD += rapp.dbd
# rapp.dbd will be made up from these files:
rapp_DBD += base.dbd

# Include dbd files from all support applications:
rapp_DBD += vxStats.dbd
rapp_DBD += CaenV812.dbd
# Add all the support libraries needed by this IOC
rapp_LIBS_vxWorks += vxStats
rapp_LIBS_vxWorks += CaenV812

# rapp_registerRecordDeviceDriver.cpp derives from rapp.dbd
rapp_SRCS_vxWorks += rapp_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
rapp_SRCS_DEFAULT += rappMain.cpp
rapp_SRCS_vxWorks += -nil-

# Add support from base/src/vxWorks if needed
rapp_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

# Finally link to the EPICS Base libraries
rapp_LIBS += $(EPICS_BASE_IOC_LIBS)
#===========================

include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE

Hou Shigang
Beijing Radioactive Ion-beam Facility
China Institute of Atomic Energy
[email protected]


Replies:
Re: Undefined symbol of devReadProbe and devRegisterAddress Andrew Johnson

Navigate by Date:
Prev: Siemens 9610 Power Meter James Stevens
Next: Illegal Choice PV Julio Calvo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Siemens 9610 Power Meter James Stevens
Next: Re: Undefined symbol of devReadProbe and devRegisterAddress Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·