Compiling failed on somehting related to zeromq: src/task/fd.c: In function ‘fdtask’: src/task/fd.c:96: warning: unused parameter ‘v’ src/task/fd.c: In function ‘mqrecv’: src/task/fd.c:281: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this function) src/task/fd.c:281: error: (Each undeclared identifier is reported only once src/task/fd.c:281: error: for each function it appears in.) src/task/fd.c:281: error: too few arguments to function ‘zmq_recv’ src/task/fd.c:289: error: too few arguments to function ‘zmq_recv’ src/task/fd.c: In function ‘mqsend’: src/task/fd.c:300: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this function) src/task/fd.c:300: error: too few arguments to function ‘zmq_send’ src/task/fd.c:308: error: too few arguments to function ‘zmq_send’ make: *** [src/task/fd.o] Error 1 (I think) is there a way I can test my install of zero mq to make sure it is happy? Thank you. Matt
2012/1/19 Matt Hippely <hippely@gmail.com>: > Compiling failed on somehting related to zeromq: > > src/task/fd.c: In function ‘fdtask’: > src/task/fd.c:96: warning: unused parameter ‘v’ > src/task/fd.c: In function ‘mqrecv’: > src/task/fd.c:281: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this > function) > src/task/fd.c:281: error: (Each undeclared identifier is reported only once > src/task/fd.c:281: error: for each function it appears in.) > src/task/fd.c:281: error: too few arguments to function ‘zmq_recv’ > src/task/fd.c:289: error: too few arguments to function ‘zmq_recv’ > src/task/fd.c: In function ‘mqsend’: > src/task/fd.c:300: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this > function) > src/task/fd.c:300: error: too few arguments to function ‘zmq_send’ > src/task/fd.c:308: error: too few arguments to function ‘zmq_send’ > make: *** [src/task/fd.o] Error 1 > > (I think) is there a way I can test my install of zero mq to make sure it is > happy? > What version of zeromq do you have installed? Here (Gentoo Linux) I have 2.1.4 and the zmq.h header file does declares this: daltonmatos@jetta ~ [7]$ grep ZMQ_NOBLOCK /usr/include/zmq.h #define ZMQ_NOBLOCK 1 daltonmatos@jetta ~ [8]$ -- Dalton Barreto http://daltonmatos.com
Hmm, I am missing zmg.h. I'll re-install and see if that fixes things. Thanks for the pointer. On Thu, Jan 19, 2012 at 4:57 PM, Dalton Barreto <daltonmatos@gmail.com>wrote: > 2012/1/19 Matt Hippely <hippely@gmail.com>: > > Compiling failed on somehting related to zeromq: > > > > src/task/fd.c: In function ‘fdtask’: > > src/task/fd.c:96: warning: unused parameter ‘v’ > > src/task/fd.c: In function ‘mqrecv’: > > src/task/fd.c:281: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this > > function) > > src/task/fd.c:281: error: (Each undeclared identifier is reported only > once > > src/task/fd.c:281: error: for each function it appears in.) > > src/task/fd.c:281: error: too few arguments to function ‘zmq_recv’ > > src/task/fd.c:289: error: too few arguments to function ‘zmq_recv’ > > src/task/fd.c: In function ‘mqsend’: > > src/task/fd.c:300: error: ‘ZMQ_NOBLOCK’ undeclared (first use in this > > function) > > src/task/fd.c:300: error: too few arguments to function ‘zmq_send’ > > src/task/fd.c:308: error: too few arguments to function ‘zmq_send’ > > make: *** [src/task/fd.o] Error 1 > > > > (I think) is there a way I can test my install of zero mq to make sure > it is > > happy? > > > > What version of zeromq do you have installed? Here (Gentoo Linux) I > have 2.1.4 and the zmq.h header > file does declares this: > > daltonmatos@jetta ~ [7]$ grep ZMQ_NOBLOCK /usr/include/zmq.h > #define ZMQ_NOBLOCK 1 > daltonmatos@jetta ~ [8]$ > > > -- > Dalton Barreto > http://daltonmatos.com >