🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.misc
Article #364

Re: emacs-19.7 compile problem

#364
From: Kent Williams
Date: Tue, 25 May 1993 14:25
29 lines
2290 bytes
>From article <1993May24.153939.28147@Rapnet.Sanders.Lockheed.Com>, by mabry@rapnet.sanders.lockheed.com (Mark Mabry):
> I just got emacs version 19.7 and tried compiling it for my Indigo running 
> IRIX 4.0.5F.  I get jammed up when it tries to compile the yacc'ed getdate.y
> file.  I get this:
> 
>         cc -I/usr/local/emacs-19.7/lib-src/../src  -Demacs -DHAVE_CONFIG_H -I../src -g -c y.tab.c
> accom: Error: /usr/include/alloca.h, line 44: syntax error
>        void *__builtin_alloca (unsigned int);
>        ---------------------^
> *** Error code 1
> 
> Seems simple enough, but all my little hacking tricks don't fix it.  Anyone 
> got a suggestion or, better yet, the solution?

This one is a real head scratcher.  I believe you can get around it
somewhat by tweaking s/irix-4.h, taking out the 

#define alloca __builtin_alloca

but then you come up with alloca being undefined in one of the
programs in emacs/etc.  Really annoying.  I'm on the case though.

By the way, don't bother posting notes to the bug list unless you're willing
to give exhaustive details on where the problem occurs, and how to fix
it.  RMS is chiding people for incomplete bug reports.
--
Kent Williams -- williams@cs.uiowa.edu Work(626-6700) Home(338-6053)
"Science has come with wonderful ways to cure sick people one at a time,
and to kill healthy people thousands at a time" -- guy on NPR
Technical Details
Message-ID: <1993May25.142543.2132@news.uiowa.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!enterpoop.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
References: <1993May24.153939.28147@Rapnet.Sanders.Lockheed.Com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100159,7d63b9a3aaef11be
X-Google-Attributes: gid100159,public
X-Google-Thread: fb2f1,8eeabe75cd4e98d0,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1993-05-25 07:49:15 PST
Newsgroups: comp.sys.sgi.misc,gnu.emacs.bug
From: williams@herky.cs.uiowa.edu (Kent Williams)
Subject: Re: emacs-19.7 compile problem
Message-ID: <1993May25.142543.2132@news.uiowa.edu>
Date: Tue, 25 May 1993 14:25:43 GMT
References: <1993May24.153939.28147@Rapnet.Sanders.Lockheed.Com>
Organization: University of Iowa, Iowa City, IA, USA
Apparently-To: gnu-emacs-bug@uunet.uu.net
Distribution: world
Approved: info-gnu@prep.ai.mit.edu
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!enterpoop.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
Followup-To: comp.sys.sgi.misc,gnu.emacs.bug
Lines: 33