alfianrahmn / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

Xuggler build fails on Ubuntu 8 against IcedTea #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Error:

[exec] Ferry.cpp: In function â__jbyteArray*
com_xuggle_ferry_IBuffer_getByteArray(com::xuggle::ferry::IBuffer*,
int32_t, i                              nt32_t)â:
[exec] Ferry.cpp:280: error: invalid conversion from âconst jbyte*â to
âjbyte*â
[exec] Ferry.cpp:280: error:   initializing argument 4 of âvoid
_Jv_JNIEnv::SetByteArrayRegion(__jbyteArray*, jsize,
jsize,                               jbyte*)â
[exec] make[5]: Leaving directory `/home/martin/xuggle-xuggler/build/
native/i686-pc-linux-gnu/csrc/com/xuggle/ferry'
[exec] make[5]: *** [Ferry.lo] Error 1

java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)
OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode)

Appears to be because IcedTea6's JNI implementation incorrectly defines
SetByteArrayRegion

Original issue reported on code.google.com by art.cla...@gmail.com on 2 Jun 2009 at 7:24

GoogleCodeExporter commented 8 years ago
Potentially addressed in r631 (candidate for Xuggler 2.1).  Please check it out 
and
let me know if it addresses the problem.

Original comment by art.cla...@gmail.com on 2 Jun 2009 at 7:26

GoogleCodeExporter commented 8 years ago
Marking as fixed since no one has said otherwise.

Original comment by art.cla...@gmail.com on 16 Jun 2009 at 6:36