hi, Have you downloaded the tomcat source distribution?? If not jsut dowanload it and untar it and follow these instructions 1) Change to <dir> <tomcat source dir> i.e. jakarta-tomcat/src/native/apache/jserv 2) run the cmd apxs -c -o mod_jserv.so *.c This would build mod_jserv..It worked for me..wish u goodluck cheers, Deeps Thanks and Regards, Deepak C. S. Planetasia Ltd, A Microland Group Company, Bangalore,India Contact: 5522252 54 57 58 58 Extn 544 Email: [EMAIL PROTECTED] > ---------- > From: Wayne F Davis[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Monday, December 25, 2000 10:04 AM > To: [EMAIL PROTECTED] > Subject: compiling mod_jserv.so fails due to apxs:Break: Command > failed with rc=16777215 > > I'm trying to compile mod_jserv but I'm having some difficulties. I did > some searches and noticed people had some similar problems, but the only > solutions I noticed had to do with the order of switches. > > I'd appreciate any help. Thanks! > > /usr/local/apache/bin/apxs -o mod_jserv.so -c *.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c autochange.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_ajpv11.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_ajpv12.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_balance.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_image.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_mmap.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_protocols.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_status.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_utils.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_watchdog.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_wrapper.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_wrapper_unix.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c jserv_wrapper_win.c > gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED > -I/usr/local/apache/include -c mod_jserv.c > -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o > jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o > jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o > jserv_ajpv12.o jserv_ajpv11.o autochange.o > apxs:Break: Command failed with rc=16777215 > > > > Wayne Davis - [EMAIL PROTECTED] - PGP: finger -l > [EMAIL PROTECTED] > > >