A simple module just by linking pthread library
crashes apache 1.3.12 server,
i.e httpd doesn't comes up.
This happens on RedHat 6.2 Linux.
any idea on apache module which links pthread library
for apache1.3.12 is appreciated.
steps to reproduc the problem:
downloaded apache_1.3.12.tar.gz on a RedHat 6.2 Linux machine.
compiled and installed with
#configure --enable-shared=max --enable-module=most \
--prefix=/usr/local/apache
#export PATH=/usr/local/apache/bin:$PATH
#apxs -g -i -n testMod
#cd testMod
#make
apxs -c mod_testMod.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE
-I/usr/local/apache/include -c mod_testMod.c
gcc -shared -o mod_testMod.so mod_testMod.o
#rm mod_testMod.so
#gcc -shared -o mod_testMod.so mod_testMod.o -lpthread
#make install
#/usr/local/apache/sbin/apactrl start
httpd dossn't comes up.
Thanks,
Datta.
Sent via Deja.com http://www.deja.com/
Before you buy.