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  2015  2016  2017  <20182019  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  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Building pvData using R3.15.4 fails
From: DPCuneo <[email protected]>
To: [email protected]
Date: Wed, 20 Jun 2018 11:44:50 -0700
I'm trying experiment with PVAcess while using R3.15.4, since we won't be switching to 7 very soon.
In particular, I cloned the repo at: https://github.com/mdavidsaver/pva2pva .

I read the README.md and set the two environment variables:
exported EPICS_BASE and PVCOMMONS (I have EPICS4 built).

make produces the error:

/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../../src/misc -I../../src/pv -I../../src/factory -I../../src/property -I../../src/copy -I../../src/pvMisc -I../../src/json -I../../include/compiler/gcc -I../../include/os/Linux -I../../include         -MM -MF TypeFunc.d  ../../src/factory/TypeFunc.cpp
../../src/factory/TypeFunc.cpp:19:37: fatal error: dbDefs.h: No such file or directory
 #include "dbDefs.h" // for NELEMENTS

I saw another TT thread with this exact error, however it was in reference to EPICS7 and a git clone issue, rather than EPICS 3.15.x build.

The header "dbDefs.h" exists in my EPICS base in two locations:
>find /usr/local/epics/R3.15.4/base-3.15.4 -type f -name "dbDefs.h"

/usr/local/epics/R3.15.4/base-3.15.4/src/libCom/misc/dbDefs.h
/usr/local/epics/R3.15.4/base-3.15.4/include/dbDefs.h

For fun, I included "/usr/local/epics/R3.15.4/base-3.15.4/include" in the g++ call above, and just received more errors about missing headers.

I'm new to EPICS and have limited experience with C/C++. Perhaps I'm missing something ?

-- 
Daniel P Cuneo
Controls Systems Engineer
x5439
46-172G

Replies:
Re: Building pvData using R3.15.4 fails Michael Davidsaver
Re: Building pvData using R3.15.4 fails Andrew Johnson

Navigate by Date:
Prev: Trouble building with Visual Studio 2017 Hammonds, John P.
Next: RE: Trouble building with Visual Studio 2017 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Trouble building with Visual Studio 2017 Mark Rivers
Next: Re: Building pvData using R3.15.4 fails Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 20 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·