[zeromq-dev] How to compile a C or C++ program written using ZMQ
Diffuser78
diffuser78 at gmail.com
Wed Jun 20 19:24:52 CEST 2012
It says the following:
"undefined reference to `zmq_msg_init'"
"undefined reference to `zmq_recv'"
"undefined reference to `zmq_getsockopt'"
--Darshan
On Wed, Jun 20, 2012 at 10:09 AM, Nadav Samet <thesamet at gmail.com> wrote:
> Can you explain "does not work"? Are you getting any output from gcc?
>
> On Wed, Jun 20, 2012 at 9:48 AM, Diffuser78 <diffuser78 at gmail.com> wrote:
>
>> Hi,
>>
>> I am a newbie so pardon my ignorance. I wrote very simple client and
>> server program using zmq by looking the guide.
>>
>> There are no instructions to compile and run the same. I have tried the
>> following, but it does not work. I downloaded the tar ball, built it using
>> the instructions given on the website. Please help. I want to run a simple
>> Hello World program using zmq.
>>
>> gcc -Wall clienttest.c -lzmq
>>
>>
>> Thanks.
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
>
> --
> -Nadav
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120620/1e976c16/attachment.htm>
More information about the zeromq-dev
mailing list