>Number: 555 >Category: os-solaris >Synopsis: compilation error >Confidential: no >Severity: serious >Priority: medium >Responsible: apache (Apache HTTP Project) >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed May 7 06:50:01 1997 >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.1.3 >Environment:
Solaris 2.6 beta-refresh on a Sun4c machine, gcc 2.7.2 >Description: When compiling apache 1.1.3 under Solaris 2.6 beta refresh, gcc fails with a syntax error unistd.h This is a clash with conf.h's #define getwd(d) getcwd(d,MAX_STRING_LEN) in the SOLARIS2 definition block I got it to successfully compile by commenting out the offending #define >How-To-Repeat: compile a vanilla 1.1.3 apache under Solaris 2.6 with gcc. >Fix: create an #ifdef for Solaris 2.6 around the line defining getwd(d) %0 >Audit-Trail: >Unformatted:
