Problem building gcc-4.2.2 on 64-bit ubuntu linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, everyone,

I'm trying to build gcc on a 64-bit linux and
am getting error in stage2 (=stage_current:


           Must remake target `java/parse-scan.o'.
/localbuild/gcc-4.2.2/.obj/./prev-gcc/xgcc -B/localbuild/gcc-4.2.2/.obj/./prev-gcc/ -B/opt/gcc-4.2.2/x86_64-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Wno-error -DHAVE_CONFIG_H -I. -Ijava -I../../gcc -I../../gcc/java -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber java/parse-scan.c -o java/parse-scan.o
In file included from ../../gcc/java/lex.c:37,
                from ../../gcc/java/parse-scan.y:136:
../../gcc/java/keyword.h: In function 'java_keyword':
../../gcc/java/keyword.h:110: error: 'ELSE_TK' undeclared (first use in this function) ../../gcc/java/keyword.h:110: error: (Each undeclared identifier is reported only once
../../gcc/java/keyword.h:110: error: for each function it appears in.)
../../gcc/java/keyword.h:110: warning: missing initializer
....


I configured with:

../configure --prefix=/opt/gcc-4.2.2 --enable-version-specific-runtime-libs --enable-static --enable-shared --enable-languages=c,c++,java,objc,obj-c++ --enable-threads=posix --enable-nls --enable-__cxa_atexit --enable-libstdcxx-debug --enable-checking=release x86_64-linux-gnu

and built with:
make --debug=b CFLAGS_FOR_TARGET="-I/usr/include/i486-linux-gnu/" CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap


uname -a:
Linux buildlnx2 2.6.17-10-generic #2 SMP Fri Oct 13 15:34:39 UTC 2006 x86_64 GNU/Linux

thomas


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux