g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: problem with 64 bit build of EDM v1-12-68
From: John Dobbins <john.dobbins@cornell.edu>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Sun, 15 Jan 2012 15:36:49 +0000
This is resolved.

After noticing that files EDM put into 

extensions/bin
extensions/inculde
extensions/lib

were not removed by "make clean"  (should they be?)
 I removed them manually so as to truly start from scratch. 
Then the build proceeded normally.

The error originally reported (below) was after several build attempts.

John Dobbins

________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of John Dobbins [john.dobbins@cornell.edu]
Sent: Friday, January 13, 2012 10:56 PM
To: EPICS Tech-Talk
Subject: problem with 64 bit build of EDM v1-12-68

All,

I am attempting to build EDM on 64 bit linux for the first time.

configuration:

gcc 4.4.5  [Scientific Linux release 6.1 (Carbon)]
epics R3.14.12.2
EDM 1-12-68

calc_pv_factory.cc fails, see below.

Any advice?

Regards,

John Dobbins
Cornell University






/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux
  -D_REENTRANT   -O3   -Wall     -DSINGLE_THREADED=1 -D__epics__=1  -m64
     -fPIC -MMD -I. -I../O.Common -I. -I..
-I../../../../include/edm/os/Linux -I../../../../include/edm
-I/nfs/erl/erp/epics/R3.14.12/support/base-3.14.12.2/include/os/Linux
-I/nfs/erl/erp/epics/R3.14.12/support/base-3.14.12.2/include
-I/nfs/erl/erp/epics/R3.14.12/support/base-3.14.12.2/../../extensions/include
     -I../../util -I../../lib -I/usr/include -I/usr/include/X11
../calc_pv_factory.cc
../calc_pv_factory.cc: In function \u2018bool equals(const
HashedCalcPvList*, const HashedCalcPvList*)\u2019:
../calc_pv_factory.cc:501: error: cast from
\u2018CALC_ProcessVariable*\u2019 to \u2018unsigned int\u2019 loses
precision
../calc_pv_factory.cc:501: error: cast from
\u2018CALC_ProcessVariable*\u2019 to \u2018unsigned int\u2019 loses
precision
../calc_pv_factory.cc:504: error: cast from
\u2018CALC_ProcessVariable*\u2019 to \u2018unsigned int\u2019 loses
precision
../calc_pv_factory.cc:504: error: cast from
\u2018CALC_ProcessVariable*\u2019 to \u2018unsigned int\u2019 loses
precision
../calc_pv_factory.cc: At global scope:
../calc_pv_factory.cc:613: warning: invalid access to non-static data
member \u2018HashedExpression::node\u2019  of NULL object
../calc_pv_factory.cc:613: warning: (perhaps the \u2018offsetof\u2019
macro was used incorrectly)
../calc_pv_factory.cc:617: warning: invalid access to non-static data
member \u2018HashedCalcPvList::node\u2019  of NULL object
../calc_pv_factory.cc:617: warning: (perhaps the \u2018offsetof\u2019
macro was used incorrectly)
../calc_pv_factory.cc: In member function \u2018void
CALC_ProcessVariable::completeCreation(HashedExpression*)\u2019:
../calc_pv_factory.cc:1289: warning: comparison between signed and
unsigned integer expressions
make[3]: *** [calc_pv_factory.o] Error 1
make[3]: Leaving directory
`/nfs/erl/erp/epics/R3.14.12/extensions/src/edm/calcPv/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory
`/nfs/erl/erp/epics/R3.14.12/extensions/src/edm/calcPv'
make[1]: *** [calcPv.install] Error 2
make[1]: Leaving directory `/nfs/erl/erp/epics/R3.14.12/extensions/src/edm'
make: *** [edm.install] Error 2


Replies:
RE: problem with 64 bit build of EDM v1-12-68 Mark Rivers
References:
problem with 64 bit build of EDM v1-12-68 John Dobbins

Navigate by Date:
Prev: problem with 64 bit build of EDM v1-12-68 John Dobbins
Next: RE: problem with 64 bit build of EDM v1-12-68 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: problem with 64 bit build of EDM v1-12-68 John Dobbins
Next: RE: problem with 64 bit build of EDM v1-12-68 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·