-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix build #35
Fix build #35
Conversation
RE: ZMQ_STREAM_NOTIFY, not true, it was just that they broke it for a small time, see: zeromq/libzmq#1316 wow new gcc care about brackets like that, that seems ridiculous... we cant require pthread without checking for it in configure and setting up some variables to hold it. so ill see about making and testing these fixes possibly this weekend. |
On Fri, Dec 11, 2015 at 1:22 PM, Kevin Kreiser notifications@github.com
It's broken in 4.1.3 which is the latest stable version |
so i fired up a vm with ubuntu 15.10. installed gcc 5.2. if you use the libzmq package that comes with the system as the readme suggests everything compiles without issue. ill try getting 4.1.3 and confirming that its broken, because i definitely like the way you checked if ZMQ_STREAM_NOTIFY is defined or not instead of the version checking. i cannot reproduce the pthread stuff or the stuff with brackets. with respect to the latter i cant see how any compiler would ever make that illegal since its been standard syntax for decades.. the pthread stuff i have heard from others before but couldnt make it happen. it seems that some systems automatically link it if needed? what os are you doing this on? to solve the pthread stuff once and for all it would be nice to detect it with AX_ macros and have variables set to use in the Makefile.am instead of hardcoding it. |
Sorry it's me forgetting update the submodules. I was using the submodule I'm using Arch Linux and here are the packages shipped with the system:
|
hey @ptpt, i've resolved 2 of the 3 things in this pr via other issues. specifically I've fixed up the use of do you mind if i convert this pr into an issue stating that some os's require you to add |
Sure @kevinkreiser |
ZMQ_STREAM_NOTIFY
actually is avaliable since zeromq 4.2. See http://lists.zeromq.org/pipermail/zeromq-dev/2015-September/029619.html-lpthread
seems to be required