emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Kenichi Handa <address@hidden>] Emacs can't be built on IBM's AIX.


From: Gerd Moellmann
Subject: [Kenichi Handa <address@hidden>] Emacs can't be built on IBM's AIX.
Date: Fri, 10 Nov 2000 13:27:07 +0100 (CET)
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.90

Josh, could you please help us with this AIX problem?

If you need access to an unofficial snapshot of our current sources,
please find it at <http://www.segv.de/emacs-21.0.90.tar.gz> and
<http://www.segv.de/leim-21.0.90.tar.gz>.

--- Begin Message --- Subject: Emacs can't be built on IBM's AIX. Date: Wed, 8 Nov 2000 22:01:00 +0900 (JST)
Emacs can't be compiled on this system.
% uname -a
AIX aix 3 4 000B665D4C00

And, with the following patch, at least compilation
succeeded.

----------------------------------------------------------------------
*** ibmrs6000.h.~1.37.~ Mon Aug 14 09:35:05 2000
--- ibmrs6000.h Wed Nov  8 21:31:55 2000
***************
*** 150,155 ****
--- 150,163 ----
  #define HAVE_SYSVIPC
  /*** BUILD 9008 - FIONREAD problem still exists in X-Windows. ***/
  #define BROKEN_FIONREAD
+ /* As we define BROKEN_FIONREAD, SIGIO will be undefined in systty.h.
+    But, on AIX, SIGAIO, SIGPTY, and SIGPOLL are defined as SIGIO,
+    which causes compilation error at init_signals in sysdep.c.  So, we
+    define these macros so that syssignal.h detects them and undefine
+    SIGAIO, SIGPTY and SIGPOLL.  */
+ #define BROKEN_SIGAIO
+ #define BROKEN_SIGPTY
+ #define BROKEN_SIGPOLL
  
  /* Don't try to include sioctl.h or ptem.h.  */
  #undef NEED_SIOCTL
***************
*** 181,187 ****
--- 189,197 ----
  #define LD_SWITCH_SITE -B/bin/
  #endif
  
+ #ifndef NLIST_STRUCT
  /* AIX supposedly doesn't use this interface, but on the RS/6000
     it apparently does.  */
  #define NLIST_STRUCT
+ #endif
  #endif /* USG5_4 */
*** syssignal.h.~1.33.~ Mon Aug 14 09:33:41 2000
--- syssignal.h Wed Nov  8 21:32:48 2000
***************
*** 144,149 ****
--- 144,156 ----
  #if defined (SIGURG) && defined (BROKEN_SIGURG)
  #undef SIGURG
  #endif
+ #if defined (SIGAIO) && defined (BROKEN_SIGAIO)
+ #undef SIGAIO
+ #endif
+ #if defined (SIGPTY) && defined (BROKEN_SIGPTY)
+ #undef SIGPTY
+ #endif
+ 
  
  #if NSIG < NSIG_MINIMUM
  # ifdef NSIG
----------------------------------------------------------------------

But, the resulting emacs crashes at __start ().

(gdb) run
Starting program: /usr/local/work/fsf-emacs/src/emacs -geometry 80x40+0+0

Program received signal SIGSEGV, Segmentation fault.
0x1000018c in __start ()
(gdb) bt
#0  0x1000018c in __start ()
#1  0xdeadbeef in ?? () from (unknown load module)

I gave up at this point because I'm not familiar with AIX.

---
Ken'ichi HANDA
address@hidden

_______________________________________________
Emacs-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/emacs-devel


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]