Date: Fri, 12 Apr 2002 16:27:54 +0100 (BST) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: =?ISO-8859-1?Q?Flemming_Fr=F8kj=E6r?= <flemming@froekjaer.org> Cc: freebsd-java <freebsd-java@FreeBSD.ORG> Subject: Re: mod_jk failes to load. Message-ID: <Pine.GSO.4.44.0204121624210.17335-100000@mail.ilrt.bris.ac.uk> In-Reply-To: <1018616613.3cb6db25ce9e2@mail.froekjaer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Apr 2002, [ISO-8859-1] Flemming Fr=F8kj=E6r wrote: > Quoting Jan Grant <Jan.Grant@bristol.ac.uk>: > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0204121624210.17335-100000>