The error "jvmtifiles/jvmti.h: No such file or directory" isn't the
cause of the build failure. This error has been fixed upstream (see and it can be avoided
by setting the USE_PRECOMPILED_HEADER=0 environment variable.

The fatal errors are the ones listed after and related to C++11 syntax
changes. Adding the --std=gnu++98 and -fpermissive options to CFLAGS
helps a bit, but the build still fails due to missing type definitions
for jint, jlong, size_t and uint64_t. This is odd, because jint and
jlong are defined in jni.h which should be in the include path.

Reply via email to