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  2009  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Building StreamDevice 2-4 / SynApps / Win32
From: John Dobbins <[email protected]>
To: Mark Rivers <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Thu, 11 Mar 2010 13:22:57 -0500
Mark,

I get:

W:\winDev\epics\R3.14.10\support\stream\2-4\StreamDevice-2-4\src>make clean
C:\perl\bin\perl.exe -MExtUtils::Command -e rm_rf O.win32-x86 O.Common

W:\winDev\epics\R3.14.10\support\stream\2-4\StreamDevice-2-4\src>make
C:\perl\bin\perl.exe W:/winDev/epics/R3.14.10/support/base-3.14.10/bin/win32-x86
/makeMakefile.pl O.win32-x86 ../../..
C:\perl\bin\perl.exe -MExtUtils::Command -e mkpath O.Common
make -C O.win32-x86 -f ../Makefile TOP=../../.. T_A=win32-x86 install
make[1]: Entering directory `W:/winDev/epics/R3.14.10/support/stream/2-4/StreamD
evice-2-4/src/O.win32-x86'
r was unexpected at this time.
make[1]: *** [../O.Common/stream.dbd] Error 255
make[1]: Leaving directory `W:/winDev/epics/R3.14.10/support/stream/2-4/StreamDe
vice-2-4/src/O.win32-x86'
make: *** [install.win32-x86] Error 2


John



________________________________________
From: Mark Rivers [[email protected]]
Sent: Thursday, March 11, 2010 1:08 PM
To: John Dobbins
Cc: EPICS Tech-Talk
Subject: RE: Building StreamDevice 2-4  / SynApps / Win32

That's related to the problem then.  Go to StreamDevice-2-4/src and do

make clean
make

The "make clean" will delete O.Common, and the first thing "make" should
do is to create O.Common and put stream.dbd in there.

