EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: JCA 2.1.2 on 64 bit Ubuntu
From: Frank Gribbin <[email protected]>
To: [email protected], EPICS Tech-Talk <[email protected]>
Date: Wed, 15 Jul 2015 16:53:25 +0100
Hello

    Does anyone have a version of JCA 2.1.2 on 64 bit linux?

    We're moving from 32 bit FC11 to 64 bit Ubuntu 14.04

The problem is that on the 64 bit system variables that would have been
4 bytes are now 8 bytes whereas jint is still 4 bytes.

For some of the errors I get see below. There are plenty more warnings.

[applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:263:58: error: cast from ‘chanId {aka oldChannelNotify*}’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:266:37: error: cast from ‘void*’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:298:35: error: cast from ‘ca_client_context*’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:454:90: error: cast from ‘const void*’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:471:90: error: cast from ‘const void*’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:489:90: error: cast from ‘const void*’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:515:39: error: cast from ‘oldChannelNotify**’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:626:15: error: cast from ‘MonitorID*’ to ‘jint {aka int}’ loses precision [-fpermissive] [applyex] /home/whtsm/ubuntu14.04-64/jca2/src/core/gov/aps/jca/jni/JNI.cpp:703:46: error: cast from ‘void*’ to ‘jint {aka int}’ loses precision [-fpermissive]

Regards,
Frank

--
=============================================================
Frank Gribbin        +34 922 425426 (office)
Isaac Newton Group,  +34 620 189909 (mobile)
Apartado 321,
38700 S/C La Palma, Tenerife, Spain
=============================================================


Sobre la privacidad y el tratamiento de Datos de Carácter Personal /
Disclaimer on privacy and the treatment of sensitive personal information:
http://www.ing.iac.es/PR/LOPD/LOPD.html




Replies:
Re: JCA 2.1.2 on 64 bit Ubuntu Andrew Johnson
Re: JCA 2.1.2 on 64 bit Ubuntu J. Lewis Muir

Navigate by Date:
Prev: Re: SubArray Andrew Johnson
Next: Re: using motor / steppermotor record for Trinamic TMCM-351 controller Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Prosilica GigE on MAC Hinko Kocevar
Next: Re: JCA 2.1.2 on 64 bit Ubuntu Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·