It should be in a directory right under whereever jni.h is. Depending on
the platform you use, the directory should be "linux", or "solaris" etc. You
should have that path in your include path as part of your -I
compiling option.

Good luck.

-- Yuwinf

Dustin Lang <[EMAIL PROTECTED]> wrote:

Hi,

It says it can't find typedefs_md.h, and I'd guess that's exactly true.
Take a look at the java/include directory.  There are a few files and a
few directories for machine-dependent code.  That's what the _md means.   
What you need to do is somehow make sure that gcc looks in that directory
(something like -I/usr/local/java/include/genunix should work).  It's sort
of like the linux kernel's 'arch' directory.

Cheers,
dstn.

> I am trying to compile traceroute in c, along with jni.h, and some java
> files but keep getting the following error message, anybody any ideas?
> Cheers.
> 
> gcc -O2 -DHAVE_MALLOC_H=1 -DHAVE_STRERROR=1 -DHAVE_SETLINEBUF=1
-DSTDC_HEADE
> RS=1
>   -I.  -Ilinux-include -c /home/murray/traceroute-1.4a4/traceroute.c
> In file included from /home/jdk117_v1a/include/oobj.h:25,
>                  from /home/jdk117_v1a/include/native.h:26,
>                  from /home/murray/traceroute-1.4a4/jumpDetails.h:2,
>                  from /home/murray/traceroute-1.4a4/traceroute.c:211:
> /home/jdk117_v1a/include/typedefs.h:18: typedefs_md.h: No such file or
> directory




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to