Background:
  The reason I am trying to compile is that a version compiled for
i386 linux does not seem to load correctly on this box.

On Dec 19, 6:05 pm, Marc Siegel <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> I cannot compile on OpenSuse 10.2 on x86_64. Any ideas?
> Below please find output of 'uname -a' and 'make'.
>
> > uname -a
>
> Linux ps2 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007
> x86_64 x86_64 x86_64 GNU/Linux
>
> > make
>
> unzip -qo dl/sqlite-3.5.4.zip -d build/sqlite-3.5.4-Default-x86_64
> perl -pi -e "s/sqlite3_api;/sqlite3_api = 0;/g" \
>             build/sqlite-3.5.4-Default-x86_64/sqlite3ext.h
> rm build/sqlite-3.5.4-Default-x86_64/tclsqlite.c
> (cd build/sqlite-3.5.4-Default-x86_64; gcc -c -I/usr/lib64/jvm/java/
> include -O -fPIC -Ibuild/sqlite-3.5.4-Default-x86_64 -Ibuild \
>             -DSQLITE_ENABLE_COLUMN_METADATA \
>             -DSQLITE_CORE \
>             -DSQLITE_OMIT_LOAD_EXTENSION *.c)
> func.c: In function 'trimFunc':
> func.c:919: warning: cast from pointer to integer of different size
> func.c: In function 'sqlite3RegisterBuiltinFunctions':
> func.c:1464: warning: cast to pointer from integer of different size
> func.c:1483: warning: cast to pointer from integer of different size
> table.c: In function 'sqlite3_get_table':
> table.c:153: warning: cast to pointer from integer of different size
> table.c: In function 'sqlite3_free_table':
> table.c:200: warning: cast from pointer to integer of different size
> vdbemem.c: In function 'sqlite3ValueText':
> vdbemem.c:878: warning: cast from pointer to integer of different size
> javac -source 1.2 -target 1.2 -sourcepath src -d build src/org/sqlite/
> Codes.java
> javac -source 1.2 -target 1.2 -sourcepath src -d build src/org/sqlite/
> Conn.java
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> javac -source 1.2 -target 1.2 -sourcepath src -d build src/org/sqlite/
> JDBC.java
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> javac -source 1.2 -target 1.2 -sourcepath src -d build src/org/sqlite/
> NativeDB.java
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> javah -classpath build -jni -o build/NativeDB.h org.sqlite.NativeDB
> cd build && jar cf sqlitejdbc-v037-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/usr/lib64/jvm/java/include -O -fPIC -Ibuild/sqlite-3.5.4-
> Default-x86_64 -Ibuild -c -O -o build/Default-x86_64/NativeDB.o \
>                 src/org/sqlite/NativeDB.c
> In file included from build/NativeDB.h:2,
>                  from src/org/sqlite/NativeDB.c:5:
> /usr/lib64/jvm/java/include/jni.h:39: error: conflicting types for
> 'jboolean'
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/include/jni_md.h:84: error:
> previous declaration of 'jboolean' was here
> make: *** [native] Error 1
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to