jzmq icon indicating copy to clipboard operation
jzmq copied to clipboard

Build Error under zeromq-4.0.4

Open Fahv opened this issue 10 years ago • 2 comments

Could not get jzmq to build with zeromq-4.0.4 reverting to 3.2.4 worked fine.

I am running Linux Mint 64-bit. I no longer have access to error but I could attempt to get it again in a vm if needed.

Fahv avatar Apr 29 '14 01:04 Fahv

I can't build it against 4.1.0 with the error

Event.cpp: In function '_jobject* Java_org_zeromq_ZMQ_00024Event_recv(JNIEnv*, jclass, jlong, jint)':
Event.cpp:60:5: error: 'zmq_event_t' was not declared in this scope
Event.cpp:60:17: error: expected ';' before 'event'
Event.cpp:72:13: error: 'event' was not declared in this scope
Event.cpp:148:1: warning: control reaches end of non-void function [-Wreturn-type]

git bisect says 52e662103484ad6023021d93686b90e01bda23db is the first bad commit

tom-kuca avatar Jul 22 '14 16:07 tom-kuca

The error seen by Fahv cannot be the same the one seen by tom-kuca as the 4.1.0 error stem from one of the breaking changes of libzmq listed in http://zeromq.org/docs:4-1-upgrade

The zmq_event_t struct is gone since 4.1

ealgell avatar Jul 25 '14 22:07 ealgell