Hi Andrew,
Thank you very much. Sorry to bother you again.
Guess my problem is with building the base.
We need the "vxWorks6-mv5100" architecture, but the base package does not
have it. So I copied from our working v3_14_8 the following 3 files to configure/os
CONFIG.Common.vxWorks6-mv5100
CONFIG_SITE.linux-x86_64.vxWorks6-mv5100
CONFIG_SITE.linux-x86.vxWorks6-mv5100
And edited
CONFIG_SITE.Common.vxWorksCommon
to un-comment "VXWORKS_VERSION = 6.1" -- as you suggested, and commented
out the "WIND_BASE = ..." line because we have defined this variable.
Also edited "CONFIG.Common.vxWorks6Common" to comment out the
"export WIND_BASE = $(VX_DIR)" line -- so it is not going to override the
original WIND_BASE. Hopefully this VX_DIR is the same so this should have no
effect.
When I build the base, there is no complains, only a few warnings. But if i do
grep WireSet */*/*/* in the top directory of the base, I will get something
like
Binary file src/softIoc/O.vxWorks6-mv5100/softIoc matches
Binary file src/softIoc/O.vxWorks6-mv5100/softIoc.munch matches
src/softIoc/O.vxWorks6-mv5100/softIoc.nm: U _Z7WireSetIfEvRKT_Ph
src/softIoc/O.vxWorks6-mv5100/softIoc.nm: U _Z7WireSetIiEvRKT_Ph
src/softIoc/O.vxWorks6-mv5100/softIoc.nm: U _Z7WireSetIsEvRKT_Ph
Guess the base is not built ok. Could you please help to find a set of support files
for our vxWorks6-mv5100? And advice on how to change other config settings?
Sorry to be vague! I am not familiar with the epics build structure.
Thank you again, best regards,
Dehong
----- Original Message -----
From: Andrew Johnson <[email protected]>
Date: Wednesday, November 12, 2008 5:09 pm
Subject: Re: WireSet missing with 3.14.10
To: Dehong Zhang <[email protected]>
Cc: [email protected]
> Hi Dehong,
>
> On Wednesday 12 November 2008 16:30:39 Dehong Zhang wrote:
> >
> > I am trying to upgrade from epics 3.14.8 to 3.14.10. My vxworks is
> v6.1.
>
> What is the EPICS target architecture you're using for this IOC?
>
> > The epics base and my application were both built fine, no
> complaints. But
> > when i load the munch file, it complains about ... undefined.
>
> Please copy & paste the exact error messages (with a few lines of
> context
> beforehand) from your vxWorks console straight into an email. It's
> much
> easier to understand error messages in their original form, so
> *always* send
> the original message unmodified if you're asking a question about one.
>
> > I then ran the c++filt like you suggested, and found the missing
> method is
> > called "WireSet", which should have been defined in include/osiWireFormat.h
>
> "WireSet" is actually a C++ template that has several instantiations
> with
> different template parameters.
>
> > Later in tech-talk I found that someone compalined about exactly the
> same
> > problem. And there was a suggestion to "make sure you build
> > iocCoreLibrary" with the base, and add the library in the make file.
> >
> > I am having a hard time to find out how to force to build iocCoreLibrary.
> > There is no mentioning of it in any document. Any idea?
>
> Ernest was talking about a library that was for provided for
> compatibility
> with 3.13 systems; you shouldn't need that, so ignore his response.
>
> Does your base/configure/os/CONFIG_SITE.Common.vxWorksCommon have the
> correct
> definition of VXWORKS_VERSION uncommented? This controls some of the
> flags
> that we pass to the C++ compiler which need to be different for
> different
> versions of vxWorks.
>
> - Andrew
> --
> Talk is cheap. Show me the code. -- Linus Torvalds
- Replies:
- Re: WireSet missing with 3.14.10 Andrew Johnson
- References:
- WireSet missing with 3.14.10 Dehong Zhang
- Re: WireSet missing with 3.14.10 Andrew Johnson
- Re: WireSet missing with 3.14.10 Dehong Zhang
- Re: WireSet missing with 3.14.10 Andrew Johnson
- Navigate by Date:
- Prev:
Re: question about ca gateway Dirk Zimoch
- Next:
Re: WireSet missing with 3.14.10 Andrew Johnson
- 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: WireSet missing with 3.14.10 Andrew Johnson
- Next:
Re: WireSet missing with 3.14.10 Andrew Johnson
- 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
|