On Tue, Jul 12, 2011 at 3:29 PM, Zsbán Ambrus <[email protected]> wrote: > On Tue, Jul 12, 2011 at 9:35 AM, ahmad faya <[email protected]> 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 > _______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
