EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  1999  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  <19971998  1999  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: Compiling with vprintf
From: "Glover D. Barker" <[email protected]>
To: [email protected]
Date: Tue, 11 Feb 1997 15:56:13 -0500 (EST)
I'm trying to build the EPICS 3.12.2 Channel Access Client on Sun4, and I'm
having a problem I hope someone can help me with.

When I compile access.c, I get the following error message on line 3474:

        'vprintf' undeclared (first use in this function)

Line 3474 actually accesses epicsVprintf, which is #define'd to vprintf in
epicsPrint.h.  The problem appears to be the assignment statement that
treats vprintf (a Unix function) as a function pointer.  When I rewrote the
code to do the same thing without the assignment statement, it compiled
fine;  but that allowed several similar (vprintf) problems to be found, and
they couldn't all be fixed so easily.

The thing is, the same code compiles fine on the HP700 machine, leading me
to think it's a difference in the gcc platforms (both compilers are gcc
2.7.2).  I'm assuming that many people compile the CA client on Sun4, so I'd
appreciate any insight that can be shared.

Thanks for any help.


Glover Barker
Computer Sciences Corporation
NASA Langley Research Center
[email protected]
(757) 766-8267



Replies:
Re: Compiling with vprintf Jeff Hill

Navigate by Date:
Prev: Re: Odd behavior in snc 1.8.3 Peregrine McGehee
Next: Status report on EPICS base 3.13 Marty Kraimer
Index: 1994  1995  1996  <19971998  1999  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: Re: Odd behavior in snc 1.8.3 Peregrine McGehee
Next: Re: Compiling with vprintf Jeff Hill
Index: 1994  1995  1996  <19971998  1999  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 ·