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  2010  2011  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: std_R3_1
From: Bruce Hill <[email protected]>
To: "Szalata, Zenon M." <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 1 Feb 2012 15:29:15 -0800
Hi Zen,
We ran into this problem recently, trying to build std-2-9
with seq-2.1.2 and fixed it in the seq configure/RULES_BUILD.
It looked to me like it resulted from RULES_TOP not being
defined by base starting w/ R3-14-12.   This kept SNC from
being defined correctly in seq/configure/RULES_BUILD.

There's probably other ways to solve this, but we got it to
work with the attached patch, also shown below.

Regards,
- Bruce

===================================================================
--- configure/RULES_BUILD (revision 8496)
+++ configure/RULES_BUILD (revision 8644)
@@ -33,15 +33,25 @@
 # snc executable


-ifdef RULES_TOP
- # EPICS base R3.14.7 and later
- SNC = $(RULES_TOP)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
+#ifdef RULES_TOP
+# # EPICS base R3.14.7 and later
+# SNC = $(RULES_TOP)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
+#else
+# # EPICS base R3.14.6 and earlier
+# ifndef SNC
+#  SNC = $(SNCSEQ_HOST_BIN)/snc$(HOSTEXE)
+# endif
+#endif
+
+ifdef SNCSEQ
+SNC = $(SNCSEQ)/bin/$(EPICS_HOST_ARCH)/snc
$(HOSTEXE)
 else
- # EPICS base R3.14.6 and earlier
- ifndef SNC
-  SNC = $(SNCSEQ_HOST_BIN)/snc$(HOSTEXE)
- endif
+ifdef SEQ
+SNC = $(SEQ)/bin/$(EPICS_HOST_ARCH)/snc
$(HOSTEXE)
+else
+SNC = $(TOP)/bin/$(EPICS_HOST_ARCH)/snc
$(HOSTEXE)
 endif
+endif

 # preserve compatibility to base versions before 3.14.12
 ifndef ECHO


On 01/31/2012 05:17 PM, Szalata, Zenon M. wrote:

Thanks Mark,

I tried the latest version of sequencer (R2.1.4), which did not quite build correctly.  I did not think that mattered.  I now have regressed to an earlier version of sequencer (R2.0.12) and std built without errors.

I will look again at the R2.1.4 version of sequencer, see if I can fix that.

Thanks again,

Zen

 

From: Mark Rivers [mailto:[email protected]]
Sent: Tuesday, January 31, 2012 4:56 PM
To: Szalata, Zenon M.; [email protected]
Subject: RE: std_R3_1

 

femto is an SNL program.  Do you have the sequencer in your configure/RELEASE file in std?

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Szalata, Zenon M.
Sent: Tuesday, January 31, 2012 6:44 PM
To: [email protected]
Subject: std_R3_1

 

Building std_R3_1 fails on RHEL6 64bit with this error:

 

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -g   -Wall      -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include      -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/seq/R2.1.4/include  -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/modules/asyn/R4.18/include -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/base/include/os/Linux -I/afs/slac/g/testfac/rhel6/epics/R3.14.12.2/base/include       ../pvHistory.c

make[3]: *** No rule to make target `femto.o', needed by `libstd.a'.  Stop.

make[3]: Leaving directory `/afs/slac.stanford.edu/g/testfac/vol1/rhel6/epics/R3.14.12.2/modules/std/R3.1/stdApp/src/O.linux-x86_64'

make[2]: *** [install.linux-x86_64] Error 2

make[2]: Leaving directory `/afs/slac.stanford.edu/g/testfac/vol1/rhel6/epics/R3.14.12.2/modules/std/R3.1/stdApp/src'

make[1]: *** [src.install] Error 2

make[1]: Leaving directory `/afs/slac.stanford.edu/g/testfac/vol1/rhel6/epics/R3.14.12.2/modules/std/R3.1/stdApp'

make: *** [stdApp.install] Error 2

 

I did not try building on other architectures, so I don’t know the extent of my problem.

What am I missing on this computer?

 

Thanks for any help,

Zen

 


-- 
Bruce Hill
Member Technical Staff
SLAC National Accelerator Lab
2575 Sand Hill Road M/S 10
Menlo Park, CA  94025
===================================================================
--- configure/RULES_BUILD (revision 8496)
+++ configure/RULES_BUILD (revision 8644)
@@ -33,15 +33,25 @@
 # snc executable
 
 
-ifdef RULES_TOP
- # EPICS base R3.14.7 and later
- SNC = $(RULES_TOP)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
+#ifdef RULES_TOP
+# # EPICS base R3.14.7 and later
+# SNC = $(RULES_TOP)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
+#else
+# # EPICS base R3.14.6 and earlier
+# ifndef SNC
+#  SNC = $(SNCSEQ_HOST_BIN)/snc$(HOSTEXE)
+# endif
+#endif
+
+ifdef SNCSEQ
+SNC = $(SNCSEQ)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
 else
- # EPICS base R3.14.6 and earlier
- ifndef SNC
-  SNC = $(SNCSEQ_HOST_BIN)/snc$(HOSTEXE)
- endif
+ifdef SEQ
+SNC = $(SEQ)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
+else
+SNC = $(TOP)/bin/$(EPICS_HOST_ARCH)/snc$(HOSTEXE)
 endif
+endif
 
 # preserve compatibility to base versions before 3.14.12
 ifndef ECHO


Replies:
Sequencer build rules Benjamin Franksen
References:
std_R3_1 Szalata, Zenon M.
RE: std_R3_1 Mark Rivers
RE: std_R3_1 Szalata, Zenon M.

Navigate by Date:
Prev: RE: asyn reading to waveform records Mark Rivers
Next: Re: asyn reading to waveform records Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: std_R3_1 Benjamin Franksen
Next: Sequencer build rules Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·