[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] Problem compiling Zyre examples
From:       Pieter Hintjens <ph () imatix ! com>
Date:       2013-06-27 17:44:31
Message-ID: CADL5_shB18Bjg8h74skzBDq32pdkBTwZ0ZXn8F2HhVZtVRPctA () mail ! gmail ! com
[Download RAW message or body]

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/pul=
l/99

-Pieter

On Wed, Jun 26, 2013 at 4:14 PM, Renato Samperio
<mintaka_alnitak@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 d=
id
> 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 g=
it.
> Except libzmq that I guess I had already installed previously from TAR fi=
le
> 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 =91zre_interface_t=92
>
> 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@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic