EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem building areaDetector with base7.0.1-rc1
From: Andrew Johnson <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 5 Dec 2017 11:17:39 -0600
Hi Mark,

I can't help you directly myself as I don't know the PVA API, and from
his silence in recent days I suspect Michael is busy (he may be in
Florida). However if you read the release notes for both pvData and
pvAccess (linked from the Base-7.0.1 web-page) they have some summaries
of required application changes which clean up a whole raft of potential
and real memory leaks and other problems.

That said, the error below might just need a 'const' keyword adding to a
declaration somewhere, that is mentioned as one change in the pvAccess
notes.

- Andrew


On 12/04/2017 06:39 PM, Mark Rivers wrote:
> I am now working through building synApps and areaDetector with 7.0.01-rc1.
> 
> I get this error when building areaDetector on linux-x86-64:
> 
> make[5]: Entering directory
> `/home/epics/devel-base7/areaDetector-3-1/ADCore/ADApp/ntndArrayConverterSrc/O.linux-x86_64'
> 
> /usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_ 
> -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC
> -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc
> -I../../../include/os/Linux -I../../../include      
> -I/corvette/usr/local/epics-devel/base-7.0.1/include/compiler/gcc
> -I/corvette/usr/local/epics-devel/base-7.0.1/include/os/Linux
> -I/corvette/usr/local/epics-devel/base-7.0.1/include     
> -I/corvette/home/epics/devel-base7/asyn-4-32/include 
> -I/corvette/home/epics/devel-base7/areaDetector-3-1/ADSupport/include/os/Linux
> -I/corvette/home/epics/devel-base7/areaDetector-3-1/ADSupport/include  
> -I/corvette/home/epics/devel-base7/areaDetector-3-1/ADCore/include                   
> -c ../ntndArrayConverter.cpp
> 
> ../ntndArrayConverter.cpp: In member function 'void
> NTNDArrayConverter::fromUndefinedAttribute(epics::pvData::PVStructurePtr)':
> 
> ../ntndArrayConverter.cpp:497:54: error: passing 'const PVFieldPtr {aka
> const std::tr1::shared_ptr<epics::pvData::PVField>}' as 'this' argument
> of 'void std::tr1::__shared_ptr<_Tp, _Lp>::reset() [with _Tp =
> epics::pvData::PVField; __gnu_cxx::_Lock_policy _Lp =
> (__gnu_cxx::_Lock_policy)2u]' discards qualifiers [-fpermissive]
> 
>      dest->getSubField<PVUnion>("value")->get().reset();

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

Replies:
Re: Problem building areaDetector with base7.0.1-rc1 Michael Davidsaver
References:
Problem building areaDetector with base7.0.1-rc1 Mark Rivers

Navigate by Date:
Prev: Problem building areaDetector with base7.0.1-rc1 Mark Rivers
Next: Link problem in areaDetector with pva libraries Mark Rivers
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem building areaDetector with base7.0.1-rc1 Mark Rivers
Next: Re: Problem building areaDetector with base7.0.1-rc1 Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·