Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 028BEDFC3 for ; Fri, 16 Nov 2012 17:50:43 +0000 (UTC) Received: (qmail 73022 invoked by uid 500); 16 Nov 2012 17:50:42 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 72991 invoked by uid 500); 16 Nov 2012 17:50:42 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 72981 invoked by uid 99); 16 Nov 2012 17:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 17:50:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.medinets@gmail.com designates 209.85.220.169 as permitted sender) Received: from [209.85.220.169] (HELO mail-vc0-f169.google.com) (209.85.220.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 17:50:37 +0000 Received: by mail-vc0-f169.google.com with SMTP id fl17so3697004vcb.0 for ; Fri, 16 Nov 2012 09:50:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=wMjyAwSSGqLgdBKyCd3m6UwWVbpolB/xbH7ocBNo/fQ=; b=jKSkQXxCkeTFe510yJFkzHdCAz3QyUyDjm5Upqp6F29Uz9J5Pj1h4z3HAJpTEtIxfN 8/eYFB0dmHQ/YTtCalJyw9SK6uDKpphjBhOLBjZa/Kqg6KUIYdJMhz+W2oszLUCLPGEC u3akexKsNn+ODhHtI9k5ThNDa1izBu/hgWaiNTinHbH17U6LGbs03ts6QG4K+TzMYs6V oaqfC0Tajuf/dwXouhIR3yVZwbX06I1dMc6/fBFvMUwUnTZifdrgusFqWgvuscUZSCga nNXtVdzxZdf/yRTE3k1NFvIbZHeud5FMJ80EzocsmQe7B+9i91LIxsTe9+Rf2dmX9jWp PqzQ== MIME-Version: 1.0 Received: by 10.52.26.81 with SMTP id j17mr6989301vdg.63.1353088216785; Fri, 16 Nov 2012 09:50:16 -0800 (PST) Received: by 10.52.23.106 with HTTP; Fri, 16 Nov 2012 09:50:16 -0800 (PST) Date: Fri, 16 Nov 2012 12:50:16 -0500 Message-ID: Subject: Compiling Native Map - jni.h: No such file or directory From: David Medinets To: accumulo-dev Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 `/usr/local/accumulo-1.5.0-SNAPSHOT/server/src/main/c++/nativeMap' 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 libNativeMap-Linux-i386-32.so org_apache_accumulo_server_tabletserver_NativeMap.cc util.cc In file included from org_apache_accumulo_server_tabletserver_NativeMap.cc:= 17:0: org_apache_accumulo_server_tabletserver_NativeMap.h:18:17: fatal error: jni.h: No such file or directory compilation terminated. util.cc: In function =91size_t getMemUsage()=92: util.cc:35:30: warning: ignoring return value of =91int fscanf(FILE*, const char*, ...)=92, declared with attribute warn_unused_result [-Wunused-result] make[1]: *** [libNativeMap-Linux-i386-32.so] Error 1 make[1]: Leaving directory `/usr/local/accumulo-1.5.0-SNAPSHOT/server/src/main/c++/nativeMap' make: *** [nm] Error 2