Date: Sun, 22 Jul 2001 16:13:12 -0400 From: Christopher Rued <c.rued@xsb.com> To: Greg Lewis <glewis@eyesbeyond.com> Cc: Christopher Rued <c.rued@xsb.com>, freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient Message-ID: <15195.13272.921265.427814@chris.xsb.com> In-Reply-To: <20010723032654.A2102@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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? http://www.mozilla.org/projects/blackwood/webclient/ I am trying to build Webclient 1.0. After I downloaded the Mozilla source, I ran ./configure with the options (which I gleaned from the mozilla port Makefile): --disable-cpp-exceptions --disable-cpp-exceptions --disable-cpp-rtti --disable-debug --disable-idltool --disable-jar-packaging --disable-md --disable-pedantic --disable-xterm-updates --enable-double-buffer --enable-editor --enable-mailnews --enable-mathml --enable-optimize --enable-pics --enable-svg --enable-tests --enable-toolkit=gtk --enable-x11-shm --with-jpeg=/usr/local --with-png=/usr/local --with-pthreads After I downloaded the Webclient source, I ran ./configure with the options (same as above, plus --with-java-supplement): --disable-cpp-exceptions --disable-cpp-exceptions --disable-cpp-rtti --disable-debug --disable-idltool --disable-jar-packaging --disable-md --disable-pedantic --disable-xterm-updates --enable-double-buffer --enable-editor --enable-mailnews --enable-mathml --enable-optimize --enable-pics --enable-svg --enable-tests --enable-toolkit=gtk --enable-x11-shm --with-jpeg=/usr/local --with-png=/usr/local --with-pthreads --with-java-supplement Other than that I followed the instructions as written. You would think (I have not yet tried to wade through the Makefiles) that the --with-pthreads would cause -pthread to be passed to gcc. I will take a look. Thanks. --Chris 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?15195.13272.921265.427814>