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  <20092010  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  <20092010  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: "Mark Rivers" <[email protected]>
To: "Dirk Zimoch" <[email protected]>, "Dr. Peter Zumbruch" <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Fri, 23 Oct 2009 10:06:20 -0500
The synApps version of streamDevice has been made compatible with
3.14.11 and 64-bit architectures.

I've attached a patch file with the differences between the current
synApps version in CVS (not released yet) and the 2-4 synApps release.

Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dirk Zimoch
Sent: Friday, October 23, 2009 9:12 AM
To: Dr. Peter Zumbruch
Cc: EPICS tech-talk
Subject: Re: compiling streamDevice with CALC set fails

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 output
>>>
>>>> base: 3.14.10, Debian 4.0
>>>> ...
>>>> make[2]: Entering directory
>>>>
`<EPICS_TOP>/modules/soft/StreamDevice/StreamDevice-2-4/srcSynApps/O.lin
ux-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.lin
ux-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. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

Attachment: stream.patch
Description: stream.patch


References:
compiling streamDevice with CALC set fails Dr. Peter Zumbruch
Re: compiling streamDevice with CALC set fails Tim Mooney
Re: compiling streamDevice with CALC set fails Dr. Peter Zumbruch
Re: compiling streamDevice with CALC set fails Dirk Zimoch

Navigate by Date:
Prev: RE: devLibOSD.c for Linux Mark Rivers
Next: Re: devLibOSD.c for Linux Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: compiling streamDevice with CALC set fails Dirk Zimoch
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  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·