From owner-freebsd-java@FreeBSD.ORG Mon Dec 5 22:16:23 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6D8716A420 for ; Mon, 5 Dec 2005 22:16:23 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3261A43D75 for ; Mon, 5 Dec 2005 22:16:17 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id jB5MFd8X052677; Mon, 5 Dec 2005 15:15:40 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id jB5MFc96052668; Mon, 5 Dec 2005 15:15:38 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 5 Dec 2005 15:15:38 -0700 From: Greg Lewis To: Fritz Heinrichmeyer Message-ID: <20051205221538.GA52578@misty.eyesbeyond.com> References: <4391FAB3.8020203@fernuni-hagen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4391FAB3.8020203@fernuni-hagen.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: jdk-1.5 update to _3 does not work under freebsd 6 stable X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 22:16:24 -0000 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