*BSD News Article 15649


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!sdd.hp.com!think.com!enterpoop.mit.edu!ai-lab!hal.gnu.ai.mit.edu!not-for-mail
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.questions
Subject: Re: another gcc-2.3.3 compile error: protoize.c
Date: 5 May 1993 05:52:48 -0400
Organization: dis
Lines: 28
Message-ID: <1s82pg$u62@hal.gnu.ai.mit.edu>
References: <1993May5.064130.23556@ucthpx.uct.ac.za>
NNTP-Posting-Host: hal.ai.mit.edu


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.

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