EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  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  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Compiling Channel Archiver version 2
From: "Robert Henning" <[email protected]>
To: "EPICS Tech Talk" <[email protected]>
Date: Mon, 15 Aug 2005 16:26:38 -0500
Hi:


On Aug 15, 2005, at 16:02, Robert Henning wrote:
> .../../../../include/string2cp.h:16:36: macro "LOG_MSG" passed 3 
> arguments, but takes just 1 ...
> .../../../../include/string2cp.h:16: `LOG_MSG' undeclared (first use 
> this
>    function)
> .../../../../include/string2cp.h:16: (Each undeclared identifier is 
> reported
>    only once for each function it appears in.)
> .../CtrlInfo.cpp:194:64: macro "LOG_MSG" passed 2 arguments, but takes

> just 1

For some reason the compiler uses a LOG_MSG macro in your case, even
though the file Tools/MsgLogger.h of the archiver sources declares it as
a printf-style function:

    void LOG_MSG(const char *format, ...);

Are you using modified sources that
patch a #define for LOG_MSG into the sources?
Is your compiler's search path setup such that it somehow finds another
definition for LOG_MSG?

-Kay


Thanks Kay,

I just realized that some of the header files in the extensions include
directory were not up to date so I simply removed the files and ran make
again.  Now everything compiles fine.  

Rob


Navigate by Date:
Prev: Re: Compiling Channel Archiver version 2 Kay-Uwe Kasemir
Next: Re: DM2K on MacOSX(10.3) Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Compiling Channel Archiver version 2 Kay-Uwe Kasemir
Next: subArray processing (when comments and code disagree) Lawrence T. Hoff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·