This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Error building gcc-2.95.1


  In message <37F25BA1.CA963B67@dcsc.utfsm.cl>you write:
  > Hello:
  > 
  > I've just encountered a problem (error) in building gcc-2.95.1
  > on a Solaris 2.7 Sparc box.
  > 
  > I compiled the same source with another machine Solaris 2.6
  > and it worked ok. (compiled only with make bootstrap)
  > 
  > on the error'ed machine: i compiled it with the
  > /install/make-3.77/make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g
  > -O2 -fno-implicit-templates' bootstrap
  > 
  > and it found the following error:
  > 
  > gcc -c  -DIN_GCC -DHAIFA  -DSVR4  -g  -DHAVE_CONFIG_H    -I.
  > -I../../gcc-2.95.1/gcc -I../../gcc-2.95.1/gcc/config
  > -I../../gcc-2.95.1/gcc/../include ../../gcc-2.95.1/gcc/genattrtab.c
  > ../../gcc-2.95.1/gcc/genattrtab.c:98: parse error before `/'
  > ../../gcc-2.95.1/gcc/genattrtab.c: In function `max_attr_value':
  > ../../gcc-2.95.1/gcc/genattrtab.c:4734: `INT_MAX' undeclared (first use
  > this function)
  > ../../gcc-2.95.1/gcc/genattrtab.c:4734: (Each undeclared identifier is
  > reported only once
  > ../../gcc-2.95.1/gcc/genattrtab.c:4734: for each function it appears
  > in.)
Something must be wrong with your sources or something like that.  genattrtab
does not even have a '/' on line 98 in gcc-2.95.1.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]