[zeromq-dev] Problem compiling Zyre examples

Renato Samperio mintaka_alnitak at hotmail.com
Wed Jun 26 16:14:25 CEST 2013


Hi,

As a result of our developers meeting at Brussels. I tried to give a shot to Zyre and I have a problem when compiling "examples" from Zyre GitHub. I did the same in an ubuntu Debian GNU/Linux 7.0 and Ubuntu 12.04:

1) Install, compile, run everythin as in script ".travis.yml" from Zyre git. Except libzmq that I guess I had already installed previously from TAR file when I installed ZMQ.

2) Modify header of "listener.c" and "sender.c" with "#include <zre_node.h>" instead of "#include <zre.h>".

As a result I have this error in both files (listerner and sender):
 error: unknown type name ‘zre_interface_t’

Complete error:
http://www.heypasteit.com/clip/0V0Rc


After some more minimal iterations (all give similar results), I compiled using:

$ gcc listener.c -o listener -lzre -lzmq -L/usr/local/include -I/usr/local/lib


The content of my system is:

/usr/local/lib
http://www.heypasteit.com/clip/0V0T


/usr/local/include
http://www.heypasteit.com/clip/0V0V


I can't find the "zre_interface_t" in any of the packages that I compiled and installed. Any feedback is very welcome.

Renato.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130626/cc117f67/attachment.htm>


More information about the zeromq-dev mailing list