Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 66197 invoked from network); 13 Oct 2005 17:37:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2005 17:37:46 -0000 Received: (qmail 66865 invoked by uid 500); 13 Oct 2005 17:37:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66836 invoked by uid 500); 13 Oct 2005 17:37:31 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66824 invoked by uid 99); 13 Oct 2005 17:37:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 10:37:31 -0700 Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.200.145.37] (HELO omta06.mta.everyone.net) (216.200.145.37) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 10:37:33 -0700 Received: from dm21.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta06.mta.everyone.net (Postfix) with ESMTP id 4552318351 for ; Thu, 13 Oct 2005 10:37:10 -0700 (PDT) X-Eon-Dm: dm21 Received: from mailweb30.everyone.net (172.16.0.19 [172.16.0.19]) by dm21.mta.everyone.net (EON-AUTHRELAY2) with ESMTP id dm21.433b4705.bf1f2 for ; Thu, 13 Oct 2005 10:37:06 -0700 (PDT) X-Eon-Sig: AQDB8bNDTptCuzr36wIAAAAB,743e35b58ccf552cf08b2b87d063dc2e Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Thu, 13 Oct 2005 10:37:06 -0700 (PDT) From: Mike Stevens To: users@tomcat.apache.org Subject: Compiling mod_jk on FreeBSD Reply-To: katmandu@volcanomail.com X-Originating-Ip: [192.156.198.62] Message-Id: <20051013103706.9F86A04E@dm21.mta.everyone.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I=E2=80=99m trying to compile mod_jk 1.2.14 under FreeBSD 5.3. I have sear= ched the tomcat archives for the last 6 months, and done some googling as w= ell, to no avail. I am getting the following error building mod_jk with gc= c 3.4.2 and gmake 3.80: Making all in common gmake[1]: Entering directory `/usr/local/src/jakarta-tomcat-connectors-1.2.= 14.1-src/jk/native/common' /usr/local/bin/bash /usr/local/apache2/build/libtool --silent --mode=3Dcomp= ile gcc -I/usr/local/apache2/include -g -O2 -DEAPI -g -O2 -DHAVE_APR -I/us= r/local/src/httpd-2.0.50/srclib/apr/include -I/usr/local/src/httpd-2.0.50/s= rclib/apr-util/include -g -O2 -DEAPI -D_REENTRANT -D_THREAD_SAFE -I /includ= e -I /include/ -c jk_util.c -o jk_util.lo jk_util.c: In function `jk_gettid': jk_util.c:1245: error: invalid operands to binary & gmake[1]: *** [jk_util.lo] Error 1 gmake[1]: Leaving directory `/usr/local/src/jakarta-tomcat-connectors-1.2.1= 4.1-src/jk/native/common' gmake: *** [all-recursive] Error 1 michaels@joust:/usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/nat= ive$=20 The problem seems to be this line, near the end of ./common/jk_util.c int tid =3D (int)(t & 0xFFFF); Removing the & 0xFFFF allows the jk_util to compile. Clearly, I don=E2=80= =99t know C, so I suspect strongly this is not the correct solution ;-). D= oes anyone know how to get mod_jk to compile on FreeBSD? TIA, --=20 Mike =20 _____________________________________________________________ Tired of spam and viruses? Get a VolcanoMail account with SpamShield Pro an= d Anti-Virus technology! http://www.volcanomail.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org