[Ace-users] [ace-users] Building SVN ACE on Mac OS 10.5

J.T. Conklin jtc at acorntoolworks.com
Mon Nov 5 23:48:17 CST 2007


Doug McCorkle <mccdo at iastate.edu> writes:

Hi Doug,

> I was able to get the ACE_HAS_NONCONST_FD_ISSET variable defined and
> the configure.ac file and m4 file modified. 

Good job!

> I know get this compile error:

For these, I usually try to figure out the first error/warning in the
compile.  Subsequent errors are often confusing and misleading, as
they are usually the result of something missing (a header file, etc.)
A usually fruitful approach is to take the compiler command line,
replacing the -c with a -E, etc. to run the source through the
preprocessor, and then to simply examine the output.

I don't grok this one off hand.  From the config.log you appended
earlier, it showed that ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES was
defined. As long as that's still the case after your new autoconf
macro work, that should have resulted in os_signal.h defining
ACE_SignalHandler appropriately.  But it being undefined is the first
error.

One thing I'd check is whether ACE_wrappers/ace/Signal.h is being
included for <signal.h>.  I believe I ran into this problem in the
past, and fixed it by manually modifying the Makefile.am after MPC
generation.  I suspect it was inadvertently lost.  Unfortunately, I
have no idea what I did.  It may have been a "DEFAULT_INCLUDES=" in
ACE_wrappers/ace/Makefile.am.

   --jtc

-- 
J.T. Conklin



More information about the Ace-users mailing list