c++ compilation.

Help
2008-07-24
2013-04-25
  • Soledad González

    I get an error, at 100% of compilation, saying:

    [100%] Building CXX object src/cc/access/CMakeFiles/kfs_access.dir/KfsAccessJni.o
    /usr/lib/jvm/java-6-sun-1.6.0.03/include/jni.h:39: error: conflicting declaration ‘typedef unsigned char jboolean’
    /usr/lib/gcc/i486-linux-gnu/4.1.3/include/jni_md.h:81: error: ‘jboolean’ has a previous declaration as ‘typedef signed char jboolean’
    make[2]: *** [src/cc/access/CMakeFiles/kfs_access.dir/KfsAccessJni.o] Error 1
    make[1]: *** [src/cc/access/CMakeFiles/kfs_access.dir/all] Error 2
    make: *** [all] Error 2

    What can the cause be?

    Thanks in advance,

    S.

     
    • sriramsrao

      sriramsrao - 2008-07-25

      Hi Soledad,

      This looks like an issue of mxing Java versions:  see this thread:

      http://lists.kde.org/?l=kde-solaris&m=100081447305199&w=2

      Sriram

       
    • Soledad González

      Could you give me an example of the appropriate java paths?

      JAVA_AWT_INCLUDE_PATH 
      JAVA_AWT_LIBRARY
      JAVA_INCLUDE_PATH
      JAVA_INCLUDE_PATH2
      JAVA_JVM_LIBRARY

      (So that I can work out what they should be in my case...)

      Thanks a lot,

      S.

       
    • sriramsrao

      sriramsrao - 2008-07-25

      This is what I have in mine:

      //Path to a file.
      JAVA_AWT_INCLUDE_PATH:PATH=/usr/java/jdk/include

      //Path to a library.
      JAVA_AWT_LIBRARY:FILEPATH=/usr/java/jdk/jre/lib/amd64/libjawt.so

      //Path to a file.
      JAVA_INCLUDE_PATH:PATH=/usr/java/jdk/include

      //Path to a file.
      JAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include

      //Path to a library.
      JAVA_JVM_LIBRARY:FILEPATH=/usr/java/jdk/jre/lib/amd64/server/libjvm.so

      Of course, I have a single java install.  In your setting look at the symlinks you have for /usr/java and /usr/lib/jvm; it is likely they are poinitng to different releases.

      Sriram

       
    • Soledad González

      Thank you, Sriram. But I can't manage to put this to work.

      To be sure of avoiding conflicts I've set my paths this way:

      //Path to a file.
      JAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java-6-sun/include

      //Path to a library.
      JAVA_AWT_LIBRARY:FILEPATH=/usr/lib/jvm/java-6-sun/jre/lib/i386/libawt.so

      //Path to a file.
      JAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java-6-sun/include

      //Path to a file.
      JAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java-6-sun/include

      //Path to a library.
      JAVA_JVM_LIBRARY:FILEPATH=/usr/lib/jvm/java-6-sun/jre/lib/i386/server/libjvm.so

      And I get the very same error...

      What can this be?

      Thanks in advance...

      The errors I get during instalation:

      Scanning dependencies of target kfsCommon
      [  0%] Building CXX object src/cc/common/CMakeFiles/kfsCommon.dir/log.o

      ( ... )

      Scanning dependencies of target chunk
      [ 39%] Building CXX object src/cc/chunk/CMakeFiles/chunk.dir/ChunkManager.o
      /usr/local/kfs/src/cc/chunk/ChunkManager.cc: In member function ‘int KFS::ChunkManager::WriteChunk(KFS::WriteOp*)’:
      /usr/local/kfs/src/cc/chunk/ChunkManager.cc:478: warning: comparison between signed and unsigned integer expressions
      /usr/local/kfs/src/cc/chunk/ChunkManager.cc:493: warning: comparison between signed and unsigned integer expressions

      ( ... )

      Scanning dependencies of target chunk-shared
      [ 47%] Building CXX object src/cc/chunk/CMakeFiles/chunk-shared.dir/ChunkManager.o
      /usr/local/kfs/src/cc/chunk/ChunkManager.cc: In member function ‘int KFS::ChunkManager::WriteChunk(KFS::WriteOp*)’:
      /usr/local/kfs/src/cc/chunk/ChunkManager.cc:478: warning: comparison between signed and unsigned integer expressions
      /usr/local/kfs/src/cc/chunk/ChunkManager.cc:493: warning: comparison between signed and unsigned integer expressions

      ( ... )

      Scanning dependencies of target kfsClient
      [ 56%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient.dir/Utils.o
      [ 57%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient.dir/KfsOps.o
      [ 57%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient.dir/KfsRead.o
      /usr/local/kfs/src/cc/libkfsClient/KfsRead.cc: In member function ‘ssize_t KFS::KfsClientImpl::DoLargeReadFromServer(int, char*, size_t)’:
      /usr/local/kfs/src/cc/libkfsClient/KfsRead.cc:383: warning: comparison between signed and unsigned integer expressions
      [ 58%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient.dir/KfsClient.o
      [ 59%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient.dir/KfsWrite.o
      /usr/local/kfs/src/cc/libkfsClient/KfsWrite.cc: In member function ‘ssize_t KFS::KfsClientImpl::DoLargeWriteToServer(int, off_t, const char*, size_t)’:
      /usr/local/kfs/src/cc/libkfsClient/KfsWrite.cc:454: warning: comparison between signed and unsigned integer expressions

      ( ... )

      Scanning dependencies of target kfsClient-shared
      [ 68%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient-shared.dir/Utils.o
      [ 69%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient-shared.dir/KfsOps.o
      [ 70%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient-shared.dir/KfsRead.o
      /usr/local/kfs/src/cc/libkfsClient/KfsRead.cc: In member function ‘ssize_t KFS::KfsClientImpl::DoLargeReadFromServer(int, char*, size_t)’:
      /usr/local/kfs/src/cc/libkfsClient/KfsRead.cc:383: warning: comparison between signed and unsigned integer expressions
      [ 71%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient-shared.dir/KfsClient.o
      [ 71%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient-shared.dir/KfsWrite.o
      /usr/local/kfs/src/cc/libkfsClient/KfsWrite.cc: In member function ‘ssize_t KFS::KfsClientImpl::DoLargeWriteToServer(int, off_t, const char*, size_t)’:
      /usr/local/kfs/src/cc/libkfsClient/KfsWrite.cc:454: warning: comparison between signed and unsigned integer expressions
      [ 72%] Building CXX object src/cc/libkfsClient/CMakeFiles/kfsClient-shared.dir/LeaseClerk.o

      ( ... )

      Scanning dependencies of target kfs_access
      [100%] Building CXX object src/cc/access/CMakeFiles/kfs_access.dir/KfsAccessJni.o
      /usr/lib/jvm/java-6-sun/include/jni.h:39: error: conflicting declaration ‘typedef unsigned char jboolean’
      /usr/lib/gcc/i486-linux-gnu/4.1.3/include/jni_md.h:81: error: ‘jboolean’ has a previous declaration as ‘typedef signed char jboolean’
      make[2]: *** [src/cc/access/CMakeFiles/kfs_access.dir/KfsAccessJni.o] Error 1
      make[1]: *** [src/cc/access/CMakeFiles/kfs_access.dir/all] Error 2
      make: *** [all] Error 2

       
    • sriramsrao

      sriramsrao - 2008-07-27

      Hmmm....

      /usr/lib/jvm/java-6-sun/include/jni.h:39: error: conflicting declaration ‘typedef unsigned char jboolean’
      /usr/lib/gcc/i486-linux-gnu/4.1.3/include/jni_md.h:81: error: ‘jboolean’ has a previous declaration as ‘typedef signed char jboolean’
      ===
      Looks like it is still the same issue.  Can you use /etc/alternatives to configure your java for 1.6?  That will setup all the symlinks and everything else.

      Also, blow away the build and restart.  That will make sure you are getting the vars right.

      Sriram

       
    • Soledad González

      Hello, Sriram, thank you for your help...

      I have uninstalled all java versions, then re-installed java6-sun-*, and now... I get many more errors. :((

      What can the problem be? Some lost configuration file? How can I get rid of them?

      Thank you in advance :)

      S.

      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jdouble JNIEnv_::CallStaticDoubleMethod(_jclass*, _jmethodID*, ...)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1482: error: ‘const struct JNINativeInterface_’ has no member named ‘CallStaticDoubleMethodV’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jdouble JNIEnv_::CallStaticDoubleMethodV(_jclass*, _jmethodID*, char*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1488: error: ‘const struct JNINativeInterface_’ has no member named ‘CallStaticDoubleMethodV’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jdouble JNIEnv_::CallStaticDoubleMethodA(_jclass*, _jmethodID*, const jvalue*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1492: error: ‘const struct JNINativeInterface_’ has no member named ‘CallStaticDoubleMethodA’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1498: error: ‘const struct JNINativeInterface_’ has no member named ‘CallStaticVoidMethodV’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::CallStaticVoidMethodV(_jclass*, _jmethodID*, char*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1503: error: ‘const struct JNINativeInterface_’ has no member named ‘CallStaticVoidMethodV’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::CallStaticVoidMethodA(_jclass*, _jmethodID*, const jvalue*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1507: error: ‘const struct JNINativeInterface_’ has no member named ‘CallStaticVoidMethodA’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jfieldID* JNIEnv_::GetStaticFieldID(_jclass*, const char*, const char*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1512: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticFieldID’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jobject* JNIEnv_::GetStaticObjectField(_jclass*, _jfieldID*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1515: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticObjectField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jboolean JNIEnv_::GetStaticBooleanField(_jclass*, _jfieldID*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1518: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticBooleanField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jchar JNIEnv_::GetStaticCharField(_jclass*, _jfieldID*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1524: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticCharField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jshort JNIEnv_::GetStaticShortField(_jclass*, _jfieldID*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1527: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticShortField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jfloat JNIEnv_::GetStaticFloatField(_jclass*, _jfieldID*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1536: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticFloatField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jdouble JNIEnv_::GetStaticDoubleField(_jclass*, _jfieldID*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1539: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStaticDoubleField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticObjectField(_jclass*, _jfieldID*, _jobject*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1544: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticObjectField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticBooleanField(_jclass*, _jfieldID*, jboolean)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1548: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticBooleanField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticByteField(_jclass*, _jfieldID*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1552: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticByteField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticCharField(_jclass*, _jfieldID*, jchar)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1556: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticCharField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticShortField(_jclass*, _jfieldID*, jshort)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1560: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticShortField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticIntField(_jclass*, _jfieldID*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1564: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticIntField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticLongField(_jclass*, _jfieldID*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1568: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticLongField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticFloatField(_jclass*, _jfieldID*, jfloat)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1572: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticFloatField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetStaticDoubleField(_jclass*, _jfieldID*, jdouble)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1576: error: ‘const struct JNINativeInterface_’ has no member named ‘SetStaticDoubleField’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jstring* JNIEnv_::NewString(const jchar*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1580: error: ‘const struct JNINativeInterface_’ has no member named ‘NewString’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘const jchar* JNIEnv_::GetStringChars(_jstring*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1586: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStringChars’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::ReleaseStringChars(_jstring*, const jchar*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1589: error: ‘const struct JNINativeInterface_’ has no member named ‘ReleaseStringChars’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jstring* JNIEnv_::NewStringUTF(const char*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1593: error: ‘const struct JNINativeInterface_’ has no member named ‘NewStringUTF’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘const char* JNIEnv_::GetStringUTFChars(_jstring*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1599: error: ‘const struct JNINativeInterface_’ has no member named ‘GetStringUTFChars’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::ReleaseStringUTFChars(_jstring*, const char*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1602: error: ‘const struct JNINativeInterface_’ has no member named ‘ReleaseStringUTFChars’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jobjectArray* JNIEnv_::NewObjectArray(int, _jclass*, _jobject*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1611: error: ‘const struct JNINativeInterface_’ has no member named ‘NewObjectArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jobject* JNIEnv_::GetObjectArrayElement(_jobjectArray*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1614: error: ‘const struct JNINativeInterface_’ has no member named ‘GetObjectArrayElement’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::SetObjectArrayElement(_jobjectArray*, int, _jobject*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1618: error: ‘const struct JNINativeInterface_’ has no member named ‘SetObjectArrayElement’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jbooleanArray* JNIEnv_::NewBooleanArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1622: error: ‘const struct JNINativeInterface_’ has no member named ‘NewBooleanArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jbyteArray* JNIEnv_::NewByteArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1625: error: ‘const struct JNINativeInterface_’ has no member named ‘NewByteArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jcharArray* JNIEnv_::NewCharArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1628: error: ‘const struct JNINativeInterface_’ has no member named ‘NewCharArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jshortArray* JNIEnv_::NewShortArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1631: error: ‘const struct JNINativeInterface_’ has no member named ‘NewShortArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jintArray* JNIEnv_::NewIntArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1634: error: ‘const struct JNINativeInterface_’ has no member named ‘NewIntArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jlongArray* JNIEnv_::NewLongArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1637: error: ‘const struct JNINativeInterface_’ has no member named ‘NewLongArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jfloatArray* JNIEnv_::NewFloatArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1640: error: ‘const struct JNINativeInterface_’ has no member named ‘NewFloatArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘_jdoubleArray* JNIEnv_::NewDoubleArray(int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1643: error: ‘const struct JNINativeInterface_’ has no member named ‘NewDoubleArray’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jboolean* JNIEnv_::GetBooleanArrayElements(_jbooleanArray*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1647: error: ‘const struct JNINativeInterface_’ has no member named ‘GetBooleanArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jchar* JNIEnv_::GetCharArrayElements(_jcharArray*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1653: error: ‘const struct JNINativeInterface_’ has no member named ‘GetCharArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jshort* JNIEnv_::GetShortArrayElements(_jshortArray*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1656: error: ‘const struct JNINativeInterface_’ has no member named ‘GetShortArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jfloat* JNIEnv_::GetFloatArrayElements(_jfloatArray*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1665: error: ‘const struct JNINativeInterface_’ has no member named ‘GetFloatArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘jdouble* JNIEnv_::GetDoubleArrayElements(_jdoubleArray*, jboolean*)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1668: error: ‘const struct JNINativeInterface_’ has no member named ‘GetDoubleArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::ReleaseBooleanArrayElements(_jbooleanArray*, jboolean*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1674: error: ‘const struct JNINativeInterface_’ has no member named ‘ReleaseBooleanArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::ReleaseByteArrayElements(_jbyteArray*, int*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1679: error: ‘const struct JNINativeInterface_’ has no member named ‘ReleaseByteArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::ReleaseCharArrayElements(_jcharArray*, jchar*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1684: error: ‘const struct JNINativeInterface_’ has no member named ‘ReleaseCharArrayElements’
      /usr/lib/jvm/java-6-sun/include/jni.h: In member function ‘void JNIEnv_::ReleaseShortArrayElements(_jshortArray*, jshort*, int)’:
      /usr/lib/jvm/java-6-sun/include/jni.h:1689: error: ‘const struct JNINativeInterface_’ has no member named ‘ReleaseShortArrayElements’

       
    • sriramsrao

      sriramsrao - 2008-07-27

      This is very unfortunate :-(

      When you did the re-install of the Java stuff, can you restart the compile of KFS code---start from cmake step?  Basically, blow away the build directory and start over.

      Sriram

       
    • Soledad González

      Thank you, Sriram...

      Finally I gave up and have just re-installed my Ubuntu. Hope I'll have no problems now.

      Regards,

      S.

       
    • Soledad González

      Is cmake supposed to find by itself those paths? I've just installed Ubuntu and Java and I get the very same cmake error...

      Thanks,

      S.

       
    • sriramsrao

      sriramsrao - 2008-08-01

      In theory yes, cmake shoudl find those paths.  If that doesn't work, you can edit CMakeCache.txt and stick in teh appropriate values.

      Aside...you'll probably faster response if you post on the mailing lists.

      Sriram

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks