I'll concern those in this mail.
Also to make the errors go away on eclipse I had to copy these two files (which the wiki refers) to .java:
- classpath/gnu/classpath/Configuration.java.in
- classpath/gnu/java/security/Configuration.java.in
Also add the jaxme jar (usually on /usr/share/java) to the build path (I thought that I needed antlr, am I missing something here?) and we go down to two errors I think, which are basically incompatibility with
Here's the first problem, it complains about the following errors which can be fixed with Giuseppe Scrivano patch. I wonder why the thread isn't showing on
Error 1:
cc1: warnings being treated as errors
gnu_java_nio_VMChannel.c: In function ‘Java_gnu_java_nio_VMChannel_getpeername’:
gnu_java_nio_VMChannel.c:1451: error: dereferencing pointer ‘sockaddr’ does break strict-aliasing rules
gnu_java_nio_VMChannel.c:1443: error: dereferencing pointer ‘sockaddr’ does break strict-aliasing rules
gnu_java_nio_VMChannel.c:1430: note: initialized from here
gnu_java_nio_VMChannel.c: In function ‘Java_gnu_java_nio_VMChannel_getsockname’:
gnu_java_nio_VMChannel.c:1392: error: dereferencing pointer ‘sockaddr’ does break strict-aliasing rules
gnu_java_nio_VMChannel.c:1382: error: dereferencing pointer ‘sockaddr’ does break strict-aliasing rules
gnu_java_nio_VMChannel.c:1370: note: initialized from here
gnu_java_nio_VMChannel.c: In function ‘Java_gnu_java_nio_VMChannel_receive’:
gnu_java_nio_VMChannel.c:812: error: dereferencing pointer ‘sockaddr’ does break strict-aliasing rules
gnu_java_nio_VMChannel.c:804: error: dereferencing pointer ‘sockaddr’ does break strict-aliasing rules
gnu_java_nio_VMChannel.c:768: note: initialized from here
make[3]: ** [gnu_java_nio_VMChannel.lo] Erro 1
make[3]: Saindo do diretório `/home/marcos/workspace/classpath/native/jni/java-nio'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/home/marcos/workspace/classpath/native/jni'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/marcos/workspace/classpath/native'
make: ** [all-recursive] Erro 1
Error 2:
...
gcjwebplugin.cc: In function 'gchar* plugin_get_documentbase(NPP_t*)':
gcjwebplugin.cc:868: error: 'nsIPluginInstance' was not declared in this scope
gcjwebplugin.cc:868: error: 'xpcom_instance' was not declared in this scope
gcjwebplugin.cc:869: error: 'nsIPluginInstancePeer' was not declared in this scope
gcjwebplugin.cc:869: error: 'peer' was not declared in this scope
gcjwebplugin.cc:870: error: 'nsresult' was not declared in this scope
gcjwebplugin.cc:870: error: expected `;' before 'result'
gcjwebplugin.cc:871: error: 'nsIPluginTagInfo2' was not declared in this scope
gcjwebplugin.cc:871: error: 'pluginTagInfo2' was not declared in this scope
gcjwebplugin.cc:876: error: expected primary-_expression_ before ')' token
gcjwebplugin.cc:890: error: 'union info_union' has no member named 'info_field'
gcjwebplugin.cc:892: error: 'result' was not declared in this scope
gcjwebplugin.cc:892: error: 'kIPluginTagInfo2IID' was not declared in this scope
gcjwebplugin.cc:912: error: 'NS_RELEASE' was not declared in this scope
...
--
Marcos Roriz
Bacharelando em Ciência da Computação
Universidade Federal de Goiás
E-mail: marcosrorizinf@xxxxxxxxx
Home Page:http://marcosroriz.wordpress.com