Advertisement
Guest User

Untitled

a guest
Aug 12th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.38 KB | None | 0 0
  1. [root@accumulo-master c++]# make
  2. 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
  3. cd nativeMap ; make
  4. make[1]: Entering directory `/usr/local/accumulo-1.4.3-cdh4.3.0-SNAPSHOT/src/server/src/main/c++/nativeMap'
  5. 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
  6. In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:17:
  7. org_apache_accumulo_server_tabletserver_NativeMap.h:18:17: error: jni.h: No such file or directory
  8. In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:17:
  9. org_apache_accumulo_server_tabletserver_NativeMap.h:31: error: ‘JNIEXPORT’ does not name a type
  10. org_apache_accumulo_server_tabletserver_NativeMap.h:39: error: expected constructor, destructor, or type conversion before ‘void’
  11. org_apache_accumulo_server_tabletserver_NativeMap.h:47: error: ‘JNIEXPORT’ does not name a type
  12. org_apache_accumulo_server_tabletserver_NativeMap.h:55: error: expected constructor, destructor, or type conversion before ‘void’
  13. org_apache_accumulo_server_tabletserver_NativeMap.h:63: error: ‘JNIEXPORT’ does not name a type
  14. org_apache_accumulo_server_tabletserver_NativeMap.h:71: error: ‘JNIEXPORT’ does not name a type
  15. org_apache_accumulo_server_tabletserver_NativeMap.h:79: error: ‘JNIEXPORT’ does not name a type
  16. org_apache_accumulo_server_tabletserver_NativeMap.h:87: error: ‘JNIEXPORT’ does not name a type
  17. org_apache_accumulo_server_tabletserver_NativeMap.h:95: error: ‘JNIEXPORT’ does not name a type
  18. org_apache_accumulo_server_tabletserver_NativeMap.h:103: error: ‘JNIEXPORT’ does not name a type
  19. org_apache_accumulo_server_tabletserver_NativeMap.h:111: error: expected constructor, destructor, or type conversion before ‘void’
  20. org_apache_accumulo_server_tabletserver_NativeMap.h:119: error: ‘JNIEXPORT’ does not name a type
  21. org_apache_accumulo_server_tabletserver_NativeMap.h:127: error: expected constructor, destructor, or type conversion before ‘void’
  22. In file included from SubKey.h:19,
  23. from org_apache_accumulo_server_tabletserver_NativeMap.cc:18:
  24. Field.h:50: error: ‘JNIEnv’ has not been declared
  25. Field.h:50: error: ‘jbyteArray’ has not been declared
  26. Field.h:56: error: ‘JNIEnv’ has not been declared
  27. Field.h:56: error: ‘jbyteArray’ has not been declared
  28. Field.h:87: error: ‘JNIEnv’ has not been declared
  29. Field.h:87: error: ‘jbyteArray’ has not been declared
  30. Field.h:107: error: ‘JNIEnv’ has not been declared
  31. Field.h:107: error: ‘jbyteArray’ has not been declared
  32. Field.h:112: error: ‘jbyteArray’ does not name a type
  33. Field.h: In constructor ‘Field::Field(LinkedBlockAllocator*, int*, int, int)’:
  34. Field.h:53: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  35. Field.h:53: error: ‘jbyte’ was not declared in this scope
  36. Field.h:53: error: expected primary-expression before ‘)’ token
  37. Field.h: In constructor ‘Field::Field(LinkedBlockAllocator*, int*, int)’:
  38. Field.h:57: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
  39. Field.h:59: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  40. Field.h:59: error: ‘jbyte’ was not declared in this scope
  41. Field.h:59: error: expected primary-expression before ‘)’ token
  42. Field.h: In member function ‘void Field::set(int*, int, int)’:
  43. Field.h:92: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  44. Field.h:92: error: ‘jbyte’ was not declared in this scope
  45. Field.h:92: error: expected primary-expression before ‘)’ token
  46. Field.h: In member function ‘void Field::fillIn(int*, int) const’:
  47. Field.h:109: error: request for member ‘SetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  48. Field.h:109: error: ‘jbyte’ was not declared in this scope
  49. Field.h:109: error: expected primary-expression before ‘)’ token
  50. Field.h: At global scope:
  51. Field.h:132: error: expected ‘)’ before ‘*’ token
  52. In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:18:
  53. SubKey.h:78: error: ‘JNIEnv’ has not been declared
  54. SubKey.h:78: error: ‘jbyteArray’ has not been declared
  55. SubKey.h:78: error: ‘jbyteArray’ has not been declared
  56. SubKey.h:78: error: ‘jbyteArray’ has not been declared
  57. SubKey.h:78: error: ‘jlong’ has not been declared
  58. SubKey.h:78: error: ‘jboolean’ has not been declared
  59. In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:18:
  60. SubKey.h: In constructor ‘SubKey::SubKey(LinkedBlockAllocator*, int*, int, int, int, int, int, int32_t)’:
  61. SubKey.h:80: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
  62. SubKey.h:81: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
  63. SubKey.h:82: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
  64. SubKey.h:94: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  65. SubKey.h:94: error: ‘jbyte’ was not declared in this scope
  66. SubKey.h:94: error: expected primary-expression before ‘)’ token
  67. SubKey.h:95: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  68. SubKey.h:95: error: expected primary-expression before ‘)’ token
  69. SubKey.h:96: error: request for member ‘GetByteArrayRegion’ in ‘* env’, which is of non-class type ‘int’
  70. SubKey.h:96: error: expected primary-expression before ‘)’ token
  71. SubKey.h: At global scope:
  72. SubKey.h:185: error: expected ‘)’ before ‘*’ token
  73. In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:20:
  74. NativeMap.h:128: error: expected ‘;’ before ‘(’ token
  75. NativeMap.h:133: error: expected ‘;’ before ‘ColumnMap’
  76. In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:20:
  77. NativeMap.h:151: error: ‘JNIEnv’ has not been declared
  78. NativeMap.h:151: error: ‘jbyteArray’ has not been declared
  79. NativeMap.h:151: error: ‘jbyteArray’ has not been declared
  80. NativeMap.h:151: error: ‘jbyteArray’ has not been declared
  81. NativeMap.h:151: error: ‘jlong’ has not been declared
  82. NativeMap.h:151: error: ‘jboolean’ has not been declared
  83. NativeMap.h:151: error: ‘jbyteArray’ has not been declared
  84. NativeMap.h:151: error: ‘jint’ has not been declared
  85. NativeMap.h: In member function ‘void NativeMap::update(ColumnMap*, int*, int, int, int, int, int, int, int)’:
  86. NativeMap.h:164: error: request for member ‘GetArrayLength’ in ‘* env’, which is of non-class type ‘int’
  87. org_apache_accumulo_server_tabletserver_NativeMap.cc: At global scope:
  88. org_apache_accumulo_server_tabletserver_NativeMap.cc:32: error: ‘JNIEXPORT’ does not name a type
  89. org_apache_accumulo_server_tabletserver_NativeMap.cc:36: error: ‘JNIEXPORT’ does not name a type
  90. org_apache_accumulo_server_tabletserver_NativeMap.cc:41: error: ‘JNIEXPORT’ does not name a type
  91. org_apache_accumulo_server_tabletserver_NativeMap.cc:46: error: expected constructor, destructor, or type conversion before ‘void’
  92. org_apache_accumulo_server_tabletserver_NativeMap.cc:52: error: ‘JNIEXPORT’ does not name a type
  93. org_apache_accumulo_server_tabletserver_NativeMap.cc:61: error: expected constructor, destructor, or type conversion before ‘void’
  94. org_apache_accumulo_server_tabletserver_NativeMap.cc:67: error: ‘JNIEXPORT’ does not name a type
  95. org_apache_accumulo_server_tabletserver_NativeMap.cc:75: error: ‘JNIEXPORT’ does not name a type
  96. org_apache_accumulo_server_tabletserver_NativeMap.cc:92: error: ‘JNIEXPORT’ does not name a type
  97. org_apache_accumulo_server_tabletserver_NativeMap.cc:113: error: ‘JNIEXPORT’ does not name a type
  98. org_apache_accumulo_server_tabletserver_NativeMap.cc:126: error: expected constructor, destructor, or type conversion before ‘void’
  99. make[1]: *** [libNativeMap-Linux-amd64-64.so] Error 1
  100. make[1]: Leaving directory `/usr/local/accumulo-1.4.3-cdh4.3.0-SNAPSHOT/src/server/src/main/c++/nativeMap'
  101. make: *** [nm] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement