can't compile example
Zsbán Ambrus
ambrus at math.bme.hu
Tue Jul 12 10:29:25 CEST 2011
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.
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