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  <20122013  2014  2015  2016  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: problem with 64 bit build of EDM v1-12-68
From: John Dobbins <[email protected]>
To: Mark Rivers <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Sun, 15 Jan 2012 21:19:35 +0000
Thanks Mark.

I see now that one can do "make clean uninstall" in the extensions directory.

In extensions/src/edm  "make clean uninstall" produces:

make: *** No rule to make target "uninstall'

I had originally tried to do so in that directory.

I also see that doing "make clean uninstall" in the extensions directory wipes out all built extensions. Not sure I'd always want that.

In any case I'm back on track with my  transition to 64 bits. 

Joihn Dobbins



________________________________________
From: Mark Rivers [[email protected]]
Sent: Sunday, January 15, 2012 2:29 PM
To: John Dobbins; EPICS Tech-Talk
Subject: RE: problem with 64 bit build of EDM v1-12-68

John,

You need to do "make clean uninstall" to get rid of those files.

Mark
________________________________________
From: [email protected] [[email protected]] on behalf of John Dobbins [[email protected]]
Sent: Sunday, January 15, 2012 9:36 AM
To: EPICS Tech-Talk
Subject: RE: problem with 64 bit build of EDM v1-12-68

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: [email protected] [[email protected]] on behalf of John Dobbins [[email protected]]
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



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

Navigate by Date:
Prev: RE: problem with 64 bit build of EDM v1-12-68 Mark Rivers
Next: RE: Strategies for working with fast-changing large arrays michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: problem with 64 bit build of EDM v1-12-68 Mark Rivers
Next: labca-3.4 released Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·