[zeromq-dev] Problem compiling Zyre examples
Pieter Hintjens
ph at imatix.com
Thu Jun 27 19:44:31 CEST 2013
Hi Renato,
The examples are out of date. We renamed zre_interface to zre_node at
some point for clarity but forgot to fix these.
I've fixed them and made a pull request: https://github.com/zeromq/zyre/pull/99
-Pieter
On Wed, Jun 26, 2013 at 4:14 PM, Renato Samperio
<mintaka_alnitak at hotmail.com> wrote:
> 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.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list