This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build failure


Jan Kroken <jankr@ifi.uio.no> writes:

> 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 :( )

Tried with
gcc-build% ../gcc-20010611/configure --prefix=/usr/gcc-beta
gcc-build% make bootstrap

> Currently, it fails with the following on machine A:

On machine A, it now works.

On machine B, it still fails at the same place:

stage1/xgcc -Bstage1/ -B/usr/gcc-beta/i686-pc-linux-gnu/bin/ -c  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Ijava -I../../gcc-20010611/gcc -I../../gcc-20010611/gcc/java -I../../gcc-20010611/gcc/config -I../../gcc-20010611/gcc/../include ../../gcc-20010611/gcc/java/boehm.c -o java/boehm.o
rm -f jc1
stage1/xgcc -Bstage1/ -B/usr/gcc-beta/i686-pc-linux-gnu/bin/  -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-build/gcc/../../gcc-20010611/gcc/java/lex.c:233: undefined reference to `libiconv_open'
/usr/tmp/gcc-build/gcc/../../gcc-20010611/gcc/java/lex.c:253: undefined reference to `libiconv_open'
/usr/tmp/gcc-build/gcc/../../gcc-20010611/gcc/java/lex.c:271: undefined reference to `libiconv'
/usr/tmp/gcc-build/gcc/../../gcc-20010611/gcc/java/lex.c:272: undefined reference to `libiconv_close'
java/parse.o: In function `java_destroy_lexer':
/usr/tmp/gcc-build/gcc/../../gcc-20010611/gcc/java/lex.c:308: undefined reference to `libiconv_close'
java/parse.o: In function `java_read_char':
/usr/tmp/gcc-build/gcc/../../gcc-20010611/gcc/java/lex.c:373: undefined reference to `libiconv'
collect2: ld returned 1 exit status
make[2]: *** [jc1] Error 1
make[2]: Leaving directory `/usr/tmp/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/tmp/gcc-build/gcc'
make: *** [bootstrap] Error 2
/usr/tmp/gcc-build%                      

-- 
                                                     -jk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]