[Libevent-users] compile patches for non-gcc
Niels Provos
provos at citi.umich.edu
Mon Jul 30 20:25:57 EDT 2007
Hi Jan,
I submitted almost all of these patches. The monotonic one had been
fixed already by Scott Lamb and the have-select diff was not quite
correct. So, I submitted something else.
Please, let me know if this works for you now.
Thank you,
Niels.
On 7/2/07, Jan Kneschke <jan at kneschke.de> wrote:
> Niels Provos wrote:
> > Any chance to take a look at your patches vs trunk?
>
> Hi Niels,
>
> I checked the patches against trunk and a few issues are already fixed.
>
> * inline vs __inline
> * libresolv on solaris
>
> It comes down to at least these patches:
>
> aix-monotonic
> AIX has clock_gettime(), but only if you #define _XOPEN_SOURCE >= 500.
> Without it, the defines are invisible which leads to a compile error.
> Checking if the defines are available fixes it.
>
> have-select
> sys/select.h is needed for the NFDBITS
>
> have-config
> config.h is needed to get defines right.
>
> c99-vars
> in pre-c99 variables have to be defined before code. This affects the
> compile in gcc-2.95.
>
> c99-comments
> // comments are available in C99 and GCC 3+ only.
>
> cflags
> Setting CFLAGS directly breaks the passing of -m64, -xarch=v9, ...
> from the command line to get a 64bit compile. Use AM_CFLAGS instead.
>
> > Thanks,
> > Niels.
> >
>
> cheers,
> Jan
> --
> jan: "Gee, Brain^WEric, what'd you wanna do tonight?"
> eric: Same thing we do everynight: Take over the HelloWorld!
>
>
More information about the Libevent-users
mailing list