🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #936

Re: bash and AIX

#936
From: Chet Ramey
Date: Fri, 16 Oct 1992 05:46
20 lines
1276 bytes
> 	I am trying to compile bash 1.12, for AIX 3.2 on an RS6000, and
> I keep getting the errors shown below.  I am using gcc 2.2.2, and have
> tried both gnu make and IBM's make.  I even tried IBM's cc.  They all
> produce problems.  I even tried with both the fixed include files and
> without them when using gcc.  The below output was from gnu make and
> gcc.  Any help would be appreciated. 

Change the lines in general.h that declare index and rindex to read

#if !defined (__STDC__) && !defined (index)
extern char *index (), *rindex ();
#endif

Chet

--
``The use of history as therapy means the corruption of history as history.''
	-- Arthur Schlesinger

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu
Technical Details
Message-ID: <9210161346.AA05237.SM@odin.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
References: chet@odin.ins.cwru.edu (Chet Ramey)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
From: chet@odin.ins.cwru.edu (Chet Ramey)
Subject: Re: bash and AIX
Message-ID: <9210161346.AA05237.SM@odin.INS.CWRU.Edu>
Sender: gnulists@ai.mit.edu
Reply-To: chet@po.cwru.edu
Organization: GNUs Not Usenet
References: chet@odin.ins.cwru.edu (Chet Ramey)
Distribution: gnu
Date: Fri, 16 Oct 1992 05:46:55 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 21