3 messages in net.java.dev.jna.usersMinGW build can't find jni_md.h
FromSent OnAttachments
bb...@cox.netJul 9, 2007 8:45 am 
Timothy WallJul 9, 2007 9:12 am 
bb...@cox.netJul 10, 2007 5:53 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:MinGW build can't find jni_md.hActions...
From:bb...@cox.net (bb@cox.net)
Date:Jul 9, 2007 8:45:11 am
List:net.java.dev.jna.users

Seeing the recent changes since the last jna.jar available for download was
built, I've set out to build my own.

I'm trying to build on WinXP. I decided to use MinGW and MSYS as build tools
for the native stuff. Using "make CC=gcc", it fails trying to compile the first
file, distpatch.c.

The reason is that the include path seems to be not quite right. It can find
jni.h in .../jdk.6.0._01/include/ But jni.h includes jni_md.h, and that is not found, because it is in .../jdk.6.0._01/include/w32/

I can guess how to fix this by hand, but suspect I am doing something wrong
overall...