On 15/06/11 12:29, Marius Brehler wrote:
> Package: sun-java6-jdk
> Version: 6.24-1~squeeze1
> Severity: normal
> 
> /usr/lib/jvm/java-6-sun/include/jni.h includes jni_md.h in line 27:
>   #include "jni_md.h"
> 
> The jni_md.h is located at /usr/lib/jvm/java-6-sun/include/linux/jni_md.h,
> so this line should be:
>   #include "linux/jni_md.h"
> 

Hi Marius,

I believe this is the intended behaviour, since jni.h is common over all
platforms, and so, for example, on windows the correct include is
include/win32/jni_md.h

When building your code you can just have both
-I/usr/lib/jvm/java-6-sun/include/ and
-I/usr/lib/jvm/java-6-sun/include/linux/ to set your include paths.

Thanks,
Andy



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to