Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 26433 invoked from network); 8 Jul 2000 18:53:56 -0000 Received: from e24.nc.us.ibm.com (32.97.136.230) by locus.apache.org with SMTP; 8 Jul 2000 18:53:56 -0000 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e24.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id OAA19792 for ; Sat, 8 Jul 2000 14:56:31 -0500 From: rubys@us.ibm.com Received: from d54mta04.raleigh.ibm.com (d54mta04.raleigh.ibm.com [9.67.228.36]) by southrelay02.raleigh.ibm.com (8.8.8m3/NCO v4.9) with SMTP id OAA63874 for ; Sat, 8 Jul 2000 14:53:54 -0400 Received: by d54mta04.raleigh.ibm.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id 85256916.0067CE57 ; Sat, 8 Jul 2000 14:53:50 -0400 X-Lotus-FromDomain: IBMUS To: tomcat-dev@jakarta.apache.org Message-ID: <85256916.0067CC64.00@d54mta04.raleigh.ibm.com> Date: Sat, 8 Jul 2000 14:53:27 -0400 Subject: Re: mod_jk Compile problems Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Marcel wrote: > I've tried the line described in the mo_jk howto: > > bash$ ~/apache/bin/apxs -o mod_jk.so -c *.c ../jk/ *.c -I ../jk/ > gcc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE > -DSHARED_MODULE -I/opt2/webtothe/products/install/apache/incc > mod_jk.c:81: jk_global.h: No such file or directory > mod_jk.c:82: jk_util.h: No such file or directory > mod_jk.c:83: jk_map.h: No such file or directory > mod_jk.c:84: jk_pool.h: No such file or directory > mod_jk.c:85: jk_service.h: No such file or directory > mod_jk.c:86: jk_worker.h: No such file or directory > mod_jk.c:87: jk_uri_worker_map.h: No such file or directory > apxs:Break: Command failed with rc=65536 It looks like the -I needs to comes first. On my Linux box, the following works: /usr/sbin/apxs -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -I ../jk -o mod_jk.so -c *.c ../jk/*.c - Sam Ruby