From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10966 invoked by alias); 19 Dec 2007 09:09:07 -0000 Received: (qmail 10956 invoked by uid 22791); 19 Dec 2007 09:09:06 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.cadenas.de (HELO cnsbw01.cadenas.de) (213.179.137.23) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 19 Dec 2007 09:09:00 +0000 Message-ID: <4768E104.2000801@cadenas.de> Date: Wed, 19 Dec 2007 09:09:00 -0000 From: Thomas Mittelstaedt User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Problem building gcc-4.2.2 on 64-bit ubuntu linux Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00334.txt.bz2 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