libev compile on AIX
Tamás Gulácsi
gt-dev at gthomas.homelinux.org
Wed May 19 14:00:22 CEST 2010
Hi,
I'm sorry, I've had read this (eliminate poll or use SVN) on the
mailing list, but as I downloaded both the SVN and the 3.9 version, it
mixed a little bit.
So eventually with the 3.9 "configuration" script and the SVN's .h, .c
files I could compile libev on AIX 5.3 (some tweaking needed:
1. configure failed with CC=xlc_r - had to use gcc and edit the
resulting Makefile
2. libtool failed linking 64bit: "ar" needed -X64 option - after
editing libtool AR_FLAGS, it worked
).
Thanks again, now I have a working libev, fapws3 on AIX.
Tamás Gulácsi
2010/5/18 Marc Lehmann <schmorp at schmorp.de>:
> On Tue, May 18, 2010 at 07:11:29PM +0200, Tamás Gulácsi <gt-dev at gthomas.homelinux.org> wrote:
>> I'm trying to compile libev on AIX 5.3 with limited GNU (gcc) toolset.
>
> You might want to try the cvs version, with disables the poll backend on
> AIX (where it doesn't compile due to broken headers).
>
> Alternatively, add "#define EV_USE_POLL 0" at the top of ev.h
>
>> b) fixing libev compilation on AIX
>
> Or fix your poll header to use posix names for structure members.
>
> --
> The choice of a Deliantra, the free code+content MORPG
> -----==- _GNU_ http://www.deliantra.net
> ----==-- _ generation
> ---==---(_)__ __ ____ __ Marc Lehmann
> --==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
> -=====/_/_//_/\_,_/ /_/\_\
>
More information about the libev
mailing list