EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CA package(R3-14) on VxWorks/PPC604
From: "Jeff Hill" <[email protected]>
To: Pierre-André Amaudruz <[email protected]>, <[email protected]>
Date: Mon, 17 Sep 2001 15:06:41 -0600
Try rebuilding your vxWorks kernel to include support for the SNTP
protocol. As I recall, this is under network/protocols in
the Tornado II configuration tree.

> C++ exception in file=../../../src/libCom/osi/epicsMutex.h at line=120,

Its difficult to determine more about the cause of this w/o a stack trace.
To get one use the "sp" command to run ca_test and then type "tt <task id>"
for the suspended thread. My initial guess is that some vxWorks specific
libCom initialization isnt getting executed prior to ca's initializing
itself.

> What about the "no compiler support" comment for this exception, am I
> still missing some components in the kernel?

The message on vxWorks about "no compiler support for C++ exceptions"
in the first release of EPICS R3.14 results form a configuration
mistake. There _is_ support for C++ exceptions in vxWorks 5.4.
This is fixed in the next release of R3.14.

> Does my command sequence contain the minimum setup for getting the CA to
> run?

Yes, if your server is on one of the subnets attached to your IOC.

> -> putenv("EPICS_CA_REPEATER_PORT=9003")
> value = 0 = 0x0
> -> putenv("EPICS_CA_SERVER_PORT=9004")

These steps are required only if you do not wish to run CA on its default
port number. If so, make certain that the server has identical configuration
for the EPICS_CA_SERVER_PORT.

Jeff

> -----Original Message-----
> From: Pierre-André Amaudruz [mailto:[email protected]]
> Sent: Monday, September 17, 2001 2:34 PM
> To: [email protected]
> Subject: CA package(R3-14) on VxWorks/PPC604
>
>
> Hello there,
> I'm trying to get the channel access loaded into my PPC
> under VxWorks/Tornado2 to be able to run the "ca_test" for example.
> After a successful build of the vxWorks-ppc604 under Solaris
> (gnu cross-compiler) for libCom/, ca/ and tools/ directories,
> while loading these objects I've got the following result.
> ---------------------------------------------------------
> -> version
> VxWorks (for Motorola MVME2300 - MPC 604e) version 5.4.
> Kernel: WIND version 2.5.
> Made on Sep 11 2001, 11:15:33.
> Boot line: ...
>
> -> ld < ComLibrary.o
> Undefined symbol: sntpcTimeGet (binding 1 type 0)
> value = 33548192 = 0x1ffe7a0 = oldFdmgr type_info node + 0x18
> -> ld < caLibrary.o
> value = 33538680 = 0x1ffc278 = caClient type_info node + 0x538
> -> ld < ca_test.o
> value = 33538120 = 0x1ffc048 = caClient type_info node + 0x308
> -> putenv("EPICS_CA_REPEATER_PORT=9003")
> value = 0 = 0x0
> -> putenv("EPICS_CA_SERVER_PORT=9004")
> value = 0 = 0x0
> -> ca_test
>
> program
> Exception current instruction address: 0x00000000
> Machine Status Register: 0x0008b030
> Condition Register: 0x44000000
> Task: 0x1a842b8 "syncNTP"
> C++ exception in file=../../../src/libCom/osi/epicsMutex.h at line=120,
> and no compiler support - cant
>  proceed.
> fatal error: No compiler support for C++ exception
> C++ exception in file=../../../src/libCom/osi/epicsMutex.h at line=120,
> and no compiler support - cant
>  proceed.
> fatal error: No compiler support for C++ exception
> .... hang....
> ---------------------------------------------------------
> I guess the missing symbol is causing the exception, but I cannot find
> the symbol
> "sntpcTimeGet" anywhere. Would anyone know where it's coming from?
>
> What about the "no compiler support" comment for this exception, am I
> still missing some
> components in the kernel?
>
> Does my command sequence contain the minimum setup for getting the CA to
> run?
>
> Any help would be appreciated,
>
> Thank you in advance, Pierre-André Amaudruz
> --
> ----------------------------------------------------------------
> TRIUMF                          Phone : (604) 222-1047 x6234
> 4004 Wesbrook Mall              Fax   : (604) 222-1074
> Vancouver B.C. V6T 2A3          E-mail: [email protected]
> CANADA                          Web   : http://pierre.triumf.ca/
> ----------------------------------------------------------------



References:
CA package(R3-14) on VxWorks/PPC604 Pierre-André Amaudruz

Navigate by Date:
Prev: Re: CA package(R3-14) on VxWorks/PPC604 Andrew Johnson
Next: IOSCANPVT Jim Thomas
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: CA package(R3-14) on VxWorks/PPC604 Andrew Johnson
Next: IOSCANPVT Jim Thomas
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·