other/631: configure fails under FreeBSD 4.1.1-STABLE

Pekka.Nikander@iki.fi Pekka.Nikander@iki.fi
Thu Oct 12 00:56:00 GMT 2000


>Number:         631
>Category:       other
>Synopsis:       configure fails under FreeBSD 4.1.1-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 12 00:56:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Pekka Nikander
>Release:        gcc version 2.97 20001011 (experimental)
>Organization:
>Environment:
FreeBSD 4.1.1-STABLE
>Description:
egcs/gcc/configure fails to do it right due to a type conflict
with strsignal in system.h.
>How-To-Repeat:

>Fix:
diff -u -r1.79 system.h
--- system.h    2000/09/25 22:54:04     1.79
+++ system.h    2000/10/12 07:49:51
@@ -426,7 +426,7 @@

 /* If the system doesn't provide strsignal, we get it defined in
    libiberty but no declaration is supplied. */
-#ifndef HAVE_STRSIGNAL
+#if defined (HAVE_DECL_STRSIGNAL) && !HAVE_DECL_STRSIGNAL
 # ifndef strsignal
 extern const char *strsignal PARAMS ((int));
 # endif
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list