From owner-freebsd-java Fri Apr 12 8:28:28 2002 Delivered-To: freebsd-java@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 8CC8037B404 for ; Fri, 12 Apr 2002 08:28:18 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Fri, 12 Apr 2002 16:28:07 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 16w2xu-0001mY-00; Fri, 12 Apr 2002 16:27:54 +0100 Date: Fri, 12 Apr 2002 16:27:54 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: =?ISO-8859-1?Q?Flemming_Fr=F8kj=E6r?= Cc: freebsd-java Subject: Re: mod_jk failes to load. In-Reply-To: <1018616613.3cb6db25ce9e2@mail.froekjaer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 12 Apr 2002, [ISO-8859-1] Flemming Fr=F8kj=E6r wrote: > Quoting Jan Grant : > > > > > Yeah, it looks like you can undefine _REENTRANT and build mod_jk and > > everything should work. (That seems to be what I did, from the brief > > archaeology I've just done.) > > > I have no Ide how to undefine a variable. Could you please give me a hint= ? Sorry, that last message was aimed at whoever volunteered to look for a fix. Erm, last time I looked mod_jk came with a Makefile.freebsd; in it, there's a CFLAGS line that includes =09-D_REENTRANT when you remove this, no reference is made to the pthreads calls (that _your_ mod_jk can't find). Rebuild mod_jk.so and check it like this: =09# nm mod_jk.so | grep pthread you shouldn't see any output - try that with your current version and you'll see that's where the problem lies. jan PS. The alternative is to rebuild apache to use pthreads; however, I wouldn't recommend this on -stable since it never blocks and idles consuming large amounts of CPU. --=20 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Whose kung-fu is the best? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message