[RndTbl] Apache2 modules

Kevin McGregor kmcgregor at shaw.ca
Wed Jun 7 12:39:17 CDT 2006

I'm trying to compile the mod_ntlm2 module, and it's failing to produce the mod_ntlm.so but I can't figure out precisely why. Does anyone have any suggestions? Here's my output:

user at hostname:~/mod_ntlm# make install
apxs2 -c -o mod_ntlm.so -Wc,-shared mod_ntlm.c
/usr/bin/libtool --silent --mode=compile gcc -prefer-pic -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -g -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 -g -O2 -pthread -I/usr/include/apache2  -I/usr/include/apr-0   -I/usr/include/apr-0 -I/usr/include -shared  -c -o mod_ntlm.lo mod_ntlm.c && touch mod_ntlm.slo
mod_ntlm.c:65: warning: conflicting types for built-in function 'log'
mod_ntlm.c: In function `get_ntlm_connection':
mod_ntlm.c:453: warning: unsigned int format, long int arg (arg 3)
mod_ntlm.c:454: warning: dereferencing type-punned pointer will break strict-aliasing rules
mod_ntlm.c: In function `authenticate_ntlm_user':
mod_ntlm.c:777: warning: unsigned int format, long int arg (arg 3)
/usr/bin/libtool --silent --mode=link gcc -o mod_ntlm.la  -rpath /usr/lib/apache2/modules -module -avoid-version    mod_ntlm.lo
apxs2 -i -a -n 'ntlm' mod_ntlm.so
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool' mod_ntlm.so /usr/lib/apache2/modules
/usr/bin/libtool --mode=install cp mod_ntlm.so /usr/lib/apache2/modules/
cp mod_ntlm.so /usr/lib/apache2/modules/mod_ntlm.so
cp: cannot stat `mod_ntlm.so': No such file or directory
apxs:Error: Command failed with rc=65536
make: *** [install] Error 1

More information about the Roundtable mailing list