EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: help on epics base 3.13beta11 installation
From: [email protected] (Jeff Hill)
To: "'Ling-Jun Pan, Northwestern Univ.'" <[email protected]>, "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 10 Jun 1998 09:31:27 -0600
On Tuesday, June 09, 1998 1:42 PM, Ling-Jun Pan, Northwestern Univ. [SMTP:[email protected]] wrote:
> Hi
> 
> Does anyone know how to solve this problem?
> 
> ====================================================================
> 
> 
> gnumake[2]: Entering directory `/usr2/people/tracker/epics/v3_13b11/base/src/gdd'
> perl ../../bin/sgi/makeMakefile.pl O.sgi Host
> gnumake -C O.sgi -f ../Makefile.Host T_A=sgi inc
> gnumake[3]: Entering directory `/usr2/people/tracker/epics/v3_13b11/base/src/gdd/O.sgi'
> Installing include file ../../../include/gdd.h
> Installing include file ../../../include/gddI.h
> Installing include file ../../../include/gddContainer.h
> Installing include file ../../../include/gddContainerI.h
> Installing include file ../../../include/gddArray.h
> Installing include file ../../../include/gddScalar.h
> Installing include file ../../../include/gddSemaphore.h
> Installing include file ../../../include/gddNewDel.h
> Installing include file ../../../include/gddUtils.h
> Installing include file ../../../include/gddUtilsI.h
> Installing include file ../../../include/gddErrorCodes.h
> Installing include file ../../../include/aitTypes.h
> Installing include file ../../../include/aitConvert.h
> Installing include file ../../../include/aitHelpers.h
> Installing include file ../../../include/dbMapper.h
> Installing include file ../../../include/gddAppTable.h
> Installing include file ../../../include/gddAppFuncTable.h
> CC +p +w  -O   -DSGI  -I. -I..  -I../../../include -I../../../include -I../../../include/os/sgi -DUNIX     -c  ../genApps.cc
> "../aitTypes.h", line 83: error(3337): invalid redeclaration of type name
>           "timespec"
>   struct timespec
>          ^
> 

The current version of aitTypes,h has the following exclusions around  line 91 in aitTypes.h.
In your version you may be required to add "&&!defined(sgi)" in order to get the code to 
compile on SGI hosts. Hopefully we will arrive at a more general solution in the future.

#if (_POSIX_C_SOURCE < 3) && !defined(SOLARIS) && !defined(HP_UX) && !defined(linux) &&!defined(sgi)

> 1 error detected in the compilation of "../genApps.cc".
> gnumake[3]: *** [genApps.o] Error 1
> gnumake[3]: Leaving directory `/usr2/people/tracker/epics/v3_13b11/base/src/gdd/O.sgi'
> gnumake[2]: *** [inc.sgi] Error 2
> gnumake[2]: Leaving directory `/usr2/people/tracker/epics/v3_13b11/base/src/gdd'
> gnumake[1]: *** [gdd.inc] Error 2
> gnumake[1]: Leaving directory `/usr2/people/tracker/epics/v3_13b11/base/src'
> gnumake: *** [src.inc] Error 2
> 
> 
> ====================================================================
> 
> I noticed that there are two places having aitTypes.h, one is
> ../base/include, the other is ../base/src/gdd, which causes the invalid
> redeclaration. Which one is supposed to have? Thanks.
> 

Following the convention for all EPICS header files, the file ../base/src/gdd/aitTypes.h 
is installed into ../base/include/aitTypes.h during the EPICS base build procedure. Programs 
built outside of EPICS base are compiled specifying only the following two EPICS include file search locations.

<EPICS_BASE/include 
<EPICS_BASE/include/os/<your operating system>

Jeff

Navigate by Date:
Prev: RE: Portable channel access server on linux Jeff Hill
Next: Re: Looking for statically built MEDM William P. McDowell
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: help on epics base 3.13beta11 installation Ling-Jun Pan, Northwestern Univ.
Next: request for PMAC records Kevin Tsubota
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·