www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Baker <k...@wjh.harvard.edu>
Subject other/776: httpd_monitor won't compile
Date Tue, 24 Jun 1997 01:50:01 GMT

>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
>Release:        1.2.0
OSF1 V4.0 464 alpha, using the Digital's bundled cc
(DEC C V5.2-030 on Digital UNIX V4.0 (Rev. 464))
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

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.

View raw message