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

Doug McCorkle mccdo at iastate.edu
Tue Nov 6 07:46:05 CST 2007


On Nov 5, 2007, at 11:48 PM, J.T. Conklin wrote:

> 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.

Yes. That is the problem. To debug this there is a define:

ACE_DONT_INCLUDE_ACE_SIGNAL_H

This then showed the problem clearly. I am unable to find where this:

-I../../ACE_wrappers/ace

is being added to compile line in Makefile.am.

Doug



More information about the Ace-users mailing list