Here is what I get:
$ make
perl H:/epics/base-3.14.11/bin/win32-x86/makeMakefile.pl O.win32-x86
../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.win32-x86 -f ../Makefile TOP=../../.. T_A=win32-x86 install
make[1]: Entering directory
`/cygdrive/j/epics/devel/stream/StreamDevice-2-4/src/O.win32-x86'
Installing created dbd file ../../../dbd/stream.dbd
...

Mark


-----Original Message-----
From: John Dobbins [mailto:[email protected]]
Sent: Thursday, March 11, 2010 11:31 AM
To: Mark Rivers
Cc: EPICS Tech-Talk
Subject: Re: Building StreamDevice 2-4 / SynApps / Win32

Mark,

O.Common/ is empty.

John




Mark Rivers wrote:
> John,
>
> I build that version of SteamDevice on win32-x86 with no problems
using
> the synApps tree, like you are.  My Makefile in the O.win32-x86
> directory looks identical to yours.
>
> The errors seems to be in O.Common/stream.dbd.  Here is what mine
looks
> like:
>
> corvette:StreamDevice-2-4/src/O.Common>more stream.dbd
> device(ao,INST_IO,devaoStream,"stream")
> device(ai,INST_IO,devaiStream,"stream")
> device(bo,INST_IO,devboStream,"stream")
> device(bi,INST_IO,devbiStream,"stream")
> device(mbbo,INST_IO,devmbboStream,"stream")
> device(mbbi,INST_IO,devmbbiStream,"stream")
> device(mbboDirect,INST_IO,devmbboDirectStream,"stream")
> device(mbbiDirect,INST_IO,devmbbiDirectStream,"stream")
> device(longout,INST_IO,devlongoutStream,"stream")
> device(longin,INST_IO,devlonginStream,"stream")
> device(stringout,INST_IO,devstringoutStream,"stream")
> device(stringin,INST_IO,devstringinStream,"stream")
> device(waveform,INST_IO,devwaveformStream,"stream")
> device(calcout,INST_IO,devcalcoutStream,"stream")
> driver(stream)
> variable(streamDebug, int)
> registrar(streamRegistrar)
>
> How does this compare to yours?
>
> Mark
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of John Dobbins
> Sent: Thursday, March 11, 2010 11:09 AM
> To: EPICS Tech-Talk
> Subject: Building StreamDevice 2-4 / SynApps / Win32
>
> Dear All,
>
> I am trying to build StreamDevice 2-4 on win32-x86
>
> I happen to be using the synApps source and the Makefile is show below
>
> The directories structure is:
> support/
>    asyn
>       .
>       .
>       .
>    std
>    stream
>
> Everything works fine until I get to stream at which point I get the
> cryptic error "r was unexpected at this time."
>
> details:
>
> make[4]: Entering directory
>
`W:/winDev/epics/R3.14.10/support/stream/2-4/StreamDevice-2-4/src/O.win3
> 2-x86'
> r was unexpected at this time.
> make[4]: *** [../O.Common/stream.dbd] Error 255
> make[4]: Leaving directory
>
`W:/winDev/epics/R3.14.10/support/stream/2-4/StreamDevice-2-4/src/O.win3
> 2-x86'
> make[3]: *** [install.win32-x86] Error 2
> make[3]: Leaving directory
> `W:/winDev/epics/R3.14.10/support/stream/2-4/StreamDevice-2-4/src'
> make[2]: *** [src.install] Error 2
> make[2]: Leaving directory
> `W:/winDev/epics/R3.14.10/support/stream/2-4/StreamDevice-2-4'
> make[1]: *** [StreamDevice-2-4.install] Error 2
> make[1]: Leaving directory
`W:/winDev/epics/R3.14.10/support/stream/2-4'
> make: *** [W:/winDev/epics/R3.14.10/support/stream/2-4.install] Error
2
>
>
>
W:/winDev/epics/R3.14.10/support/stream/2-4/StreamDevice-2-4/src/O.win32
> -x86' looks like
>
>   #This Makefile created by makeMakefile.pl
>
>
>   all :
>         $(MAKE) -f ../Makefile TOP=../../.. T_A=win32-x86  $@
>
>   .DEFAULT: force
>         $(MAKE) -f ../Makefile TOP=../../.. T_A=win32-x86  $@
>
>   force:  ;
>
>
> Advice anyone?
>
>
> Thanks,
>
> John Dobbins
> Lab for Elementary Particle Physics
> Cornell University
>
>
>
>
>
>
>
>
>
>
> #FILENAME:    Makefile
> #USAGE:               Top Makefile
> #Version:     1.5
> #Modified By: mooney
> #Last Modified:       2009/03/06 21:31:25
> #NOTES- The "SUPPORT_DIRS" order is based on compile time
dependencies.
> #     - The user must modify SUPPORT and EPICS_BASE in the
> #       <synApps>/support/configure directory for the local
> configuration.
> #     - To support multiple configurations, use multiple configure*
> directories
> #     - Support modules can be shared between configurations only if
> #     dependencies are not violated.  Only the "DIRS" are the target
> of
> #     gnumake.  If this configuration is using a support module built
> by
> #     another configuration, then the SUPPORT_DIRS line for that
> support
> #     module must be commented out (i.e, must begin with a '#').
>
> # Note the only dependencies that matter in $(<module>)_DEPEND_DIRS
are
> # compile-time dependencies.
>
> TOP = .
>
> MASTER_FILE = $(TOP)/configure/RELEASE.win32-x86
>
> include $(TOP)/configure/CONFIG
>
> ###### 1st Tier Support Modules - Only Depend on EPICS BASE ######
>
>
> SUPPORT_DIRS += $(SNCSEQ)
> RELEASE_FILES += $(SNCSEQ)/configure/RELEASE.win32-x86
>
> SUPPORT_DIRS += $(SSCAN)
> RELEASE_FILES += $(SSCAN)/configure/RELEASE.win32-x86
>
> SUPPORT_DIRS += $(AUTOSAVE)
> RELEASE_FILES += $(AUTOSAVE)/configure/RELEASE.win32-x86
>
> ###### 2nd Tier Support Modules - Only Depend on 1st Tier ########
>
> SUPPORT_DIRS += $(ASYN)
> RELEASE_FILES += $(ASYN)/configure/RELEASE.win32-x86
> $(ASYN)_DEPEND_DIRS = $(SNCSEQ)
>
> SUPPORT_DIRS += $(CALC)
> RELEASE_FILES += $(CALC)/configure/RELEASE.win32-x86
> $(CALC)_DEPEND_DIRS = $(SSCAN)
>
> ################### 3rd Tier Support Modules #####################
>
> SUPPORT_DIRS += $(BUSY)
> RELEASE_FILES += $(BUSY)/configure/RELEASE.win32-x86
> $(BUSY)_DEPEND_DIRS = $(ASYN)
>
> SUPPORT_DIRS += $(STD)
> RELEASE_FILES += $(STD)/configure/RELEASE.win32-x86
> $(STD)_DEPEND_DIRS = $(ASYN)
>
> SUPPORT_DIRS += $(STREAM)
> RELEASE_FILES += $(STREAM)/configure/RELEASE.win32-x86
> $(STREAM)_DEPEND_DIRS = $(ASYN) $(CALC) $(SSCAN)
>
>
> ################### 4th Tier Support Modules #####################
>
> #SUPPORT_DIRS += $(MCA)
> #RELEASE_FILES += $(MCA)/configure/RELEASE.win32-x86
> #$(MCA)_DEPEND_DIRS = $(ASYN) $(STD)
>
>
> ################### 5th Tier Support Modules #####################
>
> #SUPPORT_DIRS += $(AREA_DETECTOR)
> #RELEASE_FILES += $(AREA_DETECTOR)/configure/RELEASE.win32-x86
> #$(AREA_DETECTOR)_DEPEND_DIRS = $(ASYN) $(SSCAN) $(MCA)
>
>
> ################### End of Support-Modules #####################
>
> DIRS = $(SUPPORT_DIRS)
>
> ################### User Modules #####################
>
>
>
> ACTIONS += uninstall realuninstall distclean cvsclean
>
> include $(EPICS_BASE)/configure/RULES_TOP
>
> release:
>       echo SUPPORT=$(SUPPORT)
>       echo ' '
>       echo EPICS_BASE=$(EPICS_BASE)
>       echo ' '
>       echo MASTER_FILE=$(MASTER_FILE)
>       echo ' '
>       echo DIRS=$(DIRS)
>       echo ' '
>       echo RELEASE_FILES=$(RELEASE_FILES)
>       echo ' '
>       $(PERL) $(TOP)/configure/makeReleaseConsistent.pl $(SUPPORT)
> $(EPICS_BASE) $(MASTER_FILE) $(RELEASE_FILES)



References:
Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
Re: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers

Navigate by Date:
Prev: RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
Next: Re: Building EPICS for multiple Linux distributions Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
Next: RE: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·