public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Mittelstaedt <T.Mittelstaedt@cadenas.de>
To: gcc-help@gcc.gnu.org
Subject: Problem building gcc-4.2.2 on 64-bit ubuntu linux
Date: Wed, 19 Dec 2007 09:09:00 -0000	[thread overview]
Message-ID: <4768E104.2000801@cadenas.de> (raw)

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

             reply	other threads:[~2007-12-19  9:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19  9:09 Thomas Mittelstaedt [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4768E104.2000801@cadenas.de \
    --to=t.mittelstaedt@cadenas.de \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).