bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#10677: [Chris Leyon] Re: bug#10677: 24.0.93; missing pathmax.h on So


From: Chong Yidong
Subject: bug#10677: [Chris Leyon] Re: bug#10677: 24.0.93; missing pathmax.h on Solaris
Date: Thu, 02 Feb 2012 09:49:41 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

--- Begin Message --- Subject: Re: bug#10677: 24.0.93; missing pathmax.h on Solaris Date: Wed, 1 Feb 2012 10:43:00 -0500
On Wed, Feb 1, 2012 at 03:18, Chong Yidong <cyd@gnu.org> wrote:
> Hi Chris,
>
> Could you try the following patch (from Paul Eggert) and see if it fixes
> your problem?  Please let me know whether it works or not.
>
> (You need to run autoconf again after applying this patch.)
>
> Thanks.

The patch mostly worked.  However, autoconf gave an error about a
"possibly undefined macro" for the new symbol gl_PATHMAX.  I added a
`m4_pattern_allow' command to m4/gl-comp.m4 and that made autoconf
happy.  I am attaching my diff for gl-comp.m4.


After applying the patch & running autoconf, configure, make, the
compilation proceeds further but unfortunately now encounters an error
on the statement `verify (INT_MAX <= PTRDIFF_MAX)'.

gcc -std=gnu99 -c  -Demacs -DHAVE_CONFIG_H  -I.
-I/home/leyon/morocco/emacs-24.0.93/src -I../lib
-I/home/leyon/morocco/emacs-24.0.93/src/../lib
-I/usr/openwin/include     -I/usr/include/libxml2
-Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement  -g -O2 alloc.c
alloc.c:766: error: negative width in bit-field `_gl_verify_error_if_negative'
gmake[1]: *** [alloc.o] Error 1
gmake[1]: Leaving directory `/home/leyon/morocco/emacs-24.0.93/src'
gmake: *** [src] Error 2

Attachment: gl-comp.m4.diff
Description: Text Data


--- End Message ---

reply via email to

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