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

Subject: building problem with the latest cvs
From: Zhichu Chen <[email protected]>
To: [email protected]
Date: Fri, 10 Apr 2009 01:29:21 +0800
Hi,

I just downloaded the latest base_R3-14_cvs.tar.gz and tried
to compile it under MSYS, MinGW, WinXP. Anyway, error
occurred with:
============================================
../dbStaticLib.c:1355: error: conflicting types for 'dbGetAttributePart'
../dbStaticLib.h:118: error: previous declaration of
'dbGetAttributePart' was here
../dbStaticLib.c:1379: error: conflicting types for 'dbGetRecordAttribute'
../dbStaticLib.h:116: error: previous declaration of
'dbGetRecordAttribute' was here
make[3]: *** [dbStaticLib.o] Error 1
make[3]: Leaving directory `/epics/base/src/dbStatic/O.win32-x86-mingw'
make[2]: *** [install.win32-x86-mingw] Error 2
make[2]: Leaving directory `/epics/base/src/dbStatic'
make[1]: *** [dbStatic.install] Error 2
make[1]: Leaving directory `/epics/base/src'
make: *** [src.install] Error 2
============================================
I checked the declarations in dbStaticLib.h and dbStaticLib.c and
there is a slice difference:
++++++++++++++++++++++++++++++++++++++++++++
epicsShareFunc long epicsShareAPI dbGetAttributePart(DBENTRY *pdbentry,
    const char **ppname);
++++++++++++++++++++++++++++++++++++++++++++
in dbStaticLib.h and just
++++++++++++++++++++++++++++++++++++++++++++
long dbGetAttributePart(DBENTRY *pdbentry, const char **ppname)
++++++++++++++++++++++++++++++++++++++++++++
in dbStaticLib.c

I mean I don't see there's a conflict here, what should I try to
solve that?

Thank you for your attentions.

-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------

Replies:
Re: building problem with the latest cvs Andrew Johnson

Navigate by Date:
Prev: Re: EpicsEventShow Eric Norum
Next: Re: building problem with the latest cvs Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EpicsEventShow Eric Norum
Next: Re: building problem with the latest cvs Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·