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

Pieter Hintjens ph at imatix.com
Fri Nov 8 09:55:38 CET 2013


Are you running ./configure?

On Fri, Nov 8, 2013 at 6:18 AM, Gerhard Martin <galeomaga at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
-
Pieter Hintjens
CEO of iMatix.com
Founder of ZeroMQ community
blog: http://hintjens.com



More information about the zeromq-dev mailing list