Received: (qmail 94171 invoked by uid 501); 2 Jan 2002 14:20:27 -0000 Message-Id: <20020102142027.94170.qmail@apache.org> Date: 2 Jan 2002 14:20:27 -0000 From: James Watson Reply-To: ap2bug@sowega.org To: submit@bugz.apache.org Subject: Build fails when --enable-ssl is used X-Send-Pr-Version: 3.110 >Number: 9345 >Category: build >Synopsis: Build fails when --enable-ssl is used >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jan 02 06:30:00 PST 2002 >Closed-Date: Thu Jan 03 06:02:22 PST 2002 >Last-Modified: Thu Jan 03 06:02:22 PST 2002 >Originator: ap2bug@sowega.org >Release: 2.0.28 >Organization: >Environment: Linux mybox.modomain.tld 2.4.3-12 #1 Fri Jun 8 13:35:30 EDT 2001 i686 unknown >Description: When compiling apache, in modules/ssl/, make fails with: ssl_engine_rand.c: In function `ssl_rand_seed': ssl_engine_rand.c:154: `ap_scoreboard_image' undeclared (first use in this function) ssl_engine_rand.c:154: (Each undeclared identifier is reported only once ssl_engine_rand.c:154: for each function it appears in.) ssl_engine_rand.c:155: `SCOREBOARD_SIZE' undeclared (first use in this function) >How-To-Repeat: ./configure --prefix=/usr/local/apache2 --with-mpm=perchild --enable-mods-shared=all --enable-ssl --enable-suexec --with-suexec-caller=apache --with-suexec-userdir=public_html --with-suexec-docroot=/var/www/html make >Fix: I added: #include "scoreboard.h" to the list of "Apache headers" in modules/ssl/mod_ssl.h, and that seems to have fixed it. >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: trawick State-Changed-When: Thu Jan 3 06:02:22 PST 2002 State-Changed-Why: ssl_engine_rand has been changed such that it no longer references ap_scoreboard_image or SCOREBOARD_SIZE (though some of that old code is there but commented out while a cleaner solution to entropy is discussed). A build of current code from CVS, or the next tarball (2.0.30?), will no longer have the problem. Thanks for your report, and thanks for using Apache! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]