You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Andy Barclay <ab...@pop3.kaiperm.org> on 1999/10/27 01:57:44 UTC

os-solaris/5203: had to include in alloc.c, httpd_log.c, mod_include.c for successfull compile

>Number:         5203
>Category:       os-solaris
>Synopsis:       had to include <unistd.h> in alloc.c, httpd_log.c, mod_include.c for successfull compile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Oct 26 18:10:01 PDT 1999
>Last-Modified:
>Originator:     abarclay@pop3.kaiperm.org
>Organization:
apache
>Release:        1.3.9
>Environment:
SunOS kpoldev 5.6 Generic_105181-15 sun4u sparc SUNW,Ultra-Enterprise

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/specs
gcc version 2.95.1 19990816 (release)
>Description:
had to include <unistd.h> in alloc.c, httpd_log.c, mod_include.c for successfull compile
>How-To-Repeat:
try to compile 1.3.9 on Solaris 2.6 with either gcc 2.7.2.3, or 2.95
>Fix:
simply add:
#include <unistd.h>
to the following files:
alloc.c
httpd_log.c
mod_include.c
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]