Subject | jayburd under Linux - problems with running JUnit tests |
---|---|
Author | Nikolay Ivanchev |
Post date | 2003-11-03T07:20:07Z |
Yesterday I tried to compile CVS version of Jaybird
under Linux and I got this problem
all-tests-pure-java:
[junit] Running org.firebirdsql.jca.pool.TestPoolingConnectionManager
[junit] Running org.firebirdsql.jca.pool.TestPoolingConnectionManager
BUILD
FAILED
file:/usr/local/src/fbsource/client-java/build.xml:532: Process fork failed.
file:/usr/local/src/fbsource/client-java/build.xml:532: Process fork failed.
I am using j2sdk1.4.1 under Linux (stock rh 8.0
without any fancy upgrades)
compile-native target also fails (I was trying to
test embedded driver under linux)
The error is:
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/fb_binding.cpp:202:48:
warning: pasting "(" and "isc_service_start" does not give a valid
preprocessing token
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/generic_unix/platform.cpp:40:10:
warning: no newline at end of file
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/allocator.cpp:191:10:
warning: no newline at end of file
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/entrypoints.cpp:
In
[cc] function _jbyteArray*
[cc]
Java_org_firebirdsql_ngds_GDS_1Impl_native_1isc_1blob_1info(JNIEnv*,
[cc] _jobject*, _jobject*, _jbyteArray*, int)':
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/entrypoints.cpp:937:
[cc] _alloca' undeclared (first use this function)
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/entrypoints.cpp:937:
(Each
[cc] undeclared identifier is reported only once for each function
it appears
[cc] in.)
/usr/local/src/fbsource/client-java/src/native/jaygds/source/fb_binding.cpp:202:48:
warning: pasting "(" and "isc_service_start" does not give a valid
preprocessing token
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/generic_unix/platform.cpp:40:10:
warning: no newline at end of file
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/allocator.cpp:191:10:
warning: no newline at end of file
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/entrypoints.cpp:
In
[cc] function _jbyteArray*
[cc]
Java_org_firebirdsql_ngds_GDS_1Impl_native_1isc_1blob_1info(JNIEnv*,
[cc] _jobject*, _jobject*, _jbyteArray*, int)':
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/entrypoints.cpp:937:
[cc] _alloca' undeclared (first use this function)
[cc]
/usr/local/src/fbsource/client-java/src/native/jaygds/source/entrypoints.cpp:937:
(Each
[cc] undeclared identifier is reported only once for each function
it appears
[cc] in.)
BUILD
FAILED
file:/usr/local/src/fbsource/client-java/build_native.xml:245: gcc failed
with return code 1
file:/usr/local/src/fbsource/client-java/build_native.xml:245: gcc failed
with return code 1
Any help is welcome
Niki