From owner-freebsd-questions@FreeBSD.ORG Thu Mar 23 02:43:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3639816A425 for ; Thu, 23 Mar 2006 02:43:33 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ECB843D58 for ; Thu, 23 Mar 2006 02:43:31 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 32695 invoked from network); 23 Mar 2006 13:43:31 +1100 Received: from andromeda.lef.com.au (HELO localhost) (210.8.93.2) by estudioruta.com.ar with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Mar 2006 13:43:30 +1100 Date: Thu, 23 Mar 2006 13:43:27 +1100 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20060323134327.55ad5daf@localhost> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Error bulding Java jdk15 - FAQ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 02:43:33 -0000 Hi there, I'm having trouble building jdk15 under FreeBSD 6.1-PRERELEASE, with world, kernel and ports up to date. It dies with [...] /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2 -Di586 -DARCH='"i586"' -DRELEASE='"1.5.0-p2"' -DFULL_VERSION='"1.5.0-p2-root_23_mar_2006_10_49"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -I. -I/usr/ports/java/jdk15/work/control/build/bsd-i586/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/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions -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/alphacomposite -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/share/native/sun/awt/../dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../../src/solaris/native/sun/awt/../jdga -c -o /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c In file included from ../../../src/solaris/native/sun/awt/awt.h:20, from ../../../src/solaris/native/sun/awt/color.h:10, from ../../../src/solaris/native/sun/awt/img_util_md.h:8, from ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:17: /usr/X11R6/include/X11/Intrinsic.h:1181: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1325: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1392: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1399: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1423: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1475: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1498: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1572: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1593: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1604: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1615: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1630: error: syntax error before "_X_SENTINEL" /usr/X11R6/include/X11/Intrinsic.h:1645: error: syntax error before "_X_SENTINEL" ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c: In function `Java_sun_awt_image_BufImgSurfaceData_freeNativeICMData': ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:83: warning: cast to pointer from integer of different size ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c: In function `BufImg_SetupICM': ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:257: warning: cast to pointer from integer of different size ../../../src/share/native/sun/awt/image/BufImgSurfaceData.c:276: warning: cast from pointer to integer of different size gmake[4]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/awt' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/awt' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 --- i have linux.ko loaded and linprocfs on /usr/compat/linux/proc (linprocfs, local) mounted. I also have these 2 ports installed already: javavmwrapper-2.0_6 Wrapper script for various Java Virtual Machines linux-sun-jdk-1.4.2.10 Sun Java Development Kit 1.4 for Linux Any idea? Thanks!! Beto