The product area is a wild guess.  Probably, you should pay no attention to it.

Here is the output of make, after the failure has occurred (to shorten the 
output size):
==============================================================================
$ make
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -
O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/install -
c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -
c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -
O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-
size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" 
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/i
nfo" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i686-pc-
mingw32" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -
O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/zlib'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty'
make[2]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty/testsuite'
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libiberty'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -
O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/install -
c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -
c" "INSTALL_SCRIPT=/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -
O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-
size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/us
r/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "
AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -
O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
make[2]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
perl ../.././fastjar/../contrib/texi2pod.pl -D 
fastjar ../.././fastjar/fastjar.texi > fastjar.pod
(pod2man --center="GNU" --release="gcc-4.1.0" --section=1 fastjar.pod > 
fastjar.1.T$$ && \
        mv -f fastjar.1.T$$ fastjar.1) || \
        (rm -f fastjar.1.T$$ && exit 1)
/bin/sh: pod2man: command not found
make[2]: [fastjar.1] Error 1 (ignored)
perl ../.././fastjar/../contrib/texi2pod.pl -D 
grepjar ../.././fastjar/fastjar.texi > grepjar.pod
(pod2man --center="GNU" --release="gcc-4.1.0" --section=1 grepjar.pod > 
grepjar.1.T$$ && \
        mv -f grepjar.1.T$$ grepjar.1) || \
        (rm -f grepjar.1.T$$ && exit 1)
/bin/sh: pod2man: command not found
make[2]: [grepjar.1] Error 1 (ignored)
rm fastjar.pod grepjar.pod
make[2]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fastjar'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/fixincludes'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/intl'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty'
make[2]: Entering directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty/testsuite'
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/libiberty'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/build-i686-pc-
mingw32/fixincludes'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-
mingw32/libcpp'
test -d po || mkdir po
: --statistics -o po/be.gmo ../.././libcpp/po/be.po
test -d po || mkdir po
: --statistics -o po/ca.gmo ../.././libcpp/po/ca.po
test -d po || mkdir po
: --statistics -o po/da.gmo ../.././libcpp/po/da.po
test -d po || mkdir po
: --statistics -o po/de.gmo ../.././libcpp/po/de.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../.././libcpp/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../.././libcpp/po/es.po
test -d po || mkdir po
: --statistics -o po/fr.gmo ../.././libcpp/po/fr.po
test -d po || mkdir po
: --statistics -o po/ja.gmo ../.././libcpp/po/ja.po
test -d po || mkdir po
: --statistics -o po/nl.gmo ../.././libcpp/po/nl.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../.././libcpp/po/rw.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../.././libcpp/po/sv.po
test -d po || mkdir po
: --statistics -o po/tr.gmo ../.././libcpp/po/tr.po
test -d po || mkdir po
: --statistics -o po/vi.gmo ../.././libcpp/po/vi.po
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/libcpp'
make[1]: Entering directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/gcc'
test -d po || mkdir po
: --statistics -o po/be.gmo ../.././gcc/po/be.po
test -d po || mkdir po
: --statistics -o po/ca.gmo ../.././gcc/po/ca.po
test -d po || mkdir po
: --statistics -o po/da.gmo ../.././gcc/po/da.po
test -d po || mkdir po
: --statistics -o po/de.gmo ../.././gcc/po/de.po
test -d po || mkdir po
: --statistics -o po/el.gmo ../.././gcc/po/el.po
test -d po || mkdir po
: --statistics -o po/es.gmo ../.././gcc/po/es.po
test -d po || mkdir po
: --statistics -o po/fr.gmo ../.././gcc/po/fr.po
test -d po || mkdir po
: --statistics -o po/ja.gmo ../.././gcc/po/ja.po
test -d po || mkdir po
: --statistics -o po/nl.gmo ../.././gcc/po/nl.po
test -d po || mkdir po
: --statistics -o po/rw.gmo ../.././gcc/po/rw.po
test -d po || mkdir po
: --statistics -o po/sv.gmo ../.././gcc/po/sv.po
test -d po || mkdir po
: --statistics -o po/tr.gmo ../.././gcc/po/tr.po
test -d po || mkdir po
: --statistics -o po/zh_CN.gmo ../.././gcc/po/zh_CN.po
bison  -d -o gengtype-yacc.c ../.././gcc/gengtype-yacc.y
bison.cc: No such file or directory
c:\utils\bison.exe: make[1]: [gengtype-yacc.h] Error 2 (ignored)
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-
definition -fno-common -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -
Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I./../intl -
I../.././gcc/../libcpp/include  \
 -o build/gengtype-lex.o gengtype-lex.c
