From xemacs-m  Sat Feb  8 10:43:13 1997
Received: from sol1.cybernet-ag.net (sol1.cybernet-ag.net [194.221.86.98])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA29280
	for <xemacs-beta@xemacs.org>; Sat, 8 Feb 1997 10:43:11 -0600 (CST)
Received: (from aseibert@localhost) by sol1.cybernet-ag.net  id RAA12869; Sat, 8 Feb 1997 17:35:48 +0100 (MET)
Date: Sat, 8 Feb 1997 17:35:48 +0100 (MET)
Message-Id: <199702081635.RAA12869@sol1.cybernet-ag.net>
From: Axel Seibert <aseibert@cybernet-ag.net>
To: xemacs-beta@xemacs.org
Subject: 19.15beta92 fails to compile under NEXTSTEP

Hi!

First I had to apply the following patch to emacs.c:

diff -c src/emacs.c.orig src/emacs.c
*** src/emacs.c.orig    Sat Feb  8 11:11:12 1997
--- src/emacs.c Sat Feb  8 11:11:39 1997
***************
*** 431,442 ****
    int skip_args = 0;
    Lisp_Object load_me;
    int inhibit_window_system;
  
    noninteractive = 0;
  
  #ifdef NeXT
-   extern int malloc_cookie;
-   
    /* 19-Jun-1995 -baw
     * NeXT secret magic, ripped from Emacs-for-NS by Carl Edman
     * <cedman@princeton.edu>.  Note that even Carl doesn't know what this
--- 431,443 ----
    int skip_args = 0;
    Lisp_Object load_me;
    int inhibit_window_system;
+ #ifdef NeXT
+   extern int malloc_cookie;
+ #endif
  
    noninteractive = 0;
  
  #ifdef NeXT
    /* 19-Jun-1995 -baw
     * NeXT secret magic, ripped from Emacs-for-NS by Carl Edman
     * <cedman@princeton.edu>.  Note that even Carl doesn't know what this


But then a "make all" ends with

cd src; make all   CC='cc' CFLAGS='-O4 -pipe' MAKE='make'
[...]
Make:  Don't know how to make
/usr/local/src/xemacs-19.15-b92/src/../lisp/custom/custom.elc.  Stop.
*** Exit 1
Stop.

temacs exists at this time, but xemacs doesn't. Calling "make all-elc"
yields in 


EMACSLOADPATH="/usr/local/src/xemacs-19.15-b92/src/../lisp/prim"
./temacs -batch -l ../prim/update-elc.el
[...]

Loading ../prim/update-elc.el...
Loading loadup-el.el...
[...]
Loading fontl-hooks.el...
Loading auto-show.el...

Bootstrapping from temacs...
Purespace usage: 37098 of 594000 (6% -- 543k wasted).
                           total:   bytes:
   cons cells:                45      360   1%
   float objects:              0        0   0%
   symbol-name strings:     1835    38352  103%
   compiled-function objects:    0        0   0%
   byte-code strings:          0        0   0%
   byte-constant vectors:      0        0   0%
   interactive strings:        0        0   0%
   documentation strings:      0        0   0%
   other function strings:     0        0   0%
   other vectors:              0        0   0%
   other strings:            -80    -1614  -3%
   all strings:             1755    36738  99%
   all vectors:                0        0   0%

Impurities:
   conses used:                     99404
   conses free:                      7703
   cons storage:                   864612
   symbols used:                     6849
   symbol storage:                 166296
   vectors used:                      486
   vectors total length:            43925
   vector storage:                 183476
   short strings used:              13579
   strings free:                     3172
   short strings total length:     802080
   short string storage:           925696
   string header storage:          204000
   floats used:                        45
   floats free:                         3
   float storage:                    2040
   markers used:                       34
   markers free:                      114
   marker storage:                   4072
   extents used:                       15
   extent storage:                   2040
   symbol value lisp magics used:      23
   symbol value lisp magic storage:  1564
   symbol value varaliases used:       42
   symbol value varalias storage:    1008
   opaque lists used:                   2
   opaque list storage:                48
   opaques used:                        4
   opaque storage:                     96
   color instances used:                1
   color instance storage:             24
   font instances used:                 1
   font instance storage:              34
   range tables used:                   1
   range table storage:                16
   faces used:                         24
   face storage:                     1776
   glyphs used:                        15
   glyph storage:                     600
   specifiers used:                   319
   specifier storage:               17827
   weak lists used:                   319
   weak list storage:                7656
   buffers used:                        6
   buffer storage:                   1656
   extent infos used:                   4
   extent info storage:                80
   consoles used:                       3
   console storage:                   294
   command builders used:               1
   command builder storage:            56
   keymaps used:                      124
   keymap storage:                   5456
   devices used:                        1
   device storage:                    168
   frames used:                         1
   frame storage:                     116
   windows used:                        2
   window storage:                    516
   lcrecord lists used:                13
   lcrecord list storage:             312
   hashtables used:                   306
   hashtable storage:               12240
   streams used:                        4
   streams on free list:                2
   stream storage:                    392
sh: 1478 Bus error
*** Exit 138
Stop.
*** Exit 1
Stop.

How can I help find this bug? I have no idea... For the time being I
will recompile all the .el files with my old xemacs.

Axel

