I was using sqlitejdbc-v037-nested.jar binary. But I found some
comments in the source like
/*
* @(#)jni.h 1.56 03/12/19
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* We used part of Netscape's Java Runtime Interface (JRI) as the
starting
* point of our design and implementation.
*/
/
******************************************************************************
* Java Runtime Interface
* Copyright (c) 1996 Netscape Communications Corporation. All rights
reserved.
*****************************************************************************/
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. 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
=========================
There is no NativeDB.h in the tar ball. But I find that ./build/
sqlitejdbc-v044-native.jar is built though it is substantially smaller
than the one that comes from the binary only download (which was
separate from source download). My built copy does not work, but the
built binary download from the website does work.
Now I am neither able to build ./build/sqlitejdbc-v044-native.jar that
could work nor able to prove that the headers in question are not
being used.
Can you pl. give me any pointers/help to go further. I want to
a) remove the files ./lib/inc_linux/jni.h ./lib/inc_linux/jni_md.h
and build sqlitejdbc-v044-native.jar
b) Then use it
Sorry to bother, pl. see if you can help.
regards
Jackie
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---