*BSD News Article 15779


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!rkb55989
From: rkb55989@uxa.cso.uiuc.edu (Rafal Boni)
Subject: Re: another gcc-2.3.3 compile error: protoize.c
Date: Fri, 7 May 1993 01:00:12 GMT
Message-ID: <C6MtGD.E9L@news.cso.uiuc.edu>
References: <1993May5.064130.23556@ucthpx.uct.ac.za> <1s82pg$u62@hal.gnu.ai.mit.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: University of Illinois at Urbana
Lines: 40

mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:


>Another FAQ which I have posted before...


>In article <1993May5.064130.23556@ucthpx.uct.ac.za>
>crawford@comgate.ee.uct.ac.za (Brian Crawford) writes:
>>
>> if [ -f libgcc2.ready ] ; then  true;  else  touch libgcc2.ready;  fi
>> /stage1/xgcc -B./stage1/ -c  -DIN_GCC   -g -O     -I. -I. -I./config unprotoize.c
>> In file included from unprotoize.c:1:
>> protoize.c:278: 'GPLUSPLUS_INCLUDE_DIR' undeclared, outside of functions
>> protoize.c:279: 'GCC_INCLUDE_DIR' undeclared, outside of functions

>In the GCC Makefile (or Makefile.in), look for the target
>`stamp-proto'.  After the line:

>	touch stamp-proto

>add:

>	touch protoize.o unprotoize.o

>Then `rm stamp-proto;make' and it should be fine.

	Or, alternately, use GnuMake 3.62 and it makes fine without alterations to
	the Makefile...

>-- 
> \  /   Charles Hannum, mycroft@ai.mit.edu
> /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
>Scheme  White heterosexual atheist male (WHAM) pride!


/------------------------------------------------------------------------\
|Rafal Boni					       	  r-boni@uiuc.edu|
|"Me have a .sig?? I don't even have a clue!"	rkb55989@uxa.cso.uiuc.edu|
|                            -Anonymous      rb6775@caffeine.cen.uiuc.edu|
\------------------------------------------------------------------------/