jdk-1.5 update to _3 does not work under freebsd 6 stable

Greg Lewis glewis at eyesbeyond.com
Mon Dec 5 22:16:24 GMT 2005


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 at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list