1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | 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 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: StreamDevice and sCalcoutRecord.h |
From: | Dirk Zimoch <[email protected]> |
To: | [email protected] |
Date: | Thu, 15 Nov 2012 16:57:20 +0100 |
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 endifSo 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