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 A3C3D932A for ; Thu, 15 Mar 2012 18:48:14 +0000 (UTC) Received: (qmail 66009 invoked by uid 500); 15 Mar 2012 18:48:13 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 65941 invoked by uid 500); 15 Mar 2012 18:48:13 -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 65933 invoked by uid 99); 15 Mar 2012 18:48:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 18:48:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.242.35.75] (HELO dns-factory.at) (194.242.35.75) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 18:48:07 +0000 Received: from [172.17.100.7] apache@gknw.net [88.152.170.69] by dns-factory.at with NetMail SMTP Agent $Revision: 8582 $ on Novell NetWare via secured & encrypted transport (TLS); Thu, 15 Mar 2012 19:47:35 +0100 Message-ID: <4F623925.9040201@apache.org> Date: Thu, 15 Mar 2012 19:47:01 +0100 From: Guenter Knauf User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.27) Gecko/20120216 Lightning/1.0b2 Thunderbird/3.1.19 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: Cannot start httpd v2.4.1 with mpm_build on AIX References: <4F56B33A.3040102@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Jeff, Am 07.03.2012 13:27, schrieb Jeff Trawick: > On Tue, Mar 6, 2012 at 8:00 PM, Guenter Knauf wrote= : >> Hi Jeff, >> Am 26.02.2012 22:44, schrieb Jeff Trawick: >> >>> I guess the problem is that those MPM APIs are not decorated with >>> AP_DECLARE() so they don't get added to httpd.exp so they don't get >>> exported from httpd on AIX. >>> >>> Can you try the attached patch to mpm_common.h? >> >> it seems that this breaks the NetWare build now; I've not looked into = it >> myself since I'm swamped currently with other stuff, but Norm just sen= t me >> this mail: >> >> Hi, >> Tried to send this to devAThttpd-apache but it got bounced; how peasan= t >> compared to other lists I've sent issues to. I'll watch for fixes. >> >> r1294936 causes extra export symbols. >> Hi, >> Re httpd-trunk: >> r1294936 added AP_DECLARE_xxx() to a number of func prototypes/vars in= >> mpm_common.h. These are now found by the 'build/nw_exp_var.awk' script= , >> which causes the NetWare apache2 link to fail for missing exports. As >> these functions are NOT common to NetWare or likely other non-Unix OS >> (all seem to be in mpm_unix or related mpm's such as event and worker)= , >> should these prototypes/vsrs now be in ap_mpm.h instead? >> >> Norm >> > > Thanks; I'll look into that. any news on that? Sorry, but unless you give a clear statement on how to = proceed with these I'm unable to fix it self; if you say that these=20 functions need to be extported by every platform then fine - we must=20 then either provide dummies for those platforms which dont have them, or = ifdef; or we need to move these into a unix-only header; its IMO not ok to suddenly decide to export these functions in order to=20 fix one platform and break another one for that; and also I'm curious=20 how Windows builds can cope with that, and wonder that nothing yet came=20 from this end ... here are the sysmbols in question: LINK obj_release/Apache2.nlm ### mwldnlm Linker Error: # Undefined symbol: ] in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_fatal_signal_child_setup in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_fatal_signal_setup in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_mpm_safe_kill in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_process_child_status in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_reclaim_child_processes in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_register_extra_mpm_process in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_relieve_child_processes in # Export list ### mwldnlm Linker Error: # Undefined symbol: ap_unregister_extra_mpm_process in # Export list where the 1st one is a quirk from the awk script ... G=FCn.