From owner-freebsd-java@FreeBSD.ORG Mon Aug 7 17:23:40 2006 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 C64DE16A4DE for ; Mon, 7 Aug 2006 17:23:40 +0000 (UTC) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1997543D64 for ; Mon, 7 Aug 2006 17:23:37 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 7996CF1B35; Mon, 7 Aug 2006 10:23:37 -0700 (PDT) X-Virus-Scanned: amavisd-new at mcneil.com Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rUvL3+x4QuUq; Mon, 7 Aug 2006 10:23:29 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 069A0F18A7; Mon, 7 Aug 2006 10:23:29 -0700 (PDT) From: Sean McNeil To: David Sledge In-Reply-To: <44D76046.3030609@appriss.com> References: <44D76046.3030609@appriss.com> Content-Type: text/plain Date: Mon, 07 Aug 2006 10:23:24 -0700 Message-Id: <1154971404.1679.2.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Ronald Klop , freebsd-java@freebsd.org Subject: Re: Q) eclipse 3.2 (Callisto) 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, 07 Aug 2006 17:23:40 -0000 On Mon, 2006-08-07 at 11:46 -0400, David Sledge wrote: > > Could you elaborate a little bit on the above? > > What "other" problems did you have? > > Thanx. > > > I got past the error that Sean was getting. I missed replacing an > x86_64 to amd64 tag in the patch-build file. After working on it this > weekend I found a couple of changes needed to the > post-patch-plugins-swt-gtk-build.sh for the amd64 platform. Beyond > that It builds successfully but it now crashes on startup. The splash > screen shows for a few seconds and then it dies. Below is the stack > trace that I am currently working on. If anyone knows why this error > occurs on amd64 only please let me, it would save some time debugging > it. > > > !SESSION 2006-08-07 03:48:40.561 > ----------------------------------------------- > eclipse.buildId=M20060629-1905 > java.version=1.5.0 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=freebsd, ARCH=amd64, WS=gtk, NL=en > Command-line arguments: -os freebsd -ws gtk -arch amd64 > > !ENTRY org.eclipse.osgi 4 0 2006-08-07 03:48:46.920 > !MESSAGE Application error > !STACK 1 > java.lang.NoSuchMethodError: fixedClassInitProc > at org.eclipse.swt.internal.Callback.bind(Native Method) > at org.eclipse.swt.internal.Callback.(Callback.java:123) > at org.eclipse.swt.internal.Callback.(Callback.java:78) > at org.eclipse.swt.internal.Callback.(Callback.java:60) > at > org.eclipse.swt.widgets.Display.createDisplay(Display.java:807) > at org.eclipse.swt.widgets.Display.create(Display.java:781) > at org.eclipse.swt.graphics.Device.(Device.java:145) > at org.eclipse.swt.widgets.Display.(Display.java:452) > at org.eclipse.swt.widgets.Display.(Display.java:443) > at > org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:448) > at > org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) > at > org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java :122) > at > org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75) > at org.eclipse.core.internal.runtime.PlatformActivator > $1.run(PlatformActivator.java:78) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:92) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java :400) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.eclipse.core.launcher.Main.invokeFramework > (Main.java:336) > at org.eclipse.core.launcher.Main.basicRun(Main.java:280) > at org.eclipse.core.launcher.Main.run(Main.java:977) > at org.eclipse.core.launcher.Main.main(Main.java:952) I'd say there is something different to the gtk display methods. From the 3.1.2 sources, I find: work/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java: static int /*long*/ fixedClassInitProc, fixedMapProc; work/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java: fixedClassInitCallback = new Callback (getClass (), "fixedClassInitProc", 2); work/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java: fixedClassInitProc = fixedClassInitCallback.getAddress (); work/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java: if (fixedClassInitProc == 0) SWT.error (SWT.ERROR_NO_MORE_CALLBACKS); work/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java: fixed_info.class_init = fixedClassInitProc; work/plugins/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java:static int /*long*/ fixedClassInitProc (int /*long*/ g_class, int /*long*/ class_data) {