header files not being included in JNI

I've written a java program which interfaces with some C code.In the c code i use certain functions which are defined in a header file that i include in the same c file.The problem i have ,is that the compiler shows an error when it comes across one of those functions.It seems to me that the header file is not being included.Here's what i've done at the start of the jni c code,any help will be greatly appreciated.

#include<stdio.h>

#include " mnt/cprog/ca.h"

JNIEXPORT void JNICALL......

Can other header files be included over here ,or do they have to be included from the java file?..but the problem there is that the header file is of .h extension.....any suggestions?

ps..The os is Linux

..Derick

[763 byte] By [jazzkookie] at [2007-9-26 10:43:19]
# 1

If the header files are not found, the compiler will tell you. At least gcc does so. If only some functions you are using are missing, they are probably not in the header file you are including.

By the way, there is no way to include headers for your native code through Java. What kind of mechanism should that be?

thpreusser at 2007-7-1 23:15:21 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
If your question simply is if you can include more header files than javah suggests, the answer is a clear yes. But all the definitions you would need to interface to the Java runtime are included with those header files already specified by javah.
thpreusser at 2007-7-1 23:15:21 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3
The code seems perfectly fine. Is there really a blank space between start quote and m in " mnt/cprog/ca.h"? Just check.
bhatnagar at 2007-7-1 23:15:21 > top of Java-index,Java HotSpot Virtual Machine,Specifications...