emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: AIX 5.2 loadup failure for 22.0.90 pretest


From: Chong Yidong
Subject: Re: [PATCH] Re: AIX 5.2 loadup failure for 22.0.90 pretest
Date: Mon, 27 Nov 2006 14:59:15 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Joe Buehler <address@hidden> writes:

> Here's the fix.  The problem is that the opsys file for aix 3.1
> defines _NO_PROTO.  This causes the proper prototype to be thrown
> away for lseek64, causing compiled LISP files to not load correctly.
>
> cat >src/s/aix5-2.h <<\!
> #include "aix4-2.h"
>
> #undef _NO_PROTO
> !

Thanks for tracking this down.  I'm assuming that you are using the
AIX compiler, since aix4-1.h actually contains

#ifdef __GNUC__
#undef _NO_PROTO
#endif

I assume this is because older versions of the AIX compiler does not
handler function prototypes; and, conversely, that the AIX 5.2
compiler does.  Do you know if function prototypes is new (!) to AIX
5.2?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]