Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 03:26:55 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Christopher Rued <c.rued@xsb.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Mozilla webclient
Message-ID:  <20010723032654.A2102@misty.eyesbeyond.com>
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
References:  <15194.31800.275932.992863@chris.xsb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010723032654.A2102>