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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: compiling streamDevice with CALC set fails |
From: | Dirk Zimoch <[email protected]> |
To: | "Dr. Peter Zumbruch" <[email protected]> |
Cc: | EPICS tech-talk <[email protected]> |
Date: | Fri, 23 Oct 2009 16:11:38 +0200 |
Hi Peter,Unfortunately, I had no time to test StreamDevice with any EPICS base version newer than 3.14.8.2. Once I find the time -- maybe in 2017 :-) -- I check with newer versions of base and asyn and also on 64 bit architectures. Then I can build a new release.
On the other hand, one can probably live without StreamDevice support for sCalcout records...
Sorry for the inconvenience, Dirk Dr. Peter Zumbruch wrote:
Thank you, doing so I got further but still failed at other places But after changing in addition 1) in the streamApp/Makefile streamApp_DBD += calc.dbd into streamApp_DBD += calcSupport.dbd and 2) added to the <TOP>/configure/RELEASE the line SSCAN=<EPICS_TOP>/modules/synApps/synApps_5_4_1/support/sscan/2-6-4 I finally succeeded. So I did the same what has been done for synApps. Did I miss some part of documentation in relationship to EPICS 3.14.10 in StreamDevice docs about this and if not could this be added? Thank you and best regards Peter Tim Mooney wrote:Peter, EPICS 3.14.10 doesn't build libiocsh, as previous versions id. You need to remove iocsh from the line LIB_LIBS += stream dbIoc registryIoc iocsh in srcSynApps/Makefile. You'll still get iocsh, because base now has it in libCom. Tim Dr. Peter Zumbruch wrote:Hi everybody, when compiling streamDevice 2.4 from psi web page with CALC set in the RELEASE file I get the following outputbase: 3.14.10, Debian 4.0 ... make[2]: Entering directory `<EPICS_TOP>/modules/soft/StreamDevice/StreamDevice-2-4/srcSynApps/O.linux-x86' Installing created dbd file ../../../dbd/streamSynApps.dbd /usr/bin/gcc-3.4 -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500-D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3 -Wall -m32 -g -fPIC-I. -I../O.Common -I. -I.. -I../../../include/os/Linux-I../../../include -I<EPICS_TOP>/modules/soft/seq/sncseq-2.0.12/include-I<EPICS_TOP>/base-3.14.10/include/os/Linux-I<EPICS_TOP>/base-3.14.10/include -I<EPICS_TOP>/modules/soft/asyn/asyn-4.10/include -I<EPICS_TOP>/modules/synApps/synApps_5_4_1/support/calc/2-7/include ../devscalcoutStream.c/usr/bin/ar -rc libstreamSynApps.a devscalcoutStream.o /usr/bin/ranlib libstreamSynApps.a make[2]: *** No rule to make target `../../../lib/linux-x86/libiocsh.a', needed by `libstreamSynApps.so'. Stop. make[2]: Leaving directory `<EPICS_TOP>/modules/soft/StreamDevice/StreamDevice-2-4/srcSynApps/O.linux-x86' make[1]: *** [install.linux-x86] Error 2 make[1]: Leaving directory `<EPICS_TOP>/modules/soft/StreamDevice/StreamDevice-2-4/srcSynApps' make: *** [srcSynApps.install] Error 2without CALC set, everything compiles the right way. and here the corresponding RELEASE#RELEASE Location of external products ... #If using the sequencer, point SNCSEQ at its top directory: SNCSEQ=<EPICS_TOP>/modules/soft/seq/sncseq-2.0.12 # EPICS_BASE usually appears last so other apps can override stuff: EPICS_BASE=<EPICS_TOP>/base ASYN=<EPICS_TOP>/modules/soft/asyn/asyn-4.10 CALC=<EPICS_TOP>/modules/synApps/synApps_5_4_1/support/calc/2-7 PCRE_INCLUDE=/usr/include/pcre PCRE_LIB=/usr/libAny help would be appreciated, Peter
-- Dr. Dirk Zimoch Paul Scherrer Institut, WBGB/006 5232 Villigen PSI, Switzerland Phone +41 56 310 5182