Public bug reported:

Binary package hint: sun-java6-jdk

Today, I was compiling from SVN commit 164 of jni-inchi.sf.net, which
uses maven...

During the process I got this message:

[INFO] mkdir -p ../../../target/native/o/LINUX-AMD64/jni                        
                           
[INFO] cc -fPIC -I"/usr/lib/jvm/java-6-sun-1.6.0.13/include" -Ijni-inchi 
-Iinchi-1.02-beta -Os   -c jni-inchi/JniInchiWrapper.c -o 
../../../target/native/o/LINUX-AMD64/jni/JniInchiWrapper.o                      
                                       
[INFO] In file included from jni-inchi/net_sf_jniinchi_JniInchiWrapper.h:2,     
                                             
[INFO]                  from jni-inchi/JniInchiWrapper.c:23:                    
                                             
[INFO] /usr/lib/jvm/java-6-sun-1.6.0.13/include/jni.h:27:20: error: jni_md.h: 
No such file or directory

Inspecting the jni.h shows that it includes "jni_md.h", while the file
is relative as linux/jni_md.h....

Changing line 27 of /usr/lib/jvm/java-6-sun-1.6.0.13/include/jni.h from:

#include "jni_md.h"

to

#include "linux/jni_md.h"

fixes the problem.

** Affects: sun-java6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
jni_md.h not found from jni.h in sun-java6-jdk on 64bit
https://bugs.launchpad.net/bugs/390290
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to