>Number: 776
>Category: other
>Synopsis: httpd_monitor won't compile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Jun 23 18:50:01 1997
>Originator: kemo@wjh.harvard.edu
>Organization:
apache
>Release: 1.2.0
>Environment:
OSF1 V4.0 464 alpha, using the Digital's bundled cc
(DEC C V5.2-030 on Digital UNIX V4.0 (Rev. 464))
>Description:
root@kelvin:~web/support 114-ROOT# make CC=cc
cc -I../src -g httpd_monitor.c -o httpd_monitor
cc: Error: ../src/scoreboard.h, line 102: In the declaration of "servers", "HARD_SERVER_LIMIT"
is not declared.
short_score servers[HARD_SERVER_LIMIT];
------------------------^
*** Exit 1
Stop.
>How-To-Repeat:
>Fix:
Solution is simply to transpose the following two lines in httpd_monitor.c:
#include "scoreboard.h"
#include "httpd.h"
so that httpd.h is read in before scoreboard.h is.
%0
>Audit-Trail:
>Unformatted:
|