zeromq / majordomo

Majordomo Project
Mozilla Public License 2.0
114 stars 52 forks source link

libmdp does not build against current stable øMQ and CZMQ #48

Open litch opened 10 years ago

litch commented 10 years ago

I just spent a few hours trying to build this against øMQ 4.0.4 and CZMQ 2.1.0 (current stable) to no avail. I did get it to build against øMQ 3.2.4 / CZMQ 2.0.3.

The backtrace I was getting is:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include  -pedantic -Werror -Wall -Wno-unused -D_GNU_SOURCE -DLINUX -D_REENTRANT -D_THREAD_SAFE   -I/usr/local/include -MT engine.o -MD -MP -MF .deps/engine.Tpo -c -o engine.o engine.c
engine.c: In function 's_order_update':
engine.c:55:5: error: too many arguments to function 'zmsg_pushstr'
/usr/local/include/zmsg.h:102:5: note: declared here
make[2]: *** [engine.o] Error 1
make[2]: Leaving directory `/majordomo/libmdp/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/majordomo/libmdp/src'
make: *** [all-recursive] Error 1

Build was happening on ubuntu 12.0.4.

Maybe I'll take a look at it, but I'm not too familiar with this.

hintjens commented 10 years ago

I'll fix this... there were some CZMQ api changes, for security.

litch commented 10 years ago

Thank you @hintjens, I really appreciate it. I'm really impressed by iMatix and this whole system!