Path: utzoo!attcan!uunet!world!decwrl!sdd.hp.com!hplabs!hpfcso!hpfcdj!jayavant From: jayavant@hpfcdj.HP.COM (Rajeev Jayavant) Newsgroups: comp.emacs Subject: Re: problems with 18.55 on SGI 4D1T Message-ID: <16940002@hpfcdj.HP.COM> Date: 10 Oct 90 20:03:11 GMT References: <9010040026.AA22911@ems21.msrc1.pnl.gov> Organization: Hewlett Packard -- Fort Collins, CO Lines: 20 The problem you are running into is that SGI defines getcwd() in terms of getwd() in IRIX 3.3. Emacs, on the other hand, defines getwd() in terms of getcwd() unless you #define HAVE_GETWD. The result is that the temacs you built goes into an infinite recursion when getwd() is called. My fix to the problem is to go into the src directory, copy s-iris3-6.h to s-irix-3.3.h and add the following lines to it: /* IRIX 3.3 defines getcwd() as a function of getwd(). We get a recursive definition if we try to define a getwd() in terms of getcwd()! */ #define HAVE_GETWD Then modify your config.h to use s-irix-3.3.h and rebuild! Rajeev ------------------------------------------------------------------------------- Rajeev Jayavant (rajeev@hpfcla.hp.com) "Excuse me, I've lost my marbles" Hewlett Packard - Graphics Technology Division - P. Opus, [Bloom County]