Assuming you use meta-java, it seems like what you are looking for is: DEPENDS += "openjdk-6-jdk"
as that at least contains the include, lib and bin directory. - Martin On 10/10/12 08:40, Jaap de Jong wrote: > > On 10/09/2012 07:51 AM, Martin Ertsås wrote: >> As you are using icedtea6, I guess DEPENDS += "icedtea6" should do it. >> >> - Martin > I thought that might do the trick, but... > ERROR: Nothing PROVIDES 'icedtea6' > So I tried > DEPENDS += "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 <[email protected]> >>>> 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... >>> >>> >>> >>> _______________________________________________ >>> Openembedded-devel mailing list >>> [email protected] >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >> >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >> >> > > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
