Re: Using the newest Classapth with gcj ?

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
David Michel wrote:
> Yes of course, flex wasn't installed when I first run configure. Now
> it passes this point ok, but still fails later on with this:
> 
> gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
> -Wold-style-definition -Wc++-compat -Wmissing-format-attribute
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genrecog \
> 	    build/genrecog.o build/rtl.o build/read-rtl.o build/ggc-none.o
> build/vec.o build/min-insn-modes.o build/gensupport.o
> build/print-rtl.o build/errors.o
> ../build-i686-pc-linux-gnu/libiberty/libiberty.a
> build/genrecog /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/config/i386/i386.md
> \
> 	  insn-conditions.md > tmp-recog.c
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/config/i386/i386.md:19820:
> warning: operand 1 missing mode?
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/config/i386/i386.md:19861:
> warning: operand 1 missing mode?
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/config/i386/i386.md:19878:
> warning: operand 1 missing mode?
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/config/i386/sse.md:11556:
> warning: operand 1 missing mode?
> /bin/bash /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../move-if-change
> tmp-recog.c insn-recog.c
> echo timestamp > s-recog
> lsf=""; for f in $lsf; do \
> 	    echo "#include \"$f\""; \
> 	done | sed 's|/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/||'
>> tmp-specs.h
> /bin/bash /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../move-if-change
> tmp-specs.h specs.h
> echo timestamp > s-specs
> gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
> -Wold-style-definition -Wc++-compat -Wmissing-format-attribute
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/build
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../include
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include
>  -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libdecnumber
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libdecnumber/bid
> -I../libdecnumber    -o build/gcov-iov.o
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/gcov-iov.c
> gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
> -Wold-style-definition -Wc++-compat -Wmissing-format-attribute
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  build/gcov-iov.o -o
> build/gcov-iov
> build/gcov-iov '4.4.0' 'prerelease' \
> 	    > tmp-gcov-iov.h
> /bin/bash /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../move-if-change
> tmp-gcov-iov.h gcov-iov.h
> echo timestamp > s-iov
> gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
> -Wold-style-definition -Wc++-compat -Wmissing-format-attribute
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
> -fno-common  -DHAVE_CONFIG_H -I. -I.
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/.
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../include
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include
>  -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libdecnumber
> -I/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libdecnumber/bid
> -I../libdecnumber
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-lang.c
> -o c-lang.o
> In file included from
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/input.h:25,
>                  from
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/tree.h:27,
>                  from
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-lang.c:27:
> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/line-map.h:66:
> error: ‘CHAR_BIT’ undeclared here (not in a function)

CHAR_BIT should be in /usr/include/limits.h.

Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.