Date: Mon, 28 Jun 2004 23:34:01 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: Ethan Killian <ethan@hkfanatic.com> Cc: Panagiotis Astithas <past@noc.ntua.gr> Subject: Re: An alternative Eclipse 3 port Message-ID: <20040629053401.GA16198@misty.eyesbeyond.com> In-Reply-To: <40E0EEC7.1030507@hkfanatic.com> References: <40CFFE0F.6040403@noc.ntua.gr> <20040616171610.3ad2fde7.nork@FreeBSD.org> <40D982A5.8050701@noc.ntua.gr> <40DE0929.6040509@noc.ntua.gr> <20040628102239.GF66588@anyware12.anyware> <40E043FC.4090408@noc.ntua.gr> <40E0EEC7.1030507@hkfanatic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 28, 2004 at 10:23:35PM -0600, Ethan Killian wrote: > Nice job on the Motif port, I got it compiled after I added the > gcj/libgcj-config.h file to my build path. I am pretty sure my gcj > libraries are where they installed to on my FreeBSD 5.2.1 RELENG system > by default, I don't normally use gcj. Note, this is JUST for the Motif > port, the GTK version compiles and works nicely. This is the wrong "fix" and only makes things more broken. > Here is the errors I get: > ----------------------------------------------------------------------- > Building FreeBSD version of KDE DLL. > g++ -fno-rtti -c -O -I/usr/local/include -I/usr/X11R6/include > -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd > -I/usr/local/jdk1.4.2/include/freebsd -o kde.o kde.cc > In file included from swt.h:23, > from kde.cc:21: > /usr/local/include/jni.h:17:31: gcj/libgcj-config.h: No such file or directory This is your problem. No, not that it can't find gcj/libgcj-config.h. The problem is that its including the wrong jni.h. It should be getting it from /usr/local/jdk1.4.2/include/ but instead its getting it from /usr/local/include due to the order of the -I flags in the compilation line above. The correct fix is to reorder the -I flags so that the correct jni.h header is found. -- 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?20040629053401.GA16198>