On Tue, Jan 13, 2009 at 3:48 PM, wolfgang <wolfgang...@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 cove...@gmail.com