Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed with zeromq master branch #40

Closed
imxiaobo opened this issue Apr 25, 2011 · 2 comments
Closed

build failed with zeromq master branch #40

imxiaobo opened this issue Apr 25, 2011 · 2 comments

Comments

@imxiaobo
Copy link

Socket.cpp:108: error: ‘ZMQ_HWM’ was not declared in this scope
Socket.cpp:109: error: ‘ZMQ_SWAP’ was not declared in this scope
Socket.cpp:113: error: ‘ZMQ_MCAST_LOOP’ was not declared in this scope
Socket.cpp: In function ‘void Java_org_zeromq_ZMQ_00024Socket_setLongSockopt(JNIEnv_, jobject, jint, jlong)’:
Socket.cpp:190: error: ‘ZMQ_HWM’ was not declared in this scope
Socket.cpp:191: error: ‘ZMQ_SWAP’ was not declared in this scope
Socket.cpp:195: error: ‘ZMQ_MCAST_LOOP’ was not declared in this scope
/Users/xiaobo/Documents/Projects/compute/External/JavaZMQ/../../usr/include/zmq.h: In function ‘jboolean Java_org_zeromq_ZMQ_00024Socket_send(JNIEnv_, jobject, jbyteArray, jint)’:
/Users/xiaobo/Documents/Projects/compute/External/JavaZMQ/../../usr/include/zmq.h:222: error: too few arguments to function ‘int zmq_send(void_, const void_, size_t, int)’
Socket.cpp:356: error: at this point in file
/Users/xiaobo/Documents/Projects/compute/External/JavaZMQ/../../usr/include/zmq.h: In function ‘jbyteArray Java_org_zeromq_ZMQ_00024Socket_recv(JNIEnv_, jobject, jint)’:
/Users/xiaobo/Documents/Projects/compute/External/JavaZMQ/../../usr/include/zmq.h:223: error: too few arguments to function ‘int zmq_recv(void_, void_, size_t, int)’
Socket.cpp:407: error: at this point in file
make[2]: *** [libjzmq_la-Socket.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

@gonzus
Copy link
Contributor

gonzus commented Apr 26, 2011

I am an ass. I did not realize you had offered a pull request, and went ahead on my own and fixed all compilation problems with 3.0. Please review my changes and let me know if anything is missing. And thanks for helping out!

@imxiaobo
Copy link
Author

great job, it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants