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

Subject: Re: undefined symbol when loading mrfioc2
From: 王林 <[email protected]>
To: "ygsong" <[email protected]>, <[email protected]>
Date: Tue, 5 Mar 2013 18:14:10 +0800
Hello Younggi,
I add the following definitions and the corresponding declarations to the sysAUtil.s file in my CPCI-6200 (MPC8572 processor) wb3.2/vx6.8 BSP directory, and it works. I think it will also apply to MVME-3100.
 
FUNC_EXPORT(sysIn16)
FUNC_EXPORT(sysOut16)
FUNC_EXPORT(sysIn32)
FUNC_EXPORT(sysOut32)
 
FUNC_BEGIN(sysIn16)
        eieio                   /* Sync I/O operation */
        sync
        lhzx    p0,r0,p0        /* Read word from I/O space */
        bclr    20,0            /* Return to caller */
FUNC_END(sysIn16)
 
FUNC_BEGIN(sysOut16)
        sthx    p1,r0,p0        /* Write a word to I/O space */
        eieio                   /* Sync I/O operation */
        sync
        bclr    20,0            /* Return to caller */
FUNC_END(sysOut16)
 
FUNC_BEGIN(sysIn32)
        eieio                   /* Sync I/O operation */
        sync
        lwzx    p0,r0,p0        /* Read long from I/O space */
        bclr    20,0            /* Return to caller */
FUNC_END(sysIn32)
 
FUNC_BEGIN(sysOut32)
        stwx    p1,r0,p0        /* Write a long to I/O space */
        eieio                   /* Sync I/O operation */
        sync
        bclr    20,0            /* Return to caller */
FUNC_END(sysOut32)
 
 
Lin Wang
 
----- Original Message -----
From: ygsong
Sent: Tuesday, March 05, 2013 2:30 PM
Subject: undefined symbol when loading mrfioc2

Hello:

 

When loading mrfioc2, I got some undefined symbol errors as follows.

 

-> ld < mrf.munch

Warning: module 0x166a330 holds reference to undefined symbol SysIn16.

Warning: module 0x166a330 holds reference to undefined symbol SysOut32.

Warning: module 0x166a330 holds reference to undefined symbol SysIn32.

Warning: module 0x166a330 holds reference to undefined symbol SysOut16.

ld(): module contains undefined symbol(s) and may be unusable.

value = 0 = 0x0

->

 

The undefined symbols are included in /mrfioc2/mrfCommon/src/os/vxWorks/mrfIoOps.h

Do i have to add more items to kernel (bsp) configuration?

Could you help me how to fix this problem?

 

Thanks in advance!

Best regards.

 

Younggi.

--------------------------------------
Build environment is as follows.

--------------------------------------
- EPICS Base3.14.12.2

- vxWorks 6.8

- mvme3100 (mps8540)

- modules : autosave-4.8, devLib2-2.3, mrfioc2-2.0.1




References:
undefined symbol when loading mrfioc2 ygsong

Navigate by Date:
Prev: undefined symbol when loading mrfioc2 ygsong
Next: IOC redundant source code Steven Goff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: undefined symbol when loading mrfioc2 ygsong
Next: IOC redundant source code Steven Goff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·