Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C257A903A for ; Wed, 5 Oct 2011 21:27:03 +0000 (UTC) Received: (qmail 4065 invoked by uid 500); 5 Oct 2011 21:27:02 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 3987 invoked by uid 500); 5 Oct 2011 21:27:02 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 3979 invoked by uid 99); 5 Oct 2011 21:27:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 21:27:02 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 21:26:56 +0000 Received: from stf (helo=localhost) by eru.sfritsch.de with local-esmtp (Exim 4.72) (envelope-from ) id 1RBYz5-00021H-2k for dev@httpd.apache.org; Wed, 05 Oct 2011 23:26:35 +0200 Date: Wed, 5 Oct 2011 23:26:35 +0200 (CEST) From: Stefan Fritsch To: dev@httpd.apache.org Subject: Re: svn commit: r1178079 - in /httpd/httpd/trunk: CHANGES In-Reply-To: <4E8BA0E6.2010007@gknw.net> Message-ID: References: <4E8BA0E6.2010007@gknw.net> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 4 Oct 2011, Gregg L. Smith wrote: > It looks as if ap_max_mem_free was not originally intended to be exported. > But if it is going to be used in mod_ssl, it's is going to need to be no? Oops, I missed that. In principle there is the same problem with mod_mpm_event, but that is only built under Unix where the missing AP_DECLARE_DATA makes no difference. Fixed in r1179448. Cheers, Stefan > > Linking... > > Creating library .\Release/mod_ssl.lib and object .\Release/mod_ssl.exp > ssl_engine_init.obj : error LNK2001: unresolved external symbol > _ap_max_mem_free > .\Release\mod_ssl.so : fatal error LNK1120: 1 unresolved externals > > This seems to work for Win & Netware > > Index: include/mpm_common.h > =================================================================== > --- include/mpm_common.h (revision 1178660) > +++ include/mpm_common.h (working copy) > @@ -314,7 +314,7 @@ > int ap_signal_server(int *, apr_pool_t *); > void ap_mpm_rewrite_args(process_rec *); > > -extern apr_uint32_t ap_max_mem_free; > +AP_DECLARE_DATA apr_uint32_t ap_max_mem_free; > extern const char *ap_mpm_set_max_mem_free(cmd_parms *cmd, void *dummy, > const char *arg); > > > > > Cheers, > > Gregg >