On Aug 14, 2005, at 2:05 PM, Garrett Rooney wrote:
So I'm having a little trouble getting mod_smtpd to compile, once I
fixed up the configure script to find apxs and apache correctly, I
end up with the following error:
$ make
/usr/bin/apxs2 -Wc,"-Wall" -o mod_smtpd.la -c smtp_core.c
smtp_protocol.c
/usr/bin/libtool --silent --mode=compile gcc -prefer-pic -pipe -I/
usr/include/xmltok -I/usr/include/openssl -Wall -O2 -
DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe
-I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 -pthread -I/
usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-0 -I/
usr/include -Wall -c -o smtp_core.lo smtp_core.c && touch
smtp_core.slo
smtp_core.c: In function `register_hooks':
smtp_core.c:348: error: `default_queue' undeclared (first use in
this function)
smtp_core.c:348: error: (Each undeclared identifier is reported
only once
smtp_core.c:348: error: for each function it appears in.)
smtp_core.c:349: error: `default_rcpt' undeclared (first use in
this function)
apxs:Error: Command failed with rc=65536
.
make: *** [mod_smtpd.la] Error 1
Sorry I removed one part of code and not the other.
-rian