bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25713] Please note CPPFLAGS required to build on Tru64


From: Paul D. Smith
Subject: [bug #25713] Please note CPPFLAGS required to build on Tru64
Date: Tue, 13 Jul 2010 14:03:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

Follow-up Comment #7, bug #25713 (project make):

OK, the problem seems to be that in config.h, we have HAVE_BSD_SIGNAL set. 
But, in the output of the preprocessor for main.c that function is not defined
anywhere.  So, the C compiler gives it the default prototype where it returns
int, instead of returning a function pointer, and hence you get the compile
error.

The question is, why does configure determine that HAVE_BSD_SIGNAL is true,
but when we compile main.c there is no bsd_signal() prototype?

So a few things.  First, can you look into config.log and find the part where
we test for bsd_signal() and set HAVE_BSD_SIGNAL, and tell me what the code we
compile looks like and what the compiler options are?  Also, can you look into
the /usr/include/signal.h file on your system and find out what #defines need
to be set (or not set), to ensure bsd_signal() is prototyped?

We need to get configure and the compilation of main.c on the same page:
either neither one should be able to see the system bsd_signal() (in which
case we'll use our own version), or both should be able to see it.

PS. if you put code into the bug comment, please use the verbatim tags to
avoid reformatting; see the Markup Reminder section (check the Cookbook link
on the menu to the left).  Thanks!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25713>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]