[Quickfix-users] Compilation Problem
Brought to you by:
orenmnero
From: Rodrick B. <rod...@gm...> - 2007-04-07 23:34:06
|
I'm building on Solaris 10 w/gcc Here are my configure options ./configure --prefix=/opt/quickfix --with-python=/usr/sfw/include/python2.3 --with-mysql=/usr/sfw/include/mysql --with-java I'm using the following version of Java. java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode) Looks like I'm using an incompatible JVM? what version is needed for the latest version of quickfix? g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -Wall -ansi -Wpointer-arith -Wwrite-strings -I/usr/sfw/include/mysql/include/mysql -I/usr/sfw/include/mysql/mysql/include -I/usr/include/libxml2 -I/include -I/include/solaris -I/usr/sfw/include/python2.3 -MT JVM.lo -MD -MP -MF .deps/JVM.Tpo -c JVM.cpp -fPIC -DPIC -o .libs/JVM.o In file included from JVM.cpp:28: JVM.h:22:17: jni.h: No such file or directory In file included from JVM.cpp:28: JVM.h:51: error: `JNIEnv' has not been declared JVM.h:51: error: ISO C++ forbids declaration of `parameter' with no type JVM.h:52: error: `JavaVM' has not been declared JVM.h:52: error: ISO C++ forbids declaration of `parameter' with no type JVM.h:52: error: `static void JVM::set(int*)' and `static void JVM::set(int*)' cannot be overloaded JVM.h:53: error: ISO C++ forbids declaration of `JavaVM' with no type JVM.h:53: error: expected `;' before '*' token JVM.h:55: error: expected `)' before '*' token JVM.h:58: error: `JavaVM' has not been declared JVM.h:59: error: ISO C++ forbids declaration of `JavaVM' with no type JVM.h:59: error: expected `;' before '&' token JVM.h:61: error: expected `;' before "private" JVM.h:62: error: ISO C++ forbids declaration of `JavaVM' with no type JVM.h:62: error: expected `;' before '*' token JVM.h:63: error: ISO C++ forbids declaration of `JavaVM' with no type JVM.h:63: error: expected `;' before '*' token JVM.h: In constructor `JVM::JVM()': JVM.h:56: error: class `JVM' does not have any field named `m_pJvm' JVM.h: At global scope: JVM.h:69: error: ISO C++ forbids declaration of `JNIEnv' with no type JVM.h:69: error: expected `;' before '*' token JVM.h:70: error: expected `)' before '*' token JVM.h:74: error: `JNIEnv' has not been declared JVM.h:75: error: ISO C++ forbids declaration of `JNIEnv' with no type JVM.h:75: error: expected `;' before '&' token JVM.h:76: error: expected `;' before "JVM" JVM.h:79: error: ISO C++ forbids declaration of `JNIEnv' with no type JVM.h:79: error: expected `;' before '*' token JVM.h:93: error: expected `)' before "cls" JVM.h:110: error: `jmethodID' does not name a type JVM.h:111: error: `jfieldID' does not name a type JVM.h:112: error: `jfieldID' does not name a type JVM.h:113: error: `jobject' does not name a type JVM.h:114: error: `jobject' does not name a type JVM.h:115: error: `jobject' has not been declared JVM.h:115: error: ISO C++ forbids declaration of `obj' with no type JVM.h:116: error: `jclass' has not been declared JVM.h:119: error: `jclass' does not name a type JVM.h: In constructor `JVMClass::JVMClass(const char*)': JVM.h:89: error: `m_cls' undeclared (first use this function) JVM.h:89: error: (Each undeclared identifier is reported only once for each function it appears in.) -- Rodrick R. Brown |