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

Subject: RE: Undefined symbol error when load VxWorks .much file
From: "Mooney, Tim M." <[email protected]>
To: "J. Lewis Muir" <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Wed, 4 Nov 2015 22:02:32 +0000
Hi Lewis,

I don't know how to debug this, but you should be able to avoid it by including epicsStdio.h and calling epicsSnprintf().

Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


________________________________________
From: [email protected] [[email protected]] on behalf of J. Lewis Muir [[email protected]]
Sent: Wednesday, November 04, 2015 3:09 PM
To: EPICS Tech-Talk
Subject: Undefined symbol error when load VxWorks .much file

Hello!

I've got a VxWorks IOC that stops executing st.cmd as follows when it
tries loading the .munch file:

---8<---
cd topbin
value = 0 = 0x0
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.

Environment:
* VME processor module: Motorola MVME-2100 (vxWorks-ppc603)
  - CPU: MPC 8240
  - Memory: 32 MB
* OS: VxWorks 5.5.2
* Kernel: WIND 2.6
* BSP: mv2100-anj-fix-boot-hang (by Andrew Johnson)
* Build toolchain: Tornado 2.2.2
* EPICS 3.14.12.5 (+ Known Problems patches)
* synApps 5.8 (+ various module upgrades)

Thank you!

Lewis


Replies:
RE: Undefined symbol error when load VxWorks .much file Mark Rivers
References:
Undefined symbol error when load VxWorks .much file J. Lewis Muir

Navigate by Date:
Prev: Undefined symbol error when load VxWorks .much file J. Lewis Muir
Next: Building Epics base 3.15.2 in Windows 7 Klyachko, Alexander Vitalievich
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Undefined symbol error when load VxWorks .much file J. Lewis Muir
Next: RE: Undefined symbol error when load VxWorks .much file Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·