This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
compilation failure building libf2c/libI77 with latest snapshot
- To: egcs at cygnus dot com (egcs team)
- Subject: compilation failure building libf2c/libI77 with latest snapshot
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Thu, 27 Aug 98 15:38:23 PDT
Hi all,
My attempt to do make bootstrap-lean with the latest snapshot
(19980824) failed while trying to build libf2c. I'm on
sparc-sun-solaris2.5.1.
The output begins:
/remote/dtg103/jbuck/gnu/src/egcs-snap-sol2/gcc/xgcc -B/remote/dtg103/jbuck/gnu/src/egcs-snap-sol2/gcc/ -c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../egcs-snap/libf2c/libI77 -I.. -I../../../../egcs-snap/libf2c/libI77/.. -DSTDC_HEADERS=1 -D_POSIX_SOURCE=1 -DHAVE_TEMPNAM=1 -DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1 -g -O2 ../../../../egcs-snap/libf2c/libI77/backspace.c
In file included from ../../../../egcs-snap/libf2c/libI77/backspace.c:3:
../../../../egcs-snap/libf2c/libI77/fio.h:38: parse error before `flag'
../../../../egcs-snap/libf2c/libI77/fio.h:38: warning: no semicolon at end of struct or union
../../../../egcs-snap/libf2c/libI77/fio.h:39: warning: data definition has no type or storage class
../../../../egcs-snap/libf2c/libI77/fio.h:40: parse error before `urw'
... many more messages follow.
The problem seems to be that nothing defines `flag' in
libf2c/libI77/fio.h.
Why isn't anyone else mentioning this? What am I doing wrong?