Compile problem with GCC2.95.2 on DECALPHA,TRUE64V5.0

Lothar Wolf
Mon Jun 26 03:16:00 GMT 2000

Andrew Hobson wrote:
> On Fri, 23 Jun 2000 14:39:39 +0100, Lothar Wolf <> said:
> > we have one DEC-Alpha running Compaq TRUE64 V5.0 and GCC2.95.2.
> > We are using this machine as a reference machine for the distribution
> > of our graphic software for customers with similar architecture.
> > To be able to compile version 2.95.2 I included the following patches
> > that
> > I got as a reply from one of your developers.
> >
> Actually, I'm not a gcc developer.  It turns out that the patch does
> enable you to compile gcc, but it's not fully functional.
> Check out the following messages.
> It's been fixed in the development branch, so you could try a
> snapshot.
> Drew


I downloaded the most recent snapshot and run
./configure --enable-languages=c++

then using the native compiler
make bootstrap LANGUAGES=c++

I got an error inbetween asking for a "proper version of autogen" that I
installed (autogen-4.5.8)

then did make bootstrap LANGUAGES=c++ again

and got the following error:

cc  -DIN_GCC    -g    -DHAVE_CONFIG_H  -o g++  gcc.o g++spec.o intl.o
prefix.o version.o   obstack.o   ./intl/libintl.a    -lmld -lexc
if [ -f specs.ready ] ; then  true;  else  touch specs.ready;  fi
MAKE="make"; srcdir=`cd ./fixinc; pwd` ;  export MAKE srcdir ;  cd
./fixinc; /bin/sh ${srcdir}/ alpha-dec-osf5.0
constructing ../ for alpha-dec-osf5.0
make SHELL="/bin/sh" install-bin
/bin/sh ./genfixes machname.h
cc -c -DIN_GCC -g  -I. -I.. -I. -I./..  -I./../config -I./../../include
cc: Error: fixincl.c, line 384: In the initializer for p_fixd,
"fixDescList" is not declared. (undeclared)
  tFixDesc *p_fixd = fixDescList;
cc: Error: fixincl.c, line 385: In the initializer for fix_ct,
"FIX_COUNT" is not declared. (undeclared)
  int fix_ct = FIX_COUNT;
cc: Error: fixincl.c, line 389: In the initializer for p_re,
"REGEX_COUNT" is not declared. (undeclared)
  regex_t *p_re = (regex_t *) malloc (REGEX_COUNT * sizeof (regex_t));
cc: Error: fixincl.c, line 436: In the declaration of "cmd_buf",
"MACH_LIST_SIZE_LIMIT" is not declared. (undeclared)
          char cmd_buf[ MACH_LIST_SIZE_LIMIT ]; /* size lim from
fixincl.tpl */
cc: Error: fixincl.c, line 1163: In the initializer for p_fixd,
"fixDescList" is not declared. (undeclared)
  tFixDesc *p_fixd = fixDescList;
cc: Error: fixincl.c, line 1164: In the initializer for todo_ct,
"FIX_COUNT" is not declared. (undeclared)
  int todo_ct = FIX_COUNT;
*** Exit 1

Am I doing something wrong here?? --> Forbidden identifiers: ......


 Lothar Wolf, Servers and Desktops Section
 European Centre for Medium-Range Weather Forecasts (ECMWF)
 Shinfield Park, Reading, Berkshire, RG2 9AX, UK ( )
 Email: Telephone: (UK 0044) (0)118 9499-368

More information about the Gcc-bugs mailing list