   Why isn't this gcc command line working?[SOLVED]
  I have a c file i wish to build into a library. It includes a header file called FabAccess.h which in turn includes a file called <jni.h>. Now in the gcc command i have to specify the directory where the <jni.h> file is located so that gcc can get it.The command i have is:gcc fabaccess.c -I/usr/include/j2sdk1.5-sun/include/ -shared -o libFabAccess.soThe header file is actually at that path specified because i can look at it using bash but gcc says it cannot find it.Can anyone see why this would be?Dave[Edited by - Dave on December 10, 2005 9:21:18 AM]
  What is the actual erro message?Also, does the user excecuting gcc have rights to the file?;  I had the path slightly wrong :(   