public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem building gcc-4.2.2 on 64-bit ubuntu linux
@ 2007-12-19  9:09 Thomas Mittelstaedt
  2007-12-19 12:36 ` John (Eljay) Love-Jensen
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Mittelstaedt @ 2007-12-19  9:09 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-12-20 13:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19  9:09 Problem building gcc-4.2.2 on 64-bit ubuntu linux Thomas Mittelstaedt
2007-12-19 12:36 ` John (Eljay) Love-Jensen
2007-12-19 13:34   ` Thomas Mittelstaedt
2007-12-19 14:32     ` Thomas Mittelstaedt
2007-12-19 15:00       ` Kai Ruottu
2007-12-19 15:14         ` Kai Ruottu
2007-12-19 15:03       ` Thomas Mittelstaedt
2007-12-19 16:55         ` Thomas Mittelstaedt
2007-12-20  1:56           ` Tim Prince
2007-12-20  6:17             ` Brian Dessent
2007-12-20 13:33               ` Problem building gcc-4.2.2 on 64-bit ubuntu linux, SUCCESS!! Thomas Mittelstaedt
2007-12-20  7:21             ` Problem building gcc-4.2.2 on 64-bit ubuntu linux Fabian Cenedese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).