../.././gcc/gengtype-lex.l:31:27: error: gengtype-yacc.h: No such file or 
directory
../.././gcc/gengtype-lex.l: In function 'yylex':
../.././gcc/gengtype-lex.l:222: error: 'yylval' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:222: error: (Each undeclared identifier is reported 
only once
../.././gcc/gengtype-lex.l:222: error: for each function it appears in.)
../.././gcc/gengtype-lex.l:227: error: 'ENT_TYPEDEF_STRUCT' undeclared (first 
use in this function)
../.././gcc/gengtype-lex.l:227: error: 'ENT_STRUCT' undeclared (first use in 
this function)
../.././gcc/gengtype-lex.l:233: error: 'ENT_EXTERNSTATIC' undeclared (first use 
in this function)
../.././gcc/gengtype-lex.l:239: error: 'ENT_YACCUNION' undeclared (first use in 
this function)
../.././gcc/gengtype-lex.l:287: error: 'GTY_TOKEN' undeclared (first use in 
this function)
../.././gcc/gengtype-lex.l:288: error: 'UNION' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:289: error: 'STRUCT' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:290: error: 'ENUM' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:291: error: 'ALIAS' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:292: error: 'NESTED_PTR' undeclared (first use in 
this function)
../.././gcc/gengtype-lex.l:293: error: 'NUM' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:296: error: 'PARAM_IS' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:308: error: 'SCALAR' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:329: error: 'ID' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:339: error: 'STRING' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:343: error: 'ARRAY' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:347: error: 'PERCENT_ID' undeclared (first use in 
this function)
../.././gcc/gengtype-lex.l:351: error: 'CHAR' undeclared (first use in this 
function)
../.././gcc/gengtype-lex.l:367: error: 'PERCENTPERCENT' undeclared (first use 
in this function)
gengtype-lex.c: In function 'yy_get_next_buffer':
gengtype-lex.c:2658: warning: old-style function definition
gengtype-lex.c: In function 'yy_get_previous_state':
gengtype-lex.c:2790: warning: old-style function definition
gengtype-lex.c: In function 'input':
gengtype-lex.c:2903: warning: old-style function definition
make[1]: *** [build/gengtype-lex.o] Error 1
make[1]: Leaving directory `/mingw/gcc-4.1-20050604/host-i686-pc-mingw32/gcc'
make: *** [all-gcc] Error 2

[EMAIL PROTECTED] /mingw/gcc-4.1-20050604
==============================================================================
There is a similarly named file:
==============================================================================
C:\mingw\gcc-4.1-20050604>dir /s geng*.h
 Volume in drive C has no label.
 Volume Serial Number is 0890-87CA

 Directory of C:\mingw\gcc-4.1-20050604\gcc

08/02/2004  05:48 AM             5,252 gengtype.h
               1 File(s)          5,252 bytes

     Total Files Listed:
               1 File(s)          5,252 bytes
               0 Dir(s)  36,015,398,912 bytes free
==============================================================================
The Bison file bison.cc is missing:
==============================================================================

C:\mingw\gcc-4.1-20050604>dir /s bison.*
 Volume in drive C has no label.
 Volume Serial Number is 0890-87CA
File Not Found
==============================================================================

Probably, it is a problem with the MINGW distribution, but possibly in the 
compiler.  Or perhaps a certain version of Bison is intended to be included in 
the GCC distribution but was forgotten.

I ran a test against today's snapshot, because I received an email that bug 
21777 was fixed.  Currently, I cannot build the compiler to test it for myself.
==============================================================================

-- 
           Summary: Bison files are missing or misnamed under MINGW
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcorbit at connx dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21934

Reply via email to