You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Amir Sanjar (JIRA)" <ji...@apache.org> on 2016/12/04 16:30:58 UTC
[jira] [Commented] (BIGTOP-2618) bigtop-jsvc build fails with
OpenJDK-1.8
[ https://issues.apache.org/jira/browse/BIGTOP-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15720213#comment-15720213 ]
Amir Sanjar commented on BIGTOP-2618:
-------------------------------------
The failure is caused by changes in the location of jni_md.h from $JAVA_HOME/include to $JAVA_HOME/include/linux with OpenJDK 1.8.
Workaround:
create a simple symbolic link as follow:
ln -s $JAVA_HOME/include/linux/jni_md.h $JAVA_HOME/include/jni_md.h
or
adding -I$(JAVA_HOME)/include/linux/ to the makefile compiler options.
Any thoughts?
> bigtop-jsvc build fails with OpenJDK-1.8
> ----------------------------------------
>
> Key: BIGTOP-2618
> URL: https://issues.apache.org/jira/browse/BIGTOP-2618
> Project: Bigtop
> Issue Type: Bug
> Components: build, jsvc
> Affects Versions: 1.2.0
> Environment: Fedora 2.5 x86 and Power
> Reporter: Amir Sanjar
> Assignee: Amir Sanjar
> Priority: Critical
> Fix For: 1.2.0
>
>
> Error msg:
> In file included from java.c:24:0:
> /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:45:20: fatal error: jni_md.h: No such file or directory
> #include "jni_md.h"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)