Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@accumulo-master c++]# make
- if [ -z `which g++` ] ; then echo "g++ and 32bit glibc-devel and libstdc++-devel is required to build native map and mlock modules" ; exit 1 ; fi
- cd nativeMap ; make
- make[1]: Entering directory `/usr/local/accumulo-1.4.3-cdh4.3.0-SNAPSHOT/src/server/src/main/c++/nativeMap'
- g++ -g -fPIC -shared -O2 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -I/usr/lib/jvm/jre/include/linux -I/usr/lib/jvm/jre/include -m64 -o libNativeMap-Linux-amd64-64.so org_apache_accumulo_server_tabletserver_NativeMap.cc util.cc
- In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:17:
- org_apache_accumulo_server_tabletserver_NativeMap.h:18:17: error: jni.h: No such file or directory
- In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:17:
- org_apache_accumulo_server_tabletserver_NativeMap.h:31: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:39: error: expected constructor, destructor, or type conversion before ‘void’
- org_apache_accumulo_server_tabletserver_NativeMap.h:47: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:55: error: expected constructor, destructor, or type conversion before ‘void’
- org_apache_accumulo_server_tabletserver_NativeMap.h:63: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:71: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:79: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:87: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:95: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:103: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:111: error: expected constructor, destructor, or type conversion before ‘void’
- org_apache_accumulo_server_tabletserver_NativeMap.h:119: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.h:127: error: expected constructor, destructor, or type conversion before ‘void’
- In file included from SubKey.h:19,
- from org_apache_accumulo_server_tabletserver_NativeMap.cc:18:
- Field.h:50: error: ‘JNIEnv’ has not been declared
- Field.h:50: error: ‘jbyteArray’ has not been declared
- Field.h:56: error: ‘JNIEnv’ has not been declared
- Field.h:56: error: ‘jbyteArray’ has not been declared
- Field.h:87: error: ‘JNIEnv’ has not been declared
- Field.h:87: error: ‘jbyteArray’ has not been declared
- Field.h:107: error: ‘JNIEnv’ has not been declared
- Field.h:107: error: ‘jbyteArray’ has not been declared
- Field.h:112: error: ‘jbyteArray’ does not name a type
- Field.h: In constructor ‘Field::Field(LinkedBlockAllocator*, int*, int, int)’:
- Field.h:53: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- Field.h:53: error: ‘jbyte’ was not declared in this scope
- Field.h:53: error: expected primary-expression before ‘)’ token
- Field.h: In constructor ‘Field::Field(LinkedBlockAllocator*, int*, int)’:
- Field.h:57: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
- Field.h:59: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- Field.h:59: error: ‘jbyte’ was not declared in this scope
- Field.h:59: error: expected primary-expression before ‘)’ token
- Field.h: In member function ‘void Field::set(int*, int, int)’:
- Field.h:92: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- Field.h:92: error: ‘jbyte’ was not declared in this scope
- Field.h:92: error: expected primary-expression before ‘)’ token
- Field.h: In member function ‘void Field::fillIn(int*, int) const’:
- Field.h:109: error: request for member ‘SetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- Field.h:109: error: ‘jbyte’ was not declared in this scope
- Field.h:109: error: expected primary-expression before ‘)’ token
- Field.h: At global scope:
- Field.h:132: error: expected ‘)’ before ‘*’ token
- In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:18:
- SubKey.h:78: error: ‘JNIEnv’ has not been declared
- SubKey.h:78: error: ‘jbyteArray’ has not been declared
- SubKey.h:78: error: ‘jbyteArray’ has not been declared
- SubKey.h:78: error: ‘jbyteArray’ has not been declared
- SubKey.h:78: error: ‘jlong’ has not been declared
- SubKey.h:78: error: ‘jboolean’ has not been declared
- In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:18:
- SubKey.h: In constructor ‘SubKey::SubKey(LinkedBlockAllocator*, int*, int, int, int, int, int, int32_t)’:
- SubKey.h:80: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
- SubKey.h:81: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
- SubKey.h:82: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
- SubKey.h:94: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- SubKey.h:94: error: ‘jbyte’ was not declared in this scope
- SubKey.h:94: error: expected primary-expression before ‘)’ token
- SubKey.h:95: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- SubKey.h:95: error: expected primary-expression before ‘)’ token
- SubKey.h:96: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
- SubKey.h:96: error: expected primary-expression before ‘)’ token
- SubKey.h: At global scope:
- SubKey.h:185: error: expected ‘)’ before ‘*’ token
- In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:20:
- NativeMap.h:128: error: expected ‘;’ before ‘(’ token
- NativeMap.h:133: error: expected ‘;’ before ‘ColumnMap’
- In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:20:
- NativeMap.h:151: error: ‘JNIEnv’ has not been declared
- NativeMap.h:151: error: ‘jbyteArray’ has not been declared
- NativeMap.h:151: error: ‘jbyteArray’ has not been declared
- NativeMap.h:151: error: ‘jbyteArray’ has not been declared
- NativeMap.h:151: error: ‘jlong’ has not been declared
- NativeMap.h:151: error: ‘jboolean’ has not been declared
- NativeMap.h:151: error: ‘jbyteArray’ has not been declared
- NativeMap.h:151: error: ‘jint’ has not been declared
- NativeMap.h: In member function ‘void NativeMap::update(ColumnMap*, int*, int, int, int, int, int, int, int)’:
- NativeMap.h:164: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
- org_apache_accumulo_server_tabletserver_NativeMap.cc: At global scope:
- org_apache_accumulo_server_tabletserver_NativeMap.cc:32: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:36: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:41: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:46: error: expected constructor, destructor, or type conversion before ‘void’
- org_apache_accumulo_server_tabletserver_NativeMap.cc:52: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:61: error: expected constructor, destructor, or type conversion before ‘void’
- org_apache_accumulo_server_tabletserver_NativeMap.cc:67: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:75: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:92: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:113: error: ‘JNIEXPORT’ does not name a type
- org_apache_accumulo_server_tabletserver_NativeMap.cc:126: error: expected constructor, destructor, or type conversion before ‘void’
- make[1]: *** [libNativeMap-Linux-amd64-64.so] Error 1
- make[1]: Leaving directory `/usr/local/accumulo-1.4.3-cdh4.3.0-SNAPSHOT/src/server/src/main/c++/nativeMap'
- make: *** [nm] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement