From owner-freebsd-java@FreeBSD.ORG Mon Feb 23 21:34:17 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E79231065724 for ; Mon, 23 Feb 2009 21:34:17 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.freebsd.org (Postfix) with SMTP id 8F1718FC0C for ; Mon, 23 Feb 2009 21:34:17 +0000 (UTC) (envelope-from mikej@rogers.com) Received: (qmail 53330 invoked from network); 23 Feb 2009 21:07:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Message-ID:In-Reply-To:References:Date:Subject:From:To:Cc:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance; b=q6o9nk4q55p7g8Kf+cXv/o6Ed+S/zLp4R/el/SQSNKUlRDZxK+vyVtCv8W7mFdLN21IBWeRRYKBU5AcShanz06/TcINv3PBRPNF1Y/+ULrrBySbwvyww9NGmaIDPvC+daepi1kiJart8AmMs8vIIdqAzVfayUOCf7XXimuxGGJU= ; Received: from unknown (HELO wettoast.dyndns.org) (mikej@99.227.98.203 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 23 Feb 2009 21:07:37 -0000 X-YMail-OSG: niXGvZsVM1lIQZF9W1uo5EqKBtNKRfFkGYTHR0ZUBfboQ4ETiigKuU38CydNK0xAnQ-- X-Yahoo-Newman-Property: ymail-3 Received: from 38.99.187.34 (SquirrelMail authenticated user mikej) by wettoast.dyndns.org with HTTP; Mon, 23 Feb 2009 16:07:43 -0500 (EST) Message-ID: <4e00c45d41703a75997497ef83312d33.squirrel@wettoast.dyndns.org> In-Reply-To: <20090223171912.GA1877@wicklow.lan> References: <49920439.8010208@getsnappy.com> <20090223.121605.35071703.chat95@mac.com> <20090223171912.GA1877@wicklow.lan> Date: Mon, 23 Feb 2009 16:07:43 -0500 (EST) From: "Mike Jakubik" To: "Baptiste Daroussin" User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-java@freebsd.org Subject: Re: openjdk6 port complete and ready for testing 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, 23 Feb 2009 21:34:19 -0000 On Mon, February 23, 2009 12:19 pm, Baptiste Daroussin wrote: > Thanks for that, > > I tried to build it but it fails tn find X11/Xlib.h that I get on my > system, > perhaps it is necessary to add X11_PATH=${LOCALBASE} I'm trying to build > it with > that new env to see if it fixes the build (it is very long as my testing > computer > is slow). I also get the same error. I have tried the changes you mentioned but it still fails. Have you had any luck with it? --- /usr/bin/gcc -O3 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -Damd64 -DARCH='"amd64"' -D_ALLBSD_SOURCE -DRELEASE='"1.6.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -I../../../src/solaris/native/sun/awt/font -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/../font -I../../../src/solaris/native/sun/awt/../font -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/shell -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/share/native/sun/awt/../java2d -I../../../src/solaris/native/sun/awt/../java2d -I../../../src/share/native/sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../java2d/pipe -I../../../src/share/native/sun/awt/../java2d/opengl -I../../../src/solaris/native/sun/awt/../java2d/opengl -I../../../src/solaris/native/sun/awt/../java2d/x11 -I../../../src/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -I../../../src/solaris/native/sun/awt -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -c -o /usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o ../../../src/share/native/sun/awt/../java2d/pipe/Region.c In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34, from ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: ../../../src/solaris/native/sun/awt/utility/rect.h:31:22: error: X11/Xlib.h: No such file or directory In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34, from ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: ../../../src/solaris/native/sun/awt/utility/rect.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'RECT_T' In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:30: ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:211: error: expected declaration specifiers or '...' before 'RECT_T' ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:243: error: expected declaration specifiers or '...' before 'RECT_T' ../../../src/share/native/sun/awt/../java2d/pipe/Region.c: In function 'RegionToYXBandedRectangles': ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: 'pRect' undeclared (first use in this function) ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: (Each undeclared identifier is reported only once ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:254: error: for each function it appears in.) ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:263: warning: comparison between signed and unsigned ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error: 'RECT_T' undeclared (first use in this function) ../../../src/share/native/sun/awt/../java2d/pipe/Region.c:264: error: expected expression before ')' token gmake[4]: *** [/usr/ports/java/openjdk6/work/build/bsd-amd64/tmp/sun/sun.awt/awt/obj64/Region.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt' gmake[3]: *** [library_parallel_compile] Error 2 gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun/awt' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work/jdk/make' gmake: *** [jdk-build] Error 2 *** Error code 2 root@dev.local:/usr/ports/java/openjdk6# locate Xlib.h /usr/local/include/X11/Xlib.h