From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kroken To: gcc@gcc.gnu.org Subject: Build failure Date: Tue, 12 Jun 2001 10:30:00 -0000 Message-id: X-SW-Source: 2001-06/msg00680.html I tried to compile the two last prereleases (2001-06-(4|11) on my two linux boxes, but I have yet to succeed. Both boxes run Linux, and both are pretty upgraded (last release, sometimes betas, of most of the software/libraries). Machine A is no recognizable distro (was RedHat 6.0 once) linux-2.4.2 glibc-2.2.2 CC = gcc-2.95.3 CFLAGS = -march=pentium -O3 -ffast-math Machibe B is RedHat 6.1 linux-2.2.19 glibc-2.1.2 CC = gcc-2.95.2 CFLAGS = The compile sequence is ./configure --prefix=/usr/gcc-beta make make install (yet to be run :( ) Currently, it fails with the following on machine A: checking for /home_2/jankr/gcc-20010611/i586-pc-linux-gnu/libstdc++-v3/include updating cache ../config.cache creating ./config.status creating Makefile creating src/Makefile creating libmath/Makefile creating libio/Makefile creating libsupc++/Makefile creating testsuite/Makefile creating mkcheck creating testsuite_flags creating config.h linking ./config/os/gnu-linux/bits/os_defines.h to include/bits/os_defines.h linking ./config/c_io_stdio.h to include/bits/c++io.h linking ./config/basic_file_stdio.h to include/bits/basic_file_model.h linking ./config/basic_file_stdio.cc to src/basic_file.cc linking ./config/c_io_libio_codecvt.c to libio/c_codecvt.c linking ./config/c_locale_generic.h to include/bits/c++locale.h linking ./config/c_locale_generic.cc to src/c++locale.cc linking ./../gcc/gthr.h to include/bits/gthr.h-in configure: error: ./../gcc/gthr.h: File not found make: *** [configure-target-libstdc++-v3] Error 1 on machine B: gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I. -I./java -I./config -I./../include java/buffer.c -o java/buffer.o gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I. -I./java -I./config -I./../include java/check-init.c -o java/check-init.o gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I. -I./java -I./config -I./../include java/jcf-depend.c -o java/jcf-depend.o gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I. -I./java -I./config -I./../include \ -DLIBGCJ_ZIP_FILE='"/usr/gcc-beta/share/libgcj.jar"' \ ./java/jcf-path.c -o java/jcf-path.o gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I. -I./java -I./config -I./../include java/xref.c -o java/xref.o gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Ijava -I. -I./java -I./config -I./../include java/boehm.c -o java/boehm.o rm -f jc1 gcc -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o jc1 \ java/parse.o java/class.o java/decl.o java/expr.o java/constants.o java/lang.o java/typeck.o java/except.o java/verify.o java/zextract.o java/jcf-io.o java/jcf-parse.o java/mangle.o java/mangle_name.o java/jcf-write.o java/buffer.o java/check-init.o java/jcf-depend.o java/jcf-path.o java/xref.o java/boehm.o mkdeps.o toplev.o libbackend.a -L../zlib -lz obstack.o ../libiberty/libiberty.a java/parse.o: In function `java_new_lexer': /usr/tmp/gcc-20010611/gcc/java/lex.c:233: undefined reference to `libiconv_open' /usr/tmp/gcc-20010611/gcc/java/lex.c:253: undefined reference to `libiconv_open' /usr/tmp/gcc-20010611/gcc/java/lex.c:271: undefined reference to `libiconv' /usr/tmp/gcc-20010611/gcc/java/lex.c:272: undefined reference to `libiconv_close' java/parse.o: In function `java_destroy_lexer': /usr/tmp/gcc-20010611/gcc/java/lex.c:308: undefined reference to `libiconv_close' java/parse.o: In function `java_read_char': /usr/tmp/gcc-20010611/gcc/java/lex.c:373: undefined reference to `libiconv' collect2: ld returned 1 exit status make[1]: *** [jc1] Error 1 make[1]: Leaving directory `/usr/tmp/gcc-20010611/gcc' make: *** [all-gcc] Error 2 if you need the entire compile output, or more details about my system, I'll provide it. -- -jk