Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93854 invoked by uid 1010); 27 Sep 2004 13:11:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93828 invoked from network); 27 Sep 2004 13:11:04 -0000 Received: from unknown (HELO vanier.entertain-me.com) (69.140.175.27) by pb1.pair.com with SMTP; 27 Sep 2004 13:11:04 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by vanier.entertain-me.com (Postfix) with ESMTP id B428F4ED67 for ; Mon, 27 Sep 2004 09:11:05 -0400 (EDT) To: internals@lists.php.net Content-Type: text/plain Message-ID: <1096290423.4966.7.camel@vanier.entertain-me.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 27 Sep 2004 09:11:05 -0400 Content-Transfer-Encoding: 7bit Subject: Help calling optional functions in an apache module From: apache@entertain-me.com (David Carter) Hello all, I'm writing a PHP module that's closely tied to a custom Apache 2 module. My goal is to allow the PHP module to run with reduced functionality if the Apache module isn't loaded. It seems that using Apache's optional function interface is the way to go, but I can't seem to make it work. I have what I think are all the correct headers in place, but I keep getting these compile errors: /projects/phparm/trunk/phparm.c:86: error: `arm_application_get_ptr' undeclared (first use in this function) /projects/phparm/trunk/phparm.c:86: error: `apr_OFN_arm_application_get_t' undeclared (first use in this function) Although the correct header file is in place to get optional functions, all the definitions are ignored. Is there a -D directive I need to get this to work? Am I missing something fundamental? Do you need more info? Please help! TIA, Dave