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: StreamDevice and sCalcoutRecord.h
From: Pavel Maslov <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 15 Nov 2012 17:40:15 +0100
Ok. The problem was resolved by commenting out some CALC and SYNAPPS lines in the makefiles. Although, it's strange that I didn't have such problems on windows x86 and linux machines (CentOS), but on Ubuntu 64bit it resulted in one error or another. Even if I didn't specify CALC and SYNAPPS in the RELEASE file.
Thanks anyway,

P.


On Thu, Nov 15, 2012 at 4:57 PM, Dirk Zimoch <[email protected]> wrote:
On 15.11.2012 16:48, Dirk Zimoch wrote:
On 15.11.2012 11:12, Pavel Maslov wrote:
Hi,

When I try to compile StreamDevice (ASYN 4-16, base 3.14.12,
StreamDevice 2-4, 2-5), I get the following error. What's wrong? Any
ideas?

//usr/bin/gcc -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 -m64 -g -fPIC -MMD -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I/home/operator/applications/epics/modules/asyn/include
-I/home/operator/applications/epics/base/include/os/Linux
-I/home/operator/applications/epics/base/include
../devscalcoutStream.c/
/../devscalcoutStream.c:21:28: warning: sCalcoutRecord.h: No such file
or directory/
/

Hello Pavel,

sCalcout is an optional record from SynApps. If you don't have SynApps
installed, you can skip the whole srcSynApps subtree of StreamDevice.

I thought that I had a mechanism in the srcSynApps/Makefile that
compiles the stuff only if SynApps is installed, but maybe there is
something wrong there. I will check this.

Dirk

I have this in the toplevel Makefile:

  include $(TOP)/configure/CONFIG
  ifneq ($(words $(CALC) $(SYNAPPS)), 0)
    # with synApps calc module (contains scalcout)
    DIRS += srcSynApps
    srcSynApps_DEPEND_DIRS  = src
    streamApp_DEPEND_DIRS  += srcSynApps
  endif

So if you have defined either CALC or SYNAPPS in your RELEASE file, then StreamDevice assumes that this points to the place where to find sCalcoutRecord.h. Otherwise, the whole srcSynApps tree will be skipped.

Is is possible that you have installed but not yet build SynApps (or its calc module)?

Dirk



--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01


References:
StreamDevice and sCalcoutRecord.h Pavel Maslov
Re: StreamDevice and sCalcoutRecord.h Dirk Zimoch
Re: StreamDevice and sCalcoutRecord.h Dirk Zimoch

Navigate by Date:
Prev: Re: StreamDevice and sCalcoutRecord.h Dirk Zimoch
Next: Re: Long string support in CA clients and device support Andrew Johnson
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: StreamDevice and sCalcoutRecord.h Dirk Zimoch
Next: streamDevice Exception Handler Question Martin L. Smith
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 ·