[vbox-dev] error: jni.h: no such file or directory on svn build 31035

Antonio Doldo antonio.doldo at gmail.com
Fri Jul 23 10:02:16 GMT 2010


  Il 23/07/2010 11:30, Frank Mehnert ha scritto:
> Antonio,
>
> On Friday 23 July 2010, Antonio Doldo wrote:
>>    Hi all,
>> from yesterday the last svn don't build for me on debian/ubuntu, anyone
>> can confirm this?
>> I receive an error on missing file 'jni.h':
>>
>> /home/adoldo/PPA/vbox/src/libs/xpcom18a4/python/src/VariantUtils.cpp: In
>> member function ‘PRBool PyXPCOM_InterfaceVariantHelper::Init(PyObject*)’:
>> /home/adoldo/PPA/vbox/src/libs/xpcom18a4/python/src/VariantUtils.cpp:1117:
>> warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has
>> type ‘Py_ssize_t’ [-Wformat]
>> In file included from
>> /home/adoldo/PPA/vbox/src/libs/xpcom18a4/java/src/nsAppFileLocProviderProxy
>> .cpp:38:
>> /home/adoldo/PPA/vbox/src/libs/xpcom18a4/java/src/nsAppFileLocProviderProxy
>> .h:42:17: error: jni.h: Nessun file o directory
> Either install jdk 1.6 or run ./configure --disable-java
>
> Kind regards,
>
> Frank
Thanks Frank,
I confirm that installing jdk 1.6 (SUN build 1.6.0_20-b02) the svn 31036 
build successfully.

Great work!
Best regards,
Antonio





More information about the vbox-dev mailing list