Eclipse Port

Brian Lamar blamar at vt.edu
Sat Aug 28 11:02:55 PDT 2004


I have been unable to compile Eclipse from the ports with an updated 
ports tree and upgraded ports. There is no package seemingly available 
for Eclipse so I thought someone might be able to give me some insight 
on to why the compile is failing.


SNIPPET OF ERRORS:

...above are about 30ish more '*' token errors on lines above 732.
/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

Forgive me if you needed more/less information, I've never really had a 
problem like this before but I hope I can be of help in some way. Thank 
you for any kind of response.

_________________________
Brian Lamar
<blamar at vt.edu>
ACM at VT Cowpie Sysadmin


More information about the freebsd-java mailing list