I see your first question has been answered, but I'll answer the second
question. Loading the file already tells you which symbol is undefined,
so then you look at the libraries used to build the IOC and find which
one refers to this symbol. Finding the undefined symbol without booting
and loading the module is also useful. I wrote a simple perl script
that runs nm, and finds all the undefined symbols in the munch file,
then eliminates the ones that are defined in the kernel file. I use this
script as part of the IOC build process for some of our IOCs, this way I
can be alerted to undefined symbols before attempting to boot the IOC.
On 11/4/2015 2:09 PM, J. Lewis Muir wrote:
load("17lab.munch")
Undefined symbol: snprintf (binding 1 type 0)
ld error: Module contains undefined symbol(s) and may be unusable.
value = 0 = 0x0
Done executing startup script /ioc/boot/17lab/st.cmd
17lab>
--->8---
Does anyone know what's wrong or how to debug this?
I've tried running nmppc on 17lab.munch, but there are *many* symbols
prefixed with a 'U'. In fact, when I run nmppc on a known-good .munch
file, it too shows many symbols prefixed with a 'U', so I'm not
confident I'm looking at the right thing.
--
Scott Baily
AOT-IC, MS H820
Los Alamos National Laboratory
Los Alamos, NM 87545
ph: (505) 606-2260
- Navigate by Date:
- Prev:
Re: Skip updating an output link in aSub ? Lingyun Yang
- Next:
Re: Skip updating an output link in aSub ? Michael Davidsaver
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Would it be recommended to delete an asynPortDriver object when the IOC exits? Mark Rivers
- Next:
Keithley 7001 Scanner Support Jiro Fujita
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|