Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Notes on building extensions against R3.13.1 base
From: saa@SLAC.Stanford.EDU
To: tech-talk@aps.anl.gov
Date: Mon, 01 Feb 1999 14:44:09 -0800 (PST)
Hello -

Several people asked for my notes on building extensions against R3.13.1 base:

Rough notes for building R3.13.1 extensions:

- Used old-style config files.
- Built WITHOUT sdds or tcl (barebones extensions).
- Started with the source and config files from our 
  R3.13.0.beta4 area.
- Still built the old archiver since it has files used 
  by other extensions.
- We use edd/dm instead of medm.  We don't use burt.
- Built the following extensions (in CONFIG_EXTENSIONS):

  DIRS =alh camonitor edif db2capsym dbst ezca ca libUnix \
	motifButton namecapture \
	Ezca ar cau km \
	probe \
	StripTool opi

  Note that not all of these come with the standard extensions
  tar file (notably db2capsym, dbst, StripTool, and opi).

(1) In addition to the changes required in CONFIG_SITE.Unix.solaris
    and CONFIG_EXTENSIONS, changed the UNIX_INCLUDES line in 
    CONFIG.Unix.solaris to be:

    UNIX_INCLUDES = -I. -I.. -I$(EPICS_BASE_INCLUDE) -I$(EPICS_BASE_INCLUDE)/os/$(HOST_ARCH)

(2) Also changed the ARCH_DEP_LDLIBS line in CONFIG_ARCH.solaris to be:

    ARCH_DEP_LDLIBS = -lsocket -lnsl -lgen -lw -lintl -Bdynamic -ldl -Bstatic

    (Similar to what is done in base/config/CONFIG.Host.solaris).

(3) nextFieldSubr.c has been pulled out of base but is still used in some
    extensions.  Rescued it from R3.13.0.beta11 base/src/libCom and 
    added it to extensions/src/libUnix.  Updated libUnix's Makefile.Unix
    for it.

(4) Removed arrtk from extensions/src/ar/Makefile since it needs tcl/tk
    and it's not needed by any other extension.

(5) In arCSCheck.c in extensions/src/ar/ar/arCSCheck.c, commented out
    the line using TS_EPOCH_YEAR (no longer defined in the base include
    files).

(6) In extensions/src/ca/Makefile.Unix, removed all references to
    cavget, cavput, cawait, and pvMultList since they need sdds (and
    nobody here uses these tools).

(7) To get nextFieldSubr from libUnix:
    - in extensons/src/cau/Makefile.Unix, changed USR_LDLIBS to:
      USR_LDLIBS = -lpprsyd -lUnix -lca -lCom 
    - in extensions/src/opi/rti/Makefile.Unix, changed DM_EXTENSIONS_LIBS to:
      DM_EXTENSIONS_LIBS =  -lgz -lutil -lmenu -lpprsyd -lprintUtils -lUnix

Stephanie Allison

Navigate by Date:
Prev: Re: dbst problem when built against 3.13.1(actually problem with capfast symbols) Rozelle Wright
Next: EPICS Meeting '98: Presentations Ralph Lange
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: dbst problem when built against 3.13.1(actually problem with capfast symbols) saa
Next: EPICS Meeting '98: Presentations Ralph Lange
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·