2008/5/8 jackie <[EMAIL PROTECTED]>:
>  I am asked to prove that these files
>
>  ./lib/inc_linux/jni.h
>  ./lib/inc_linux/jni_md.h
>
>  which have the above comments are not being used.

These files are an unused leftover. The only ones the build process
uses are lib/inc_win/, and that's for the windows binary.

I admit, it is questionable putting the files in the source tree. They
come out of the JDK. You can find them on your system in
$JAVA_HOME/include, and are in the source tree simply so I can cross
compile a windows binary from Mac OS X.

GCC probably has a GPLed copy I could distribute, but it is only
distribution that would be an issue, not my use in the build process,
as the files come with the JDK just so you can build JNI binaries.

>  Before I removed
>  those files and tried to build the nested jar file, I tried a 'make'
>  in the directory 'sqlitejdbc-v044' but it failed with
>
>  =========================
>  cd build && jar cf sqlitejdbc-v044-native.jar  org/sqlite/Codes.class
>  org/sqlite/Conn.class  org/sqlite/DB.class  org/sqlite/Function\
>  $Aggregate.class  org/sqlite/Function.class  org/sqlite/JDBC.class
>  org/sqlite/MetaData.class  org/sqlite/NativeDB.class  org/sqlite/
>  PrepStmt.class  org/sqlite/RS.class  org/sqlite/Stmt.class  org/sqlite/
>  Unused.class
>  gcc -I/opt/VRTSjre/jre1.5/include -O3 -fPIC -Ibuild/sqlite-3.5.8-
>  Default-x86_64 -Ibuild -c -o build/Default-x86_64/NativeDB.o \
>         src/org/sqlite/NativeDB.c
>  src/org/sqlite/NativeDB.c:20:22: NativeDB.h: No such file or directory
>  src/org/sqlite/NativeDB.c:23: error: syntax error before "dbclass"
>  src/org/sqlite/NativeDB.c:23: warning: data definition has no type or
>  storage class
>  =========================

You have cut off the output one line too early for me to know what is
going on. Just before that line, javah is supposed to create the
NativeDB.h file. One thing to check: is $JAVA_HOME set, and pointing
at a JDK?

Otherwise, send the full output.

d.

--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to