zeromq / jzmq

Java binding for ZeroMQ
http://www.zeromq.org
GNU General Public License v3.0
590 stars 363 forks source link

Build Error under zeromq-4.0.4 #315

Open Fahv opened 10 years ago

Fahv commented 10 years ago

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.

tom-kuca commented 10 years ago

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

ealgell commented 10 years ago

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