can't compile example
ahmad faya
ahmad.faya at gmail.com
Tue Jul 12 10:40:26 CEST 2011
On Tue, Jul 12, 2011 at 3:29 PM, Zsbán Ambrus <ambrus at math.bme.hu> wrote:
> On Tue, Jul 12, 2011 at 9:35 AM, ahmad faya <ahmad.faya at gmail.com> wrote:
>> I have tried to compile the libev example
>> http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#EXAMPLE_PROGRAM
>>
>> libev_ex.c: In function ‘stdin_cb’:
>> libev_ex.c:21: error: ‘EVBREAK_ALL’ undeclared (first use in this function)
>>
>> I use ubuntu 10.04 and have installed libev3 and libev-dev packages.
>
> You are using a too old version of libev. The EVBREAK_ALL macro is
> introduced in libev version 4.0.
Thanks Ambrus,
Which version that is recommended to use in production?
I'm asking this because debian 6 still shipped libev3, and debian
developer known as only provide stable & proven package.
Thanks
>
> Try doing one of the following:
>
> * Install a newer version of libev, preferably the latest stable version (4.04).
>
> * Use the example program from an older version of the manual, such as
> "http://cvs.schmorp.de/libev/ev.pod?revision=1.278&view=markup&pathrev=rel-3_9".
>
> Ambrus
>
More information about the libev
mailing list