Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 8603 invoked from network); 24 Feb 2008 11:52:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2008 11:52:48 -0000 Received: (qmail 17750 invoked by uid 500); 24 Feb 2008 11:52:42 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 17722 invoked by uid 500); 24 Feb 2008 11:52:42 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 17712 invoked by uid 99); 24 Feb 2008 11:52:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2008 03:52:42 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ahmad.humyn@gmail.com designates 64.233.184.232 as permitted sender) Received: from [64.233.184.232] (HELO wr-out-0506.google.com) (64.233.184.232) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2008 11:52:08 +0000 Received: by wr-out-0506.google.com with SMTP id c57so1803347wra.9 for ; Sun, 24 Feb 2008 03:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=tyu3ndKx3f0d/05JurW5aHYxjIz/ivVBhOvNZQ2McNU=; b=D//62oKfWLslUrHv23DayfBHpVcaMYb51FW8TllKHX61s/FKXHVw8iVgx1uFDFu4DW5UZEyPmiKRHJm1rO2sK4nWyxqTSu6NKkONtkyvCCCicq1xxJ214pWB5X0efIDt44+5dtJNp+UPvS0B3JaN3832Rq4++axr7seyWDYDs1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=t6xaXIRo8T5UMOn9ZCiHH6jaOsHe4vYIbUpn+nH9bgUyhEiyLCuYkIu6iY8iinoE0mJApH9Mtaj9KK850HPnRv4qfaieAajoDTMdELG1b4c/WzUmTvwSXwvmJjw1bz1ejaFMEi/GenmWBYQcC6vGSNF1b5b4gbIbY5wun3dnDOc= Received: by 10.141.122.20 with SMTP id z20mr1019068rvm.239.1203853936450; Sun, 24 Feb 2008 03:52:16 -0800 (PST) Received: by 10.141.122.13 with HTTP; Sun, 24 Feb 2008 03:52:16 -0800 (PST) Message-ID: <96d3bba10802240352w3ac6e1a1oede3c8527c86c717@mail.gmail.com> Date: Sun, 24 Feb 2008 16:52:16 +0500 From: "Ahmad Humayun" To: core-dev@hadoop.apache.org Subject: libhdfs compilation MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9716_29567721.1203853936440" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9716_29567721.1203853936440 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello there, Whenever I try to build libhdfs (by simply running 'make' at /src/c++/libhdfs/), I get this output: ///////////////////////////////////////////////////////////////////////////= ////////////////// gcc -g -Wall -O2 -fPIC -m32 -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/ -c hdfs.c -o /hdfs.o In file included from hdfs.h:33, from hdfs.c:19: /usr/lib/jvm/java/include/jni.h:39: error: conflicting types for =E2=80=98jboolean=E2=80=99 /usr/lib/gcc/i586-suse-linux/4.1.2/include/jni_md.h:84: error: previous declaration of =E2=80=98jboolean=E2=80=99 was here make: *** [/hdfs.o] Error 1 ///////////////////////////////////////////////////////////////////////////= ////////////////// I can also see that the Makefile gives these comments. # Note: This makefile depends on 4 environment variables to funtion correctly: # a) JAVA_HOME # b) OS_NAME # c) OS_ARCH # d) LIBHDFS_BUILD_DIR # All these are passed by build.xml. # But at the moment I'm more concerned about the jboolean errors for jni. Can somebody specify how to build libhdfs by passing the build.xml. Will it solve the jboolean conflict error. I'm sorry, a lot of these questions migh= t seem stupid...but please it will be great if someone can help me here. regards, --=20 Ahmad Humayun Research Assistant Computer Science Dpt., LUMS +92 321 4457315 ------=_Part_9716_29567721.1203853936440--