Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: compiling streamDevice with CALC set fails
From: Tim Mooney <mooney@aps.anl.gov>
To: "Dr. Peter Zumbruch" <P.Zumbruch@gsi.de>
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Wed, 21 Oct 2009 12:10:54 -0500
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 output

base: 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 2
without 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/lib

Any help would be appreciated,

Peter


--
Tim Mooney (mooney@aps.anl.gov) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab.

Replies:
Re: compiling streamDevice with CALC set fails Dr. Peter Zumbruch
References:
compiling streamDevice with CALC set fails Dr. Peter Zumbruch

Navigate by Date:
Prev: compiling streamDevice with CALC set fails Dr. Peter Zumbruch
Next: devLibOSD.c for Linux Mi Qingru
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: compiling streamDevice with CALC set fails Dr. Peter Zumbruch
Next: Re: compiling streamDevice with CALC set fails Dr. Peter Zumbruch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·