--- 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
gl-comp.m4.diff
Description: Text Data
--- End Message ---