From owner-freebsd-java Sun Jul 22 10:57:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 61AED37B407 for ; Sun, 22 Jul 2001 10:57:05 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.89] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15ONTP-0004fm-00; Sun, 22 Jul 2001 11:57:00 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6MHutq02303; Mon, 23 Jul 2001 03:26:55 +0930 (CST) (envelope-from glewis) Date: Mon, 23 Jul 2001 03:26:55 +0930 From: Greg Lewis To: Christopher Rued Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient Message-ID: <20010723032654.A2102@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15194.31800.275932.992863@chris.xsb.com>; from c.rued@xsb.com on Sun, Jul 22, 2001 at 03:09:44AM -0400 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 Sun, Jul 22, 2001 at 03:09:44AM -0400, Christopher Rued wrote: > I followed the instructions given on the website and was able to get > everything compiled, but when I try to run it I get the following: > (I've reformatted it a little to make it more readable): > > $ ./runem > > /usr/local/jdk1.2.2/bin/java -native -Djava.library.path=/usr/home/chris/mozilla/mozilla/dist/bin -classpath /usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/rt.jar:/usr/home/chris/dom/java:/usr/home/chris/mozilla/mozilla/dist/bin/../classes org.mozilla.webclient.test.EmbeddedMozilla /usr/home/chris/mozilla/mozilla/dist/bin > > Creating new EmbeddedMozilla window > > constructed with binDir: /usr/home/chris/mozilla/mozilla/dist/bin url: http://www.mozilla.org/projects/blackwood/webclient/ > > Inside NativeLoaderStub.cpp::loadMainDll > > in BrowserControlCanvas setBounds: x = 0 y = 0 w = 640 h = 480 > > native library does implement webclient.WindowControl > > Can't setBounds(java.awt.Rectangle[x=0,y=0,width=639,height=479]) null > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > This last line seems to indicate that some function is missing from > some library. No, it just looks like the pthreads library wasn't linked in. > Has anyone tried this? Any ideas for a fix? Make sure libnspr4 is linked with the pthreads library (you need to use the -pthread flag to gcc). Whats a URL to download this from? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message