* jni.h included
@ 2012-10-08 11:18 Jaap de Jong
2012-10-08 14:05 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Jaap de Jong @ 2012-10-08 11:18 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
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?
Thanks!
Jaap
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: jni.h included
2012-10-08 11:18 jni.h included Jaap de Jong
@ 2012-10-08 14:05 ` Khem Raj
2012-10-08 14:49 ` Jaap de Jong
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2012-10-08 14:05 UTC (permalink / raw)
To: openembedded-devel
On Mon, Oct 8, 2012 at 4:18 AM, Jaap de Jong <jaap.dejong@nedap.com> 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
> Thanks!
> Jaap
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: jni.h included
2012-10-08 14:05 ` Khem Raj
@ 2012-10-08 14:49 ` Jaap de Jong
2012-10-09 5:51 ` Martin Ertsås
0 siblings, 1 reply; 7+ messages in thread
From: Jaap de Jong @ 2012-10-08 14:49 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
On 10/08/2012 04:05 PM, Khem Raj wrote:
> On Mon, Oct 8, 2012 at 4:18 AM, Jaap de Jong <jaap.dejong@nedap.com> 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...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: jni.h included
2012-10-08 14:49 ` Jaap de Jong
@ 2012-10-09 5:51 ` Martin Ertsås
2012-10-10 6:40 ` Jaap de Jong
0 siblings, 1 reply; 7+ messages in thread
From: Martin Ertsås @ 2012-10-09 5:51 UTC (permalink / raw)
To: openembedded-devel
As you are using icedtea6, I guess DEPENDS += "icedtea6" should do it.
- Martin
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 <jaap.dejong@nedap.com>
>> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: jni.h included
2012-10-09 5:51 ` Martin Ertsås
@ 2012-10-10 6:40 ` Jaap de Jong
2012-10-10 6:51 ` Martin Ertsås
0 siblings, 1 reply; 7+ messages in thread
From: Jaap de Jong @ 2012-10-10 6:40 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
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 <jaap.dejong@nedap.com>
>>> 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
>> 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
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: jni.h included
2012-10-10 6:40 ` Jaap de Jong
@ 2012-10-10 6:51 ` Martin Ertsås
2012-10-10 8:59 ` Jaap de Jong
0 siblings, 1 reply; 7+ messages in thread
From: Martin Ertsås @ 2012-10-10 6:51 UTC (permalink / raw)
To: openembedded-devel
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 <jaap.dejong@nedap.com>
>>>> 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
>>> 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
>>
>>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: jni.h included
2012-10-10 6:51 ` Martin Ertsås
@ 2012-10-10 8:59 ` Jaap de Jong
0 siblings, 0 replies; 7+ messages in thread
From: Jaap de Jong @ 2012-10-10 8:59 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
On 10/10/2012 08:51 AM, Martin Ertsås wrote:
> 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
It just looks so simple... but does not work: jni.h not found
For now I will stay with changing CFLAGS; ugly, but works!
Thanks all for the support!
>
> 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 <jaap.dejong@nedap.com>
>>>>> 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
>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-10-10 9:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-08 11:18 jni.h included Jaap de Jong
2012-10-08 14:05 ` Khem Raj
2012-10-08 14:49 ` Jaap de Jong
2012-10-09 5:51 ` Martin Ertsås
2012-10-10 6:40 ` Jaap de Jong
2012-10-10 6:51 ` Martin Ertsås
2012-10-10 8:59 ` Jaap de Jong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.