From modules-dev-return-1310-apmail-httpd-modules-dev-archive=httpd.apache.org@httpd.apache.org Tue Dec 04 20:53:01 2007 Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 54013 invoked from network); 4 Dec 2007 20:53:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2007 20:53:01 -0000 Received: (qmail 6197 invoked by uid 500); 4 Dec 2007 20:52:49 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 6170 invoked by uid 500); 4 Dec 2007 20:52:49 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 6161 invoked by uid 99); 4 Dec 2007 20:52:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 12:52:49 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.229.52.226] (HELO grimnir.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 20:52:48 +0000 Received: from grimnir.webthing.com (localhost [127.0.0.1]) by grimnir.webthing.com (Postfix) with ESMTP id 32B672136 for ; Tue, 4 Dec 2007 20:52:27 +0000 (GMT) Date: Tue, 4 Dec 2007 20:52:26 +0000 From: Nick Kew To: modules-dev@httpd.apache.org Subject: Re: undefined reference to `ap_log_error' Message-ID: <20071204205226.7a95f11b@grimnir> In-Reply-To: <4755B9E2.60403@joe-lewis.com> References: <1196800069.5255.18.camel@ket.lat> <4755B9E2.60403@joe-lewis.com> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 04 Dec 2007 13:34:42 -0700 Joe Lewis wrote: > Jack Bates wrote: > > mod_atom.c:(.text+0x2aa): undefined reference to `ap_log_error' > > .libs/mod_atom_la-mod_atom.o: In function `type_checker': > > mod_atom.c:(.text+0x51a): undefined reference to `ap_regexec' > > > ap_log_error (Apache 1.3) was replaced with ap_log_rerror or > ap_log_perror in Apache 2.x - I suspect the other undefined references > are similar, and you have code written for 1.3 while compiling with > 2.x . nope, ap_log_error is valid. The OP appears to be faffing about with broken makefiles (it's way too big to check for a question here) when he should be using apxs. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/