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 1TLqAS-000101-MV for openembedded-devel@lists.openembedded.org; Wed, 10 Oct 2012 08:53:20 +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; Wed, 10 Oct 2012 08:40:11 +0200 X-TM-IMSS-Message-ID: <326473c10018dee0@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 326473c10018dee0 ; Wed, 10 Oct 2012 08:40:13 +0200 Message-ID: <50751849.9070501@nedap.com> Date: Wed, 10 Oct 2012 08:40:09 +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> <5072E813.4020206@nedap.com> <5073BB64.3010802@cisco.com> In-Reply-To: <5073BB64.3010802@cisco.com> 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: Wed, 10 Oct 2012 06:53:21 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable On 10/09/2012 07:51 AM, Martin Erts=E5s wrote: > As you are using icedtea6, I guess DEPENDS +=3D "icedtea6" should do it. > > - Martin I thought that might do the trick, but... ERROR: Nothing PROVIDES 'icedtea6' So I tried DEPENDS +=3D "icedtea6-native" and that ends with jni.h: No such file or directory Any other ideas? > On 10/08/12 16:49, Jaap de Jong wrote: >> 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 +=3D "openjdk" or something like that which denotes jdk >>> >> Tried >> DEPENDS +=3D "openjdk" >> unfortunately errors out with >> ERROR: Nothing PROVIDES 'openjdk' >> >> Tried with >> DEPENDS +=3D "openjdk-6" >> but that errors out with >> fatal error: jni.h: No such file or directory >> >> So finally I ended up adding this: >> CFLAGS +=3D "-I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include >> -I${STAGING_LIBDIR_NATIVE}/jvm/icedtea6-native/include/linux" >> But that just looks so ugly... >> >> >> >> _______________________________________________ >> Openembedded-devel mailing list >> Openembedded-devel@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > >