accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <>
Subject Compiling Native Map - jni.h: No such file or directory
Date Fri, 16 Nov 2012 17:50:16 GMT
My C++ compilation skills are antiquated so I can't help much to debug
this issue. I did a fast web search but did not see anything relevant.
The compilation was working in the past. I am using Ubuntu.

$ cd /usr/local/accumulo-1.5.0-SNAPSHOT/server/src/main/c++
$ make
cd nativeMap ; make
make[1]: Entering directory
mkdir -p ../../../../../lib/native/map
g++ -g -fPIC -shared -O2 -fno-omit-frame-pointer -fno-strict-aliasing
-Wall -I/include/linux -I/include -m32 -o
In file included from
org_apache_accumulo_server_tabletserver_NativeMap.h:18:17: fatal
error: jni.h: No such file or directory
compilation terminated. In function ‘size_t getMemUsage()’: warning: ignoring return value of ‘int fscanf(FILE*,
const char*, ...)’, declared with attribute warn_unused_result
make[1]: *** [] Error 1
make[1]: Leaving directory
make: *** [nm] Error 2

View raw message