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  <20082009  2010  2011  2012  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: problems with loading devLibOpt
From: Andrew Johnson <[email protected]>
To: Yuriy Gorbunov <[email protected]>
Cc: [email protected]
Date: Thu, 13 Mar 2008 11:29:43 -0500
Yuriy Gorbunov wrote:

I'm trying to move my application (vme 162) VxWorks 5.2 from R3.12.x to R3.13.10

ld <iocCore  -> loads without problem
ld < seq       -> no problem

but trying to load devLibOpt gives such error message :

ld < devLibOpt
undefined symbol: _devGpibLib_initAi
undefined symbol: _devGpibLib_readAi
undefined symbol: _devGpibLib_aiGpibWork
...
undefined symbol: _devGpibLib_initDevSup
undefined symbol: _devGpibLib_report
undefined symbol: _devGpibLib_setPvSevr
undefined symbol: _ibDebug
undefined symbol: _drvGpib
undefined symbol: _ibSrqDebug
ld error: error reading file (errno = 0x1c0001).

devLibOpt depends on devCommonGpib.o which is where the above symbols can be found; you'll have to load that first if you want to do it this way. If you don't need GPIB for your IOC at all though, you should be able to load just the devOpt object files that your application needs instead of the whole devLibOpt library.


However rather than loading them individually like this a much better way to get all your device and record support code loaded is to link them together into a single binary in one of your App/src directories and load that file instead. Look at the makeBaseApp example application for hints on how to do that.

HTH,

- Andrew
--
When a distinguished but elderly scientist states that something is
possible, he is almost certainly right.  When he states that something
is impossible, he is very probably wrong.  -- Arthur C. Clarke

Replies:
Re: problems with loading devLibOpt Yuriy Gorbunov
References:
problems with loading devLibOpt Yuriy Gorbunov

Navigate by Date:
Prev: problems with loading devLibOpt Yuriy Gorbunov
Next: Re: problems with loading devLibOpt Yuriy Gorbunov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: problems with loading devLibOpt Yuriy Gorbunov
Next: Re: problems with loading devLibOpt Yuriy Gorbunov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·