From owner-freebsd-java Mon Jul 23 20:17:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id B75AE37B406 for ; Mon, 23 Jul 2001 20:17:33 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6O3Gov16049; Mon, 23 Jul 2001 23:16:50 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15196.59554.155838.779765@chris.xsb.com> Date: Mon, 23 Jul 2001 23:16:50 -0400 To: Greg Lewis Cc: Christopher Rued , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient In-Reply-To: <20010723142255.A4307@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> <15195.19078.279362.308647@chris.xsb.com> <20010723084709.A3410@misty.eyesbeyond.com> <15195.43774.261412.856429@chris.xsb.com> <20010723142255.A4307@misty.eyesbeyond.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 > > > > I have applied the patches from the port, most applied cleanly -- the > > > > port uses a different version of the source. Let's see if that fixes > > > > anything. > > > > > > It should, as I'd expect the mozilla patches to fix the linking flag > > > to be -pthread. I'd be interested in hearing if this fixes the problem :). > > > > I applied the patches, but still: > > > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/... > > ...dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > > > -lpthread still shows up all over the Makefile in mozilla/nsprpub/pr/src. > > > > I guess I'll just have to manually modify the Makefile, and see if > > that solves the problem. > > Hmmm. The port itself sets BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" in the > environment to configure and fixes the NSPR linking line in patch-qt. > Have you got your environment set up correctly when you invoke > configure? That good be a problem. Try > > setenv BSD_PTHREAD_LIBS '-pthread' Same thing :(. I also noticed a problem compiling a java class that make sort of just glazes over (it complains about not being able to find org.mozilla.dom.DocumentLoadListener), but that doesn't seem to be the real issue here (It'll probably show up later :)). Another interesting thing, which makes me think that I'm doing something wrong in the building process, is when I add /usr/X11R6/lib/mozilla (the path where the port installs its libraries) to the beginning of LD_LIBRARY_PATH, I seem to get past the point where I was getting: Undefined symbol 'pthread_mutex_lock', but now I get: Inside NativeLoaderStub.cpp::loadMainDll Got Error: /usr/home/chris/webclient/mozilla/dist/bin/libwebclient.so: Undefined symbol "Implementation__C8nsString" Then it just hangs. Maybe I should try starting with an older version of the port, and compile Mozilla that way. Then, compile the webclient? Any other ideas? Thanks again. --Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message