zeromq/jzmq — Issue #81: Make error with g++ compler:  invalid conversion from 'const jbyte*' to 'jbyte*'
Author: loretoparisi
Created: 2011-10-19 21:45:41+00:00
State: open

libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/lib/jvm/java-1.6.0-ibm/include -I/usr/lib/jvm/java-1.6.0-ibm/include/linux -Wall -g -O2 -MT libjzmq_la-Socket.lo -MD -MP -MF .deps/libjzmq_la-Socket.Tpo -c Socket.cpp -fPIC -DPIC -o .libs/libjzmq_la-Socket.o
Socket.cpp: In function '_jbyteArray* Java_org_zeromq_ZMQ_00024Socket_getBytesSockopt(JNIEnv*, _jobject*, jint)':
Socket.cpp:182: error: invalid conversion from 'const jbyte*' to 'jbyte*'
Socket.cpp:182: error: initializing argument 4 of 'void JNIEnv_::SetByteArrayRegion(_jbyteArray*, jsize, jsize, jbyte*)'
make[2]: *** [libjzmq_la-Socket.lo] Error 1
make[2]: Leaving directory `/root/binaries/jzmq/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/binaries/jzmq/src'
make: *** [all-recursive] Error 1