Hi Eric,
On 2013-04-22 Bjorklund, Eric A wrote:
> I just discovered today that the vxWorks osd class "atRebootRegister" is
> not being loaded into my munch files (EPICS 3.14.12.3, vxWorks 6.8, gnu
> toolchain 4.1.2). The class is clearly present in libCom.a, but it seems
> the newer gnu loaders have become too clever for the "atRebootExtern"
> trick. Removing the "static" declaration from the "pext" structure in
> osdThread.c (and giving it a less vulnerable name) is one way to fix the
> problem.
Good catch. I don't particularly like using a static C++ constructor like
that anyway, so I'm changing osdThread.c so the epicsThreadInit() routine
calls atRebootRegister() directly, changing that object constructor into a
regular function. I've put the patch for this up on the Known Problems page.
I may move the functionality into osdThread.c in the future, the extra file is
not necessary at all now.
Thanks,
- Andrew
--
It is difficult to get a man to understand something, when his salary
depends upon his not understanding it. -- Upton Sinclair
- References:
- Andrew 周永年
- Re: Andrew Andrew Johnson
- and Speaking of sysAtReboot.... Bjorklund, Eric A
- Navigate by Date:
- Prev:
Re: asynPrint to print asyn port name Mark Davis
- Next:
Help with CAJ installation.. Park, Young Soo
- 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:
and Speaking of sysAtReboot.... Bjorklund, Eric A
- Next:
Multiple copies of IOC Mogamad-Amien Crombie
- 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
|