Using the newest Classapth with gcj ?

David Michel dmichel76@googlemail.com
Tue Mar 31 14:55:00 GMT 2009


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)
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/line-map.h:66:
error: bit-field ‘reason’ width not an integer constant
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/line-map.h:66:
warning: ‘reason’ is narrower than values of its type
In file included from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-common.h:26,
 from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-tree.h:25,
 from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-lang.c:28:
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:198:
error: bit-field ‘type’ width not an integer constant
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:198:
warning: ‘type’ is narrower than values of its type
In file included from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-common.h:26,
 from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-tree.h:25,
 from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-lang.c:28:
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:241:3:
error: #error "Cannot find a least-32-bit signed integer type"
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:243:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘cppchar_t’
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:244:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘cppchar_signed_t’
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:732:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘cpp_interpret_charconst’
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:743:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘cpp_host_to_exec_charset’
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/../libcpp/include/cpplib.h:870:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘cpp_parse_escape’
In file included from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-tree.h:26,
 from
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/c-lang.c:28:
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/toplev.h:
In function ‘floor_log2’:
/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/toplev.h:193:
warning: control reaches end of non-void function
make[3]: *** [c-lang.o] Error 1
make[3]: Leaving directory
`/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory
`/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu'
make: *** [all] Error 2
Do you know what this means ?
Cheers
David
2009年3月31日 Andrew Haley <aph@redhat.com>:
> David Michel wrote:
>> Thanks for this, this is really useful athough I get an error at the make stage:
>>>> make[3]: Entering directory
>> `/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/gcc'
>> /home/micd/gcc-4_4-branch/missing flex  -ogengtype-lex.c
>> /home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/../gcc/gengtype-lex.l
>> WARNING: `flex' is missing on your system.  You should only need it if
>>          you modified a `.l' file.  You may need the `Flex' package
>>          in order for those modifications to take effect.  You can get
>>          `Flex' from any GNU archive site.
>> 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 -Wno-error -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/gengtype-lex.o gengtype-lex.c
>> gcc: gengtype-lex.c: No such file or directory
>> gcc: no input files
>> make[3]: *** [build/gengtype-lex.o] Error 1
>> make[3]: Leaving directory
>> `/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu/gcc'
>> make[2]: *** [all-stage1-gcc] Error 2
>> make[2]: Leaving directory
>> `/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu'
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory
>> `/home/micd/gcc-4_4-branch/obj-x86_64-unknown-linux-gnu'
>> make: *** [all] Error 2
>>>>>> Although I do have flex:
>>>> $ sudo apt-get install flex
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> flex is already the newest version.
>> Look in build/config.log to see what it says about flex.
>> Make sure /usr/bin/flex exists.
>> Make sure it existed the first time you configured.  If not, blow
> away your build directory and reconfigure.
>> Andrew.
>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /