Fix goby compilation with ZMQ 3.X and newer (was: zmq_recv seems to have changed api)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Goby |
Fix Released
|
High
|
toby schneider |
Bug Description
on Arch Linux:
rc = zmq_recv (poll_items_
in zeromq_
it seems that http://
old behaviour: http://
diff --git a/src/common/
index 0b160d0..497cf6c 100644
--- a/src/common/
+++ b/src/common/
@@ -386,7 +386,7 @@ bool goby::common:
}
/* Block until a message is available to be received from socket */
- rc = zmq_recv (poll_items_
+ rc = zmq_msg_recv (&part, poll_items_
Related branches
summary: |
- zmq_recv seems to have changed api + Fix goby compilation with ZMQ 3.X and newer (was: zmq_recv seems to have + changed api) |
Changed in goby: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in goby: | |
status: | Fix Committed → Fix Released |
Looks like this change occurred between ZMQ 2.X and 3.X. Definitely past time to get Goby compiling correctly with ZMQ 3.X and newer. It appears in Ubuntu the 2.X package is "libzmq-dev" and the 3.X and newer package is "libzmq3-dev".
I changed the title to reflect the underlying problem. I also want to make sure it builds correctly with 2.X still, as well, so this will be a little more work than your patch above.