EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  <20002001  2002  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  <20002001  2002  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: Building base EPICS 3.13.2 under KAI C++ compiler
From: [email protected] (Jeff Hill)
To: "Vladimir Sirotenko" <[email protected]>, <[email protected]>
Date: Thu, 6 Jul 2000 14:22:49 -0600

Vladimir,

If your compiler does not define one of the following 
( in base/src/ca/net_convert.h ) then you will need to
define an appropriate macro on the C compiler command 
line using your version of the build system configuration 
files. You will probably need "- D_M_IX86" or "-D_X86_".

Jeff

#if defined(VAX) 
#	define CA_FLOAT_MIT
#	define CA_LITTLE_ENDIAN
#elif defined(_M_IX86) || defined(_X86_)
#	define CA_FLOAT_IEEE
#	define CA_LITTLE_ENDIAN
#elif (defined(__ALPHA) && defined(VMS) || defined(__alpha)) && defined(VMS)
#	define CA_FLOAT_MIT
#	define CA_LITTLE_ENDIAN
#elif (defined(__ALPHA) && defined(UNIX) || defined(__alpha)) && defined(UNIX)
#	define CA_FLOAT_IEEE
#	define CA_LITTLE_ENDIAN
#else
#	define CA_FLOAT_IEEE
#	define CA_BIG_ENDIAN
#endif

> -----Original Message-----
> From: Vladimir Sirotenko [mailto:[email protected]]
> Sent: Thursday, July 06, 2000 1:58 PM
> To: [email protected]
> Subject: Building base EPICS 3.13.2 under KAI C++ compiler
> 
> 
> Hi,
> 
> I am building base EPICS (host) under KAI compiler KCC on Linux box
> and build  was ok with several warnings.
> Unfortunately, CA client does not work.
> When I run ca_test (with excas running)  I got the following:
> 
> <d0lxbld4> ca_test janet
> CAC: post_msg(): Corrupt cmd in UDP msg d00
> ../iocinf.c: bad UDP msg from d0lxbld4.fnal.gov:4526
> err resp  was "User specified timeout on IO operation expired"
> Not Found janet
> 
> At the same time with native gcc base EPICS build everything is ok on the
> same machine (!)
> and ca_test works ok and produces the right dump.
> 
> We are using :
> Red Hat Linux Release 5.2.1
> Kernel 2.2.12-20f1smp on an i686
> KCC, v3_3f_1
> gcc 2.7.2.3.f.1
> 
> Any hints where to look?
> 
> Vladimir
> 
> 
> 
> 
> 
> 
> 
> 


Replies:
Re: Building base EPICS 3.13.2 under KAI C++ compiler Vladimir Sirotenko
References:
Building base EPICS 3.13.2 under KAI C++ compiler Vladimir Sirotenko

Navigate by Date:
Prev: Re: Building base EPICS 3.13.2 under KAI C++ compiler Kay Kasemir
Next: Re: Building base EPICS 3.13.2 under KAI C++ compiler Vladimir Sirotenko
Index: 1994  1995  1996  1997  1998  1999  <20002001  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: Building base EPICS 3.13.2 under KAI C++ compiler Kay Kasemir
Next: Re: Building base EPICS 3.13.2 under KAI C++ compiler Vladimir Sirotenko
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024