Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 15:15:38 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Fritz Heinrichmeyer <Fritz.Heinrichmeyer@FernUni-Hagen.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: jdk-1.5 update to _3 does not work under freebsd 6 stable
Message-ID:  <20051205221538.GA52578@misty.eyesbeyond.com>
In-Reply-To: <4391FAB3.8020203@fernuni-hagen.de>
References:  <4391FAB3.8020203@fernuni-hagen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 03, 2005 at 09:06:11PM +0100, Fritz Heinrichmeyer wrote:
> jdk-1.5.0p2_2 update to _3 does not work here under a current FreeBSD 6 
> Stable. I have newest firefox-1.5 installed and suspect this has to do 
> with build fault:
> 
> gmake[5]: Entering directory 
> `/reserve/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
> /usr/bin/g++  -fPIC -DCC_NOEX -W -Wall  -Wno-unused -Wno-parentheses 
> -I/reserve/usr/ports/java/jdk15/work/control/build/bsd-i586/include 
> -I/reserve/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd 
> -I/reserve/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin 
> -I../../../../src/plugin/solaris/common 
> -I../../../../src/plugin/share/adapter/ns7 
> -I../../../../src/plugin/share/adapter/common 
> -I../../../../src/plugin/share/adapter/include 
> -I../../../../src/plugin/solaris/nscore 
> -I../../../../src/plugin/share/jpiapi -I/usr/X11R6/include/firefox 
> -I/usr/X11R6/include/firefox/caps -I/usr/X11R6/include/firefox/liveconnect 
> -I/usr/X11R6/include/firefox/nspr -I/usr/X11R6/include/firefox/oji 
> -I/usr/X11R6/include/firefox/plugin -I/usr/X11R6/include/firefox/xpcom 
> -I/usr/local/include/nspr -I/usr/X11R6/include -I/usr/local/include 
> -I../../../../../j2se/make/../src/solaris/javavm/export 
> -I../../../../../j2se/make/../src/share/javavm/export 
> -I../../../../../j2se/make/../src/share/javavm/include 
> -I../../../../../j2se/make/../src/solaris/javavm/include  -D_GNU_SOURCE 
> -DXP_UNIX  -D_ALLBSD_SOURCE -DPLUGIN_NODOTVERSION=\"150\" 
> -DPLUGIN_VERSION=\"1.5.0\" -DVERSION=\"1.5.0-p2-root_03_dec_2005_20_36\" 
> -DRELEASE=\"1.5.0-p2\" -DARCH=\"i586\" -DLIBARCH=\"i386\"   -c -o 
> /reserve/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o 
>  ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp
> In file included from 
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17:
> ../../../../src/plugin/share/adapter/ns7/StdAfx.h:61:1: warning: 
> "NS_ASSERTION" redefined
> In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
>                  from 
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17:
> /usr/X11R6/include/firefox/nsDebug.h:208:1: warning: this is the 
> location of the previous definition
> In file included from 
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17:
> ../../../../src/plugin/share/adapter/ns7/StdAfx.h:62:1: warning: 
> "NS_PRECONDITION" redefined
> In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
>                  from 
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17:
> /usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the 
> location of the previous definition
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: 
> In member function `virtual JDresult 
> CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)':
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: 
> error: `nsPluginThread' undeclared (first use this function)
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: 
> error: (Each undeclared identifier is reported only once for each 
> function it appears in.)
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: 
> error: `pPluginThread' undeclared (first use this function)
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: 
> In member function `virtual JDresult 
> CNSAdapter_JVMManager::PostEvent(JDUint32, IRunnable*, JDBool)':
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: 
> error: invalid conversion from `JDUint32' to `PRThread*'
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: 
> error:   initializing argument 1 of `virtual nsresult 
> nsIThreadManager::PostEvent(PRThread*, nsIRunnable*, PRBool)'
> gmake[5]: *** 
> [/reserve/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o] 
> Error 1
> g

Hmm, that does indeed look like a problem with a change to the plugin
interface.  I'll recompiling with the latest Firefox and see if I can
track it down.

Thanks for the report!

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



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