emacs-20.4 and AIX-4.2: some solution

emacs-20.4 and AIX-4.2: some solution

Post by Koos Schu » Wed, 15 Sep 1999 04:00:00



Hi all,

Generally it is a bad habit to answer one's own questions.
This answer is (fortunately only partly) my own answer on
my own question.

Problem was:
Building emacs-20.4 on AIX-4.2.1.0 results in a core-dumping
emacs-dump.

Searching deja.com I came upon a few alike things and tried
the following:

I copied src/unexaix.c of the xemacs-21.1.6 distribution over
the one of emacs-20.4. This did not compile and I still do
not know why........next I edited this unexaix.c such that
it read:
int unexec (new_name, a_name, data_start, bss_start, entry_address)
     char *new_name, *a_name;
     unsigned data_start, bss_start, entry_address;

and not:
int unexec (char *new_name,
        char *a_name,
        uintptr_t data_start,
        uintptr_t bss_start,
        uintptr_t entry_address)

Then it compiled and I get a working emacs.

If anyone knows why this editing was necessary I would be
very curious about it.

--

Mazzel, cheers, bye, tabe, moi, tot ziens, have a nice day,
Koos
__________________________to be Y999T-compliant_____________________

Institute for Theoretical Physics    |  Phone: +31 15 2566804       |
University of Groningen              |  Phone: +31 70 3116092       |
P.O. Box 800                         |  Fax:   +31 70 3112133       |
9700 AV Groningen, The Netherlands.  |  Yell:  Very, Very loud      |
---------------------- use: yyyyyyyyyyyyyyy/mm/dd-------------------

 
 
 

1. emacs-20.4 on AIX-4.2.1 dump core

Hi all,

I am trying to get emacs-20.4 compiled under AIX-4.2.1.0. So far,
unseccessfully.

Hardware: R4k
OS:       AIX-4.2.1.0
emacs:    20.4
compiler: gcc-2.8.0 and 2.8.1 and 2.95.1 (all smme problem)

I get as far as temacs being built (I can run it), next a dump of
emacs is made and put into the executable 'emacs', this
executable immediately dumps core:

Wrote /fsf/emacs/20.4/src/emacs-20.4/lib-src/fns-20.4.1.el
Dumping under names emacs and emacs-20.4.1
501372 pure bytes used
./emacs -q -batch -f list-load-path-shadows
make[1]: *** [emacs] Segmentation fault (core dumped)

I did the configure with
CFLAGS = (let configure choose default)
         -g
         -g -mminimal-toc
         -g -mminimal-toc -mcpu=common

Anyone any ideas of what to do next?

--

Mazzel, cheers, bye, tabe, moi, tot ziens, have a nice day,
Koos
__________________________to be Y999T-compliant_____________________

Institute for Theoretical Physics    |  Phone: +31 15 2566804       |
University of Groningen              |  Phone: +31 70 3116092       |
P.O. Box 800                         |  Fax:   +31 70 3112133       |
9700 AV Groningen, The Netherlands.  |  Yell:  Very, Very loud      |
---------------------- use: yyyyyyyyyyyyyyy/mm/dd-------------------

2. help with semget() behavior ?

3. Anyone had success installing emacs-20.3 on AIX 4.3.2 ??

4. Problem when trying to compile kernel with the sound as a module

5. emacs-20.3 unexec problem

6. Digiboard PX/Xem driver ???

7. Emacs-20.2 hangs in RedHat 5.0 alpha

8. Setting up Linux (qns from a first time installer...)

9. NetBSD 1.5 and Emacs-20.7/20.4

10. Emacs-20.4 on 3.2

11. trouble installing emacs-20.2 with Caldera linux-base 1.1

12. gnuserv and emacs-20.3

13. Solaris-2.6 Emacs-20 ignores most characters in X11 mode