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: "Dr. Peter Zumbruch" <P.Zumbruch@gsi.de>
To: Tim Mooney <mooney@aps.anl.gov>
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 22 Oct 2009 11:36:33 +0200
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 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
>>
>

-- 
 Dr. rer. nat. Peter W. Zumbruch
 EE - department / Controls group / GSI
 E-Mail: P.Zumbruch_at_gsi.de
 Tel: +49-(6159)-71-1435 / Fax: +49-(6159)-71-2986
      
 GSI Helmholtzzentrum für Schwerionenforschung GmbH
 Planckstraße 1 / D-64291 Darmstadt / www.gsi.de
 
 Gesellschaft mit beschränkter Haftung
 Sitz der Gesellschaft: Darmstadt
 Handelsregister: Amtsgericht Darmstadt, HRB 1528
 
 Geschäftsführung: Professor Dr. Horst Stöcker, Christiane Neumann
 Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph,
 Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt



Replies:
devLib changes Davidsaver, Michael
Re: compiling streamDevice with CALC set fails Dirk Zimoch
References:
compiling streamDevice with CALC set fails Dr. Peter Zumbruch
Re: compiling streamDevice with CALC set fails Tim Mooney

Navigate by Date:
Prev: devLibOSD.c for Linux Mi Qingru
Next: devLib changes Davidsaver, Michael
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: Re: compiling streamDevice with CALC set fails Tim Mooney
Next: devLib changes Davidsaver, Michael
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 ·