Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13334 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5601 invoked by uid 1010); 14 Oct 2004 09:35:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5337 invoked from network); 14 Oct 2004 09:35:54 -0000 Received: from unknown (HELO ns-1.radioactive.se) (193.109.173.25) by pb1.pair.com with SMTP; 14 Oct 2004 09:35:54 -0000 Received: (qmail 4696 invoked by uid 99); 14 Oct 2004 09:35:52 -0000 Received: from 21388148156-SLAGTHUSET-NET1.host.songnetworks.se (21388148156-SLAGTHUSET-NET1.host.songnetworks.se [213.88.148.156]) by www.xapa.se (IMP) with HTTP for ; Thu, 14 Oct 2004 11:35:52 +0200 Message-ID: <1097746552.416e48782981f@www.xapa.se> Date: Thu, 14 Oct 2004 11:35:52 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 213.88.148.156 Subject: Add header from loadable module? From: stefan@xapa.se (Stefan Olsson) Hi, I'm currently writing a loadable module that needs to set a few headers. Adding #include "SAPI.h" makes everything quiet during compilation and link time but when loading/calling the module I end up with the following error message in Apache log: /usr/local/apache/bin/httpd: relocation error: .//xapacache_module.so: undefined symbol: _Z18sapi_add_header_exPcjhh It's the "same result" if I use the newer _op interface. Any ideas? Brgds /Stefan -- If you make people think they're thinking, they'll love you; but if you really make them think they'll hate you. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.