Subject Can't compile 2.1.0 JNI
Author William L. Thomson Jr.
For some reason the JNI part of 2.1.0 won't compile for me. 2.0.1
compiles fine. FYI, 2.0.1 just went stable on Gentoo, x86 and amd64.
Once I can compile the JNI aspects of 2.1.0, it will go stable in 30
days or so. Barring any bug reports.

Also I have some suggestions/request about the build process. Like it
would be nice if examples and junit/test targets were optional via if
statements. There is also something that causes our XML re-write to
break on Gentoo. But I will follow up in another email, or bug report on
that stuff.

All the Java parts compile fine. Here is where the build fails. Please
let me know if you need more info or etc. Also sorry if this is the
wrong place. I can file a bug on sourceforge.net if need be.

init:
Overriding previous definition of reference to javac.j2ee.classpath
Overriding previous definition of reference to javac.driver.classpath
Overriding previous definition of reference to javac.pool.classpath
Overriding previous definition of reference to javac.compatibility.classpath
Overriding previous definition of reference to javac.test.classpath
Overriding previous definition of reference to javac.examples.classpath

compile-native:

init:
[mkdir] Created dir: /usr/portage/tmp/portage/dev-java/jdbc-jaybird-2.1.0/work/client-java/output/native

set_platform_properties:
[echo] os.name=Linux
[echo] jaybirds_platform_headers=generic_unix

prepare_CC:

prepare_aCC:

prepare_mingw:

prepare_msvc:

prepare_gcc:
[echo] use.gcc=true

prepare_xlC:

prepare_os390:

prepare_compile:

compile:

[cc] 11 total files to be compiled.
[cc] /usr/portage/tmp/portage/dev-java/jdbc-jaybird-2.1.0/work/client-java/src/native/jaygds/source/entrypoints.cpp: In function 'jint Java_org_firebirdsql_gds_impl_jni_JniGDSImpl_native_1isc_1que_1events(JNIEnv*, _jobject*, _jobject*, _jobject*, _jobject*)':
[cc] /usr/portage/tmp/portage/dev-java/jdbc-jaybird-2.1.0/work/client-java/src/native/jaygds/source/entrypoints.cpp:1153: error: cast from 'event_struct*' to 'int' loses precision

BUILD FAILED

/usr/portage/tmp/portage/dev-java/jdbc-jaybird-2.1.0/work/client-java/build/compile.xml:13: The following error occurred while executing this line:
/usr/portage/tmp/portage/dev-java/jdbc-jaybird-2.1.0/work/client-java/build_native.xml:468: gcc failed with return code 1

--
William L. Thomson Jr.
Gentoo/Java


[Non-text portions of this message have been removed]