Article View: gnu.emacs.bug
Article #87613mips-sgi-irix5 BUGFIX(?) emacs-19.26: src/gmalloc.c, configure
From: C. Alex. North-Keys
Date: Fri, 09 Sep 1994 19:19
Date: Fri, 09 Sep 1994 19:19
67 lines
3795 bytes
3795 bytes
configure \
mips-sgi-irix5 \
--prefix=/pod/gnu \
--run-in-place \
--with-x-toolkit=athena
Problem: <stddef.h> skipped on SGI/IRIX machine.
Cause: checking for C compiler type instead of include file arrangement
Fix: instead of checking for __STDC__, check for STDC_HEADERS
*** src/gmalloc.c.orig Fri Sep 9 12:48:03 1994
--- src/gmalloc.c Fri Sep 9 12:38:24 1994
***************
*** 79,85 ****
#define __ptr_t char *
#endif /* C++ or ANSI C. */
! #ifdef __STDC__
#include <stddef.h>
#define __malloc_size_t size_t
#else
--- 79,85 ----
#define __ptr_t char *
#endif /* C++ or ANSI C. */
! #ifdef STDC_HEADERS
#include <stddef.h>
#define __malloc_size_t size_t
#else
Problem: generated /tmp_mnt/pod/gnu/gnu/src/emacs-19.26 for srcdir
when running in automounted /pod/gnu/src/emacs-19.26
This showed up again during install, where lib-src is duplicated
as shown:
| gmake[1]: Entering directory `/tmp_mnt/pod/gnu/gnu/src/emacs-19.26/lib-src'
| Assuming /tmp_mnt/var/mail is really the mail spool directory, you should
| run lib-src/blessmail /pod/gnu/src/emacs-19.26/lib-src/lib-src/movemail
| ^^^^^^^ ^^^^^^^
| as root, to give movemail appropriate permissions.
| Do that after running make install.
___________________________________________________________________________
C. Alexander North-Keys erlkonig@origin.ea.com
Systems Admin. Origin Systems
---------------------------------------------------------------------------
P.S. miscellaneous warnings:
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/pod/gnu/src/emacs-19.26/src -g -O emacs.c
emacs.c: In function `fatal_error_signal':
emacs.c:166: warning: passing arg 2 of `sigprocmask' makes pointer from integer without a cast
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/pod/gnu/src/emacs-19.26/src -g -O keyboard.c
keyboard.c: In function `kbd_buffer_store_event':
keyboard.c:2000: warning: passing arg 1 of `memmove' discards `volatile' from pointer target type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/pod/gnu/src/emacs-19.26/src -g -O sysdep.c
sysdep.c: In function `request_sigio':
sysdep.c:784: warning: passing arg 2 of `sigprocmask' makes pointer from integer without a cast
sysdep.c: In function `unrequest_sigio':
sysdep.c:794: warning: passing arg 2 of `sigprocmask' makes pointer from integer without a cast
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/pod/gnu/src/emacs-19.26/src -g -O fileio.c
fileio.c: In function `Fcopy_file':
fileio.c:1836: warning: passing arg 2 of `utime' from incompatible pointer type
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/pod/gnu/src/emacs-19.26/src -g -O process.c
In file included from /usr/include/netinet/in.h:25,
from process.c:48:
/usr/include/sys/endian.h:31: warning: `BIG_ENDIAN' redefined
./m/iris4d.h:33: warning: this is the location of the previous definition
Technical Details
Message-ID:
<9409091915.AA02451@origin.ea.com>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!math.ohio-state.edu!cis.ohio-state.edu!origin.ea.com!erlkonigShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,51c8ef7e3a0ec0a1,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-12 16:12:04 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!math.ohio-state.edu!cis.ohio-state.edu!origin.ea.com!erlkonig From: erlkonig@origin.ea.com (C. Alex. North-Keys) Newsgroups: gnu.emacs.bug Subject: mips-sgi-irix5 BUGFIX(?) emacs-19.26: src/gmalloc.c, configure Date: 9 Sep 1994 15:19:25 -0400 Organization: GNUs Not Usenet Lines: 68 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409091915.AA02451@origin.ea.com>