From owner-freebsd-java@FreeBSD.ORG Sat Aug 28 20:29:27 2004 Return-Path: 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 9AFB416A4CE for ; Sat, 28 Aug 2004 20:29:27 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4778243D45 for ; Sat, 28 Aug 2004 20:29:27 +0000 (GMT) (envelope-from brian.lamar@gmail.com) Received: by mproxy.gmail.com with SMTP id 75so19981rnl for ; Sat, 28 Aug 2004 13:29:26 -0700 (PDT) Received: by 10.38.72.72 with SMTP id u72mr290700rna; Sat, 28 Aug 2004 13:29:26 -0700 (PDT) Received: by 10.38.9.29 with HTTP; Sat, 28 Aug 2004 13:29:26 -0700 (PDT) Message-ID: Date: Sat, 28 Aug 2004 20:29:26 +0000 From: Brian Lamar To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Eclipse Build Failure X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian Lamar List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 20:29:27 -0000 This is an example of trying to build the C++ IDE, but I get the exact same error when building Eclipse from java/eclipse. ===> Installing for eclipse-cdt-2.0 ===> eclipse-cdt-2.0 depends on file: /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar - not found ===> Verifying install for /usr/local/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar in /usr/ports/java/eclipse ===> Building for eclipse-3.0_1 ===> Building libswt. cd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" && \ /bin/sh ./build.sh && \ /bin/cp *.so ../../../../org.eclipse.swt.gtk/os/freebsd/x86/ gmake[1]: Entering directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library' cc -O -Wall -DSWT_VERSION=3062 -DFREEBSD -DGTK -I/usr/local/linux-sun-jdk1.4.2/include -I/usr/local/linux-sun-jdk1.4.2/include/bsd -I/usr/local/linux-sun-jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c swt.c In file included from swt.h:23, from swt.c:12: /usr/local/linux-sun-jdk1.4.2/include/jni.h:27:20: jni_md.h: No such file or directory In file included from swt.h:23, from swt.c:12: /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: error: syntax error before "jsize" /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: type defaults to `int' in declaration of `jsize' /usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:104: error: syntax error before "jbyte" /usr/local/linux-sun-jdk1.4.2/include/jni.h:107: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:193: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:195: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:198: error: syntax error before '*' token SNIP: About 100 more syntax error before '*' token errors /usr/local/linux-sun-jdk1.4.2/include/jni.h:730: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:732: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:1834: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1842: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1851: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1854: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1862: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1863: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:1864: error: syntax error before '*' token /usr/local/linux-sun-jdk1.4.2/include/jni.h:1871: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1888: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1927: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1928: warning: type defaults to `int' in declaration of `JNI_GetDefaultJavaVMInitArgs' /usr/local/linux-sun-jdk1.4.2/include/jni.h:1928: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1930: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1931: warning: type defaults to `int' in declaration of `JNI_CreateJavaVM' /usr/local/linux-sun-jdk1.4.2/include/jni.h:1931: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1933: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: error: syntax error before "jsize" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: warning: type defaults to `int' in declaration of `JNI_GetCreatedJavaVMs' /usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1937: error: syntax error before "jint" /usr/local/linux-sun-jdk1.4.2/include/jni.h:1938: warning: type defaults to `int' in declaration of `JNI_OnLoad' /usr/local/linux-sun-jdk1.4.2/include/jni.h:1938: warning: data definition has no type or storage class /usr/local/linux-sun-jdk1.4.2/include/jni.h:1940: error: syntax error before "void" swt.c:17: error: syntax error before "jint" swt.c:17: warning: return type defaults to `int' gmake[1]: *** [swt.o] Error 1 gmake[1]: Leaving directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library' gmake: *** [libswt] Error 2 *** Error code 2 Stop in /usr/ports/java/eclipse. *** Error code 1 Stop in /usr/ports/java/eclipse-cdt. Thank you for any insight you can toss my way. _____________________ Brian Lamar ACM@VT Assistant Sysadmin