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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h
From: "J. Lewis Muir" <jlmuir@anl.gov>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Fri, 07 May 2010 09:40:36 -0500
On 5/6/10 9:52 PM, Jincheol B. Kim wrote:
> While I am trying to compile EPICS base R3.14.8.2, I got the following error.
> 
> -----------------[From here]----------------
> 
> Installing generated generic include file
> /usr/local/epics/R3.14.8.2/base/include/menuSimm.h
> /usr/bin/gcc -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          -g -fPIC -I. -I..
> -I/usr/local/epics/R3.14.8.2/base/include/os/Linux
> -I/usr/local/epics/R3.14.8.2/base/include         ../dbLock.c
> In file included from ../dbLock.c:62:
> /usr/local/epics/R3.14.8.2/base/include/dbCommon.h:45: error: expected
> specifier-qualifier-list before âepicsTimeStampâ
> make[3]: *** [dbLock.o] error 1
> make[3]: Leaving directory `/usr/local/src/base-3.14.8.2/src/db/O.linux-x86'
> make[2]: *** [install.linux-x86] error 2
> make[2]: Leaving directory `/usr/local/src/base-3.14.8.2/src/db'
> make[1]: *** [db.install] error 2
> make[1]: Leaving directory `/usr/local/src/base-3.14.8.2/src'
> make: *** [src.install] error 2
> [root@******* base-3.14.8.2]#
> 
> ----------------[End of error]-------------------------
> 
> I changed just INSTALL_LOCATION to /usr/local/epics/R3.14.8.2/base and
> nothing is changed in configuration files. The value of
> EPICS_HOST_ARCH is linux-x86 and I am using CentOS 5.4 with kernel
> 
> [root@******* base-3.14.8.2]# uname -a
> Linux ******************** 2.6.18-164.15.1.el5xen #1 SMP Wed Mar 17
> 12:53:17 EDT 2010 i686 i686 i386 GNU/Linux
> [root@******* base-3.14.8.2]#
> 
> 
> Would you review the error and tell me what I should do to solve it?

Hi, Jincheol.

Could you send the following:

  /usr/local/epics/R3.14.8.2/base/include/dbCommon.h
  /usr/local/epics/R3.14.8.2/base/include/epicsTime.h

I'm wondering if the error you're seeing for dbCommon.h is because the
compiler doesn't know about the epicsTimeStamp type yet?

Also, have you considered using EPICS Base 3.14.11 instead?  EPICS Base
3.14.8.2 is quite old.  If you have a reason for using it, OK.  But
otherwise it would be *much better* to use EPICS Base 3.14.11.

Lewis

-- 
J. Lewis Muir
Software Engineer
IMCA-CAT

Replies:
Re: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Ralph Lange
Re: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Jincheol B. Kim
References:
[Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Jincheol B. Kim

Navigate by Date:
Prev: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Jincheol B. Kim
Next: Re: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Jincheol B. Kim
Next: Re: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·