From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.nedap.com ([213.160.213.85] helo=smtp.nedap.com) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TLErH-0000AJ-Lu for openembedded-devel@lists.openembedded.org; Mon, 08 Oct 2012 17:03:11 +0200 Received: from nvs0066.nedap.local (10.91.8.1) by relaysmtp1.nedap.local (10.1.8.139) with Microsoft SMTP Server id 8.3.83.0; Mon, 8 Oct 2012 16:49:56 +0200 X-TM-IMSS-Message-ID: <29d828fe001885ad@nedap.com> Received: from [10.17.16.14] ([10.17.16.14]) by nedap.com ([10.91.8.1]) with ESMTP (TREND IMSS SMTP Service 7.1) id 29d828fe001885ad ; Mon, 8 Oct 2012 16:50:01 +0200 Message-ID: <5072E813.4020206@nedap.com> Date: Mon, 8 Oct 2012 16:49:55 +0200 From: Jaap de Jong User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: "openembedded-devel@lists.openembedded.org" References: <5072B67D.5040208@nedap.com> In-Reply-To: Subject: Re: jni.h included X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2012 15:03:11 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 10/08/2012 04:05 PM, Khem Raj wrote: > On Mon, Oct 8, 2012 at 4:18 AM, Jaap de Jong wrote: >> Hi All! >> probably a stupid question... my apologies! >> If a source I'm working on #include jni.h what do I need to add in a recipe >> to get it translated? > DEPENDS += "openjdk" or something like that which denotes jdk > Tried DEPENDS += "openjdk" unfortunately errors out with ERROR: Nothing PROVIDES 'openjdk' Tried with DEPENDS += "openjdk-6" but that errors out with fatal error: jni.h: No such file or directory So finally I ended up adding this: CFLAGS += "-I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include -I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include/linux" But that just looks so ugly...