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: dm2k on alpha
From: "Brian McAllister" <[email protected]>
To: Thomas Fechner <[email protected]>
Cc: [email protected]
Date: Thu, 15 Feb 2001 14:12:13 -0500
>>> "TF" == Thomas Fechner <[email protected]> writes:

  TF> Hi all, yesterday I tried to compile dm2k-2.5.2 on an alpha server
  TF> with osf1 V5.1 and the standard compaq c compiler. With some small
  TF> adjustments it compiles very well, but after starting and selecting
  TF> Palettes - Resource it core dumps. Does anyone already succeed in
  TF> porting dm2k to alpha?  Thanks in advance for any suggestions or
  TF> comments Th. Fechner

I haven't tried to build dm2k, but based on other experience with porting
to Alphas, look for long vs int problems.  This includes using standard
types (int, etc) instead of typedefs like time_t or Pixel, which can be
architecture specific in size.  Also mixing pointers and ints (pointers are
64-bits on the Alpha).

I had trouble with colors in the old DM because they were declared as "int"
instead of "Pixel", which is typedefed by X as "long".

Did you try turning on *all* the warnings and checks in the compiler ?

----
Brian McAllister                    Controls Programmer/Beam Physicist
[email protected]                        MIT-Bates Linear Accelerator
(617) 253-9537                                           Middleton, MA


References:
dm2k on alpha Thomas Fechner

Navigate by Date:
Prev: Re: ss_id for seq_pv functions Ned Arnold
Next: Support for Allen-Bradley PLCs Rarback, Harvey
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: dm2k on alpha Thomas Fechner
Next: ss_id for seq_pv functions Alastair Borrowman
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 ·