I'm trying to compile two Apache modules: mod_atom (http://www.tbray.org/code/mod_atom.tgz) and mod_gnutls (http://www.outoforder.cc/projects/apache/mod_gnutls/)
In both cases, I'm getting similar errors: [...] i486-linux-gnu-gcc -shared .libs/mod_atom_la-mod_atom.o .libs/mod_atom_la-genx. o .libs/mod_atom_la-charProps.o .libs/mod_atom_la-genx_glue.o .libs/mod_atom_la- iterator.o /usr/lib/libapr-1.so /usr/lib/libaprutil-1.so -L/usr/lib -Wl,-z -Wl ,defs -Wl,-soname -Wl,mod_atom.so -o .libs/mod_atom.so .libs/mod_atom_la-mod_atom.o: In function `post_config': mod_atom.c:(.text+0x10c): undefined reference to `ap_log_error' mod_atom.c:(.text+0x158): undefined reference to `ap_log_error' .libs/mod_atom_la-mod_atom.o: In function `atompub_directive': mod_atom.c:(.text+0x1f2): undefined reference to `ap_log_error' 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' mod_atom.c:(.text+0x55d): undefined reference to `ap_regexec' mod_atom.c:(.text+0x576): undefined reference to `ap_set_content_type' mod_atom.c:(.text+0x5b5): undefined reference to `ap_regexec' mod_atom.c:(.text+0x5ec): undefined reference to `ap_regexec' mod_atom.c:(.text+0x605): undefined reference to `ap_set_content_type' mod_atom.c:(.text+0x645): undefined reference to `ap_set_content_type' mod_atom.c:(.text+0x684): undefined reference to `ap_regexec' mod_atom.c:(.text+0x769): undefined reference to `ap_log_error' mod_atom.c:(.text+0x784): undefined reference to `ap_set_content_type' .libs/mod_atom_la-mod_atom.o: In function `get': mod_atom.c:(.text+0x8e0): undefined reference to `ap_regexec' mod_atom.c:(.text+0xa49): undefined reference to `ap_log_error' [...] Covener on #apache suggested this might be a problem with using apxs: (05:00:43 PM) Covener: jablko: if you use apxs, you shouldn't get that kind of msg b/c you're building a shared object not a standalone executable - however, from what I can tell, both modules use quite standard Makefile.am and apache.m4 files: http://cgi.sfu.ca/~jdbates/tmp/mod_atom/200712040/Makefile.am http://cgi.sfu.ca/~jdbates/tmp/mod_atom/200712040/apache.m4 Here is the generated Makefile: http://cgi.sfu.ca/~jdbates/tmp/mod_atom/200712040/Makefile I contacted the authors, but am still unable to resolve this problem: http://lists.outoforder.cc/pipermail/modules/2007-November/000073.html I'm at the end of my build system knowledge: anyone have suggestions how to proceed from here? What to try to get more information? Thanks and best wishes, Jack
signature.asc
Description: This is a digitally signed message part
