Date: Wed, 7 Aug 2013 21:48:47 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: kron <kron24@gmail.com> Cc: George Neville-Neil <gnn@freebsd.org>, Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>, freebsd-java@freebsd.org Subject: Re: Eclipse-devel Message-ID: <CAJuc1zMKSV9TfnasKK3ZRCaMGHkLLTBtP_R83OTHdr3eCAo5hg@mail.gmail.com> In-Reply-To: <51FFEA27.4040402@gmail.com> References: <03be01ce91c2$18b437f0$4a1ca7d0$@btinternet.com> <6C900CDB-D9AC-4A20-8ABD-2868CBF879C5@freebsd.org> <51FFEA27.4040402@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6 August 2013 06:08, kron <kron24@gmail.com> wrote: [...] > Apparently, the old package bundled its own SWT libraries; > the difference is somewhat strange, because the port hasn't > changed for months. I guess the port's patches aren't compatible > with some latest changes in other ports (glib-related?). I'm > skimming the patches in eclipse-devel but they are too big and > dense... I had a look at the build logs, and the problem lies appears to be deprecated functions that have been removed in the latest glib update: build.nativeLibraries: [exec] Building SWT OS=freebsd SWT ARCH=amd64 [exec] libgnomeui-2.0 found, compiling SWT program support using GNOME [exec] Cairo found, compiling SWT support for the cairo graphics library. [exec] None of the following libraries were found: Mozilla/XPCOM, Firefox/XPCOM, or XULRunner/XPCOM [exec] *** Mozilla embedding support will not be compiled. [exec] WebKit found, compiling webkit embedded browser support. [exec] libjawt.so found, the SWT/AWT integration library will be compiled. [exec] Building SWT/GTK+ for freebsd amd64 [exec] cc -O -Wall -DSWT_VERSION=4233 -DFREEBSD -DGTK -I/usr/local/include -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -fPIC -c swt.c [exec] cc -O -Wall -DSWT_VERSION=4233 -DFREEBSD -DGTK -I/usr/local/include -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -fPIC -c -o c.o c.c [exec] cc -O -Wall -DSWT_VERSION=4233 -DFREEBSD -DGTK -I/usr/local/include -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -fPIC -c -o c_stats.o c_stats.c [exec] cc -O -Wall -DSWT_VERSION=4233 -DFREEBSD -DGTK -I/usr/local/include -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -fPIC -DUSE_ASSEMBLER -c callback.c [exec] cc -shared -fPIC -s -o libswt-gtk-4233.so swt.o c.o c_stats.o callback.o [exec] cc -O -Wall -DSWT_VERSION=4233 -DFREEBSD -DGTK -I/usr/local/include -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -fPIC `pkg-config --cflags gtk+-2.0` -c os.c [exec] os.c: In function 'Java_org_eclipse_swt_internal_gtk_OS__1g_1thread_1init': [exec] os.c:4428: warning: implicit declaration of function 'g_thread_init' [exec] os.c:4428: error: 'GThreadFunctions' undeclared (first use in this function) [exec] os.c:4428: error: (Each undeclared identifier is reported only once [exec] os.c:4428: error: for each function it appears in.) [exec] os.c:4428: error: expected expression before ')' token [exec] os.c: In function 'Java_org_eclipse_swt_internal_gtk_OS__1g_1thread_1supported': [exec] os.c:4439: warning: implicit declaration of function 'g_thread_supported' [exec] gmake: *** [os.o] Error 1 [exec] Result: 2 I'm still trying to figure out just how the patching works for Eclipse work so that I can modify the os.h and os.c for the freebsd.gtk module. If anyone wants to jump in here and provide some advice, please feel free to do so. Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMKSV9TfnasKK3ZRCaMGHkLLTBtP_R83OTHdr3eCAo5hg>