[zeromq-dev] zsockopt.c:1626:34: error: 'ZMQ_STREAM' undeclared

Gerhard Martin galeomaga at gmail.com
Fri Nov 8 06:18:48 CET 2013


as i try with libzmq and g++ has error when include "zmq.hpp" then i try 
czmq
i follow http://czmq.zeromq.org/page:get-the-software

sudo make , has error

. -I../include  -pedantic -Werror -Wall -D_GNU_SOURCE -DLINUX -D_REENTRANT 
-D_THREAD_SAFE  -g -g -O2 -MT zsockopt.lo -MD -MP -MF .deps/zsockopt.Tpo -c 
-o zsockopt.lo zsockopt.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include 
-pedantic -Werror -Wall -D_GNU_SOURCE -DLINUX -D_REENTRANT -D_THREAD_SAFE 
-g -g -O2 -MT zsockopt.lo -MD -MP -MF .deps/zsockopt.Tpo -c zsockopt.c  
-fPIC -DPIC -o .libs/zsockopt.o
zsockopt.c: In function 'zsocket_set_identity':
zsockopt.c:1626:34: error: 'ZMQ_STREAM' undeclared (first use in this 
function)
zsockopt.c:1626:34: note: each undeclared identifier is reported only once 
for each function it appears in
make[2]: *** [zsockopt.lo] Error 1
make[2]: Leaving directory `/home/martin/Downloads/czmq-2.0.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/martin/Downloads/czmq-2.0.2/src'
make: *** [all-recursive] Error 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131107/458401b8/attachment.html>


More information about the zeromq-dev mailing list