httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: multiple source files in a single apache module
Date Tue, 13 Jan 2009 20:57:15 GMT
On Tue, Jan 13, 2009 at 3:48 PM, wolfgang <wolfgang127@gmail.com> wrote:
> Hi gurus,
>
> I made a sample apache module, mod_test, by
> "/usr/local/apache/bin/apxs -g -n test".
> Now I want to make the mod_test call the following source ( actually,
> an add_test function ).
>

>
> httpd: Syntax error on line 100 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/modules/mod_test.so into server:
> /usr/local/apache/modules/mod_test.so: undefined symbol: add_test
>

IIUC, you can just pass a string of .c files to apxs on the command
line.  I'm not sure what Makefile you're starting with.



-- 
Eric Covener
covener@gmail.com

Mime
View raw message