jaa@mrmarx.UUCP (Jerry Abramson) (09/22/89)
I am trying to build Gnu Emacs 18.51 on an IBM PS/2 running AIX. All of the C files compile successfully (Although I had to determine the STACK_DIRECTION for alloca.c via an experiment). Emacs then successfully links and ./temacs is built. Unfortunatly, when ./temacs (./xemacs) is run the following errors are reported: uprf(cmd: ksh): readcoff: text not aligned uprf(cmd: ksh): temacs: exec failed (errno = 8) ./temacs: syntax error at line 1 : ' unexpected Is this simply a missing Magic Number, or does AIX not use COFF (explained in unexec.c) ? My config.h is including s-usg5-2-2.h and m-ibmrt.h as specified in ../etc/MACHINES. Any help is much appreciated, thanks. U.S. Jerold A. Abramson Mail: Decision Software Co. 51 Spinelli Place Cambridge, MA 02138 Phone: (617) 576-7800 UUCP: uunet!mrmarx!jaa
karl@godiva.cis.ohio-state.edu (Karl Kleinpaste) (09/23/89)
You probably just need to upgrade to a more recent incarnation of GNU Emacs than 18.51. The 18.55 etc/MACHINES says that 18.52 (at least) copes: IBM PS2 (m-ibmps2-aix.h; s-usg5-2-2.h) Changes mostly merged in 18.55. You may need to put an #ifndef AIX conditional around the definition of closedir in sysdep.c. IBM RT/PC (m-ibmrt.h or m-ibmrt-aix.h; s-bsd4-2.h or s-usg5-2-2.h) 18.52 works on both operating systems. Use s-bsd-4-2.h for the 4.2-like system and s-usg5-2-2.h for AIX. On BSD, if you have trouble, try compiling with a different compiler. On AIX, the file /usr/lib/samples/hft/hftctl.c must be compiled into hftctl.o, with this result left in the src directory (hftctl.c is part of the standard AIX distribution). window.c must not be compiled with -O on AIX. --Karl