GNU bug report logs - #10677
24.0.93; missing pathmax.h on Solaris

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Tue, 31 Jan 2012 07:18:02 UTC

Severity: normal

Found in version 24.0.93

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Paul Eggert  <eggert <at> cs.ucla.edu>
Cc: 10677 <at> debbugs.gnu.org
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
[Message part 1 (message/rfc822, inline)]
From: Chris Leyon <cleyon <at> gmail.com>
To: Chong Yidong <cyd <at> gnu.org>
Subject: Re: bug#10677: 24.0.93; missing pathmax.h on Solaris
Date: Wed, 1 Feb 2012 10:43:00 -0500
[Message part 2 (text/plain, inline)]
On Wed, Feb 1, 2012 at 03:18, Chong Yidong <cyd <at> 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 (text/x-patch, attachment)]

This bug report was last modified 13 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.