Re: Using the newest Classapth with gcj ?

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
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.