Hi, I also had some trouble with libraries/javalib/external/classpath/native/jni/native-lib/cpnet.h when compiling on FreeBSD. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30377 Could you try the new classpath/native/jni/native-lib/cpnet.h which is in the GNU Classpath's CVS.