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  2009  2010  2011  2012  <20132014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014 
<== Date ==> <== Thread ==>

Subject: CAEN HV SY2527 : "undefined reference" for EPICS
From: Sanguk Won <memorize7@gmail.com>
To: Burkhard Kolb <b.kolb@gsi.de>, "Tech-talk@aps.anl.gov" <Tech-talk@aps.anl.gov>
Date: Thu, 7 Nov 2013 18:45:32 +0900
Dear all,

I am programming EPICS for CAEN HV monitoring system.

In order to monitoring CAEN high voltage, I used CAEN High voltage SY2527

I installed "baseR-3.14.12.2",

Directory is following 
$HOME(or any directory where you want)/EPICS/base
$HOME(or any directory where you want)/EPICS/modules/HVCAENx527
and so on.


When I install "HVCAENx527", I can get error messages as blow



make -C ./configure install 

make[1]: Entering directory `/home/lithium/epcis/module/HVCAENx527/configure'

make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install

make[2]: Entering directory `/home/lithium/epcis/module/HVCAENx527/configure/O.linux-x86'

perl /home/lithium/epcis/base-3.14.12.2/bin/linux-x86/convertRelease.pl checkRelease

make[2]: Leaving directory `/home/lithium/epcis/module/HVCAENx527/configure/O.linux-x86'

make[1]: Leaving directory `/home/lithium/epcis/module/HVCAENx527/configure'

make -C ./HVCAENx527App install 

make[1]: Entering directory `/home/lithium/epcis/module/HVCAENx527/HVCAENx527App'

make -C ./src install 

make[2]: Entering directory `/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src'

make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install

make[3]: Entering directory `/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86'

/usr/bin/g++ -o HVCAENx527  -L/home/lithium/epcis/base-3.14.12.2/lib/linux-x86 -Wl,-rpath,/home/lithium/epcis/base-3.14.12.2/lib/linux-x86   -L/lib/linux-x86 -lhscaenet -lcaenhvwrapper    -m32               HVCAENx527_registerRecordDeviceDriver.o HVCAENx527.o HVCAENx527chAio.o HVCAENx527chBio.o HVCAENx527chLongio.o HVCAENx527chMBBio.o HVCAENx527chStringio.o HVCAENx527Main.o    -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom   

HVCAENx527.o: In function `CAENx527GetAllChParVal':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:587: undefined reference to `CAENHVGetChParam'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:632: undefined reference to `CAENHVDeinitSystem'

HVCAENx527.o: In function `CAENx527GetAllChName':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:777: undefined reference to `CAENHVGetChName'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:777: undefined reference to `CAENHVGetChName'

HVCAENx527.o: In function `ConnectCrate':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:349: undefined reference to `CAENHVInitSystem'

HVCAENx527.o: In function `InitCrate':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:220: undefined reference to `CAENHVGetCrateMap'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:223: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:284: undefined reference to `CAENHVGetChParamInfo'

HVCAENx527.o: In function `ReadChParProp':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:139: undefined reference to `CAENHVGetChParamProp'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:145: undefined reference to `CAENHVGetChParamProp'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:153: undefined reference to `CAENHVGetChParamProp'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:159: undefined reference to `CAENHVGetChParamProp'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:165: undefined reference to `CAENHVGetChParamProp'

HVCAENx527.o:/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:186: more undefined references to `CAENHVGetChParamProp' follow

HVCAENx527.o: In function `ReadChParProp':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:189: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:148: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:142: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:180: undefined reference to `CAENHVGetChParamProp'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:168: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:162: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:156: undefined reference to `CAENHVGetError'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:183: undefined reference to `CAENHVGetError'

HVCAENx527.o: In function `ConnectCrate':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:367: undefined reference to `CAENHVGetError'

HVCAENx527.o: In function `CAENx527GetChParVal':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:467: undefined reference to `CAENHVGetChParam'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:460: undefined reference to `CAENHVGetChParam'

HVCAENx527.o: In function `CAENx527SetChParVal':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:501: undefined reference to `CAENHVSetChParam'

HVCAENx527.o: In function `CAENx527SetAllChParVal':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:714: undefined reference to `CAENHVSetChParam'

HVCAENx527.o: In function `CAENx527GetChName':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:870: undefined reference to `CAENHVGetChName'

HVCAENx527.o: In function `CAENx527SetChName':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:894: undefined reference to `CAENHVSetChName'

HVCAENx527.o: In function `Shutdown':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:939: undefined reference to `CAENHVDeinitSystem'

HVCAENx527.o: In function `ScanChannels':

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:1127: undefined reference to `CAENHVGetSysProp'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:1147: undefined reference to `CAENHVInitSystem'

/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86/../HVCAENx527.c:1136: undefined reference to `CAENHVDeinitSystem'

collect2: error: ld returned 1 exit status

make[3]: *** [HVCAENx527] Error 1

make[3]: Leaving directory `/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src/O.linux-x86'

make[2]: *** [install.linux-x86] Error 2

make[2]: Leaving directory `/home/lithium/epcis/module/HVCAENx527/HVCAENx527App/src'

make[1]: *** [src.install] Error 2

make[1]: Leaving directory `/home/lithium/epcis/module/HVCAENx527/HVCAENx527App'

make: *** [HVCAENx527App.install] Error 2






could you let me know how to solve this problem?


-- 
Sanguk Won



Replies:
Re: CAEN HV SY2527 : "undefined reference" for EPICS Burkhard Kolb

Navigate by Date:
Prev: Re: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNCLASSIFIED:For-Official-Use-Only] Andrew Johnson
Next: Re: CAEN HV SY2527 : "undefined reference" for EPICS Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014 
Navigate by Thread:
Prev: Re: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNOFFICIAL] Martin L. Smith
Next: Re: CAEN HV SY2527 : "undefined reference" for EPICS Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·