2.95.2 compile problems with egcs-2.91.66, sparc-solaris2.7

Michael Gerdts gerdts@cae.wisc.edu
Thu Mar 23 13:34:00 GMT 2000


When trying to compile gcc-2.95.2 with egcs-2.91.66 on an Ultra 10 running
Solaris 7, I get the following error:

gcc  -DIN_GCC -DHAIFA  -DSVR4  -g  -DHAVE_CONFIG_H -I/afs/engr.wisc.edu/src/gnu/include -I/afs/engr.wisc.edu/src/free/include   -I. -I../../gcc -I../../gcc/config -I../../gcc/../include -c ../../gcc/cexp.c
In file included from ../../gcc/gansidecl.h:28,
                 from config.h:5,
                 from cexp.y:28:
/afs/engr.wisc.edu/src/gnu/include/ansidecl.h:106: warning: `AND' redefined
../../gcc/cexp.c:13: warning: this is the location of the previous definition
cexp.y:150: warning: `SIGNED' redefined
/afs/engr.wisc.edu/src/gnu/include/ansidecl.h:109: warning: this is the location of the previous definition
cexp.y:504: parse error before `,'
gmake[2]: *** [cexp.o] Error 1
gmake[2]: Leaving directory `/paid0/g/gerdts/gcc/gcc-2.95.2/obj-sun4x_57/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/paid0/g/gerdts/gcc/gcc-2.95.2/obj-sun4x_57/gcc'
gmake: *** [bootstrap] Error 2

Attached is:

   1) The gzipped script(1) output that includes the output starting at
      ../configure and ending at the above error (gzipped)
   2) cexp.i -- generated by editing gcc/Makefile and adding -save-temps to
      CFLAGS, then typing make. (gzipped)

Mike

-- 
Mike Gerdts
UNIX Systems Administrator
Computer-Aided Engineering Center
University of Wisconsin - Madison
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cexp.i.gz
Type: application/x-gzip
Size: 18301 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000323/43fb3034/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typescript.gz
Type: application/x-gzip
Size: 4742 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000323/43fb3034/attachment-0001.bin>


More information about the Gcc-bugs mailing list