hello,
I'm trying to compile libgcj, but there are some errors. Can somebody help me?
Thanks!
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc -m64
checking whether we are using GNU C... yes
checking whether gcc -m64 accepts -g... yes
checking for c++... c++
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking for as... as
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc -m64
checking whether the C compiler (gcc -m64 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make[1]: Entering directory
`/home/ale/ecj_llvmJit/libgcj-2.95.1/build/i686-pc-linux-gnu/zlib'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2
-fvtable-thunks -D_GNU_SOURCE" "CFLAGS_FOR_BUILD="
"CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/sh
/home/ale/ecj_llvmJit/libgcj-2.95.1/install-sh -c"
"INSTALL_DATA=/bin/sh /home/ale/ecj_llvmJit/libgcj-2.95.1/install-sh
-c -m 644" "INSTALL_PROGRAM=/bin/sh
/home/ale/ecj_llvmJit/libgcj-2.95.1/install-sh -c "
"INSTALL_SCRIPT=/bin/sh /home/ale/ecj_llvmJit/libgcj-2.95.1/install-sh
-c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE=make" "MAKEINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/usr/local" "infodir=/usr/local/info"
"libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG="
"RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[2]: Entering directory
`/home/ale/ecj_llvmJit/libgcj-2.95.1/build/i686-pc-linux-gnu/zlib'
if [ -z "64" ]; then \
true; \
else \
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd ../../../zlib; pwd`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="gcc"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make \
CFLAGS="-g -O2 ${flags}" \
CXXFLAGS="-g -O2 -fvtable-thunks
-D_GNU_SOURCE ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[3]: Entering directory
`/home/ale/ecj_llvmJit/libgcj-2.95.1/build/i686-pc-linux-gnu/64/zlib'
make[3]: *** No rule to make target `all'. Stop.
make[3]: Leaving directory
`/home/ale/ecj_llvmJit/libgcj-2.95.1/build/i686-pc-linux-gnu/64/zlib'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/home/ale/ecj_llvmJit/libgcj-2.95.1/build/i686-pc-linux-gnu/zlib'
make[1]: *** [all-multi] Error 2
make[1]: Leaving directory
`/home/ale/ecj_llvmJit/libgcj-2.95.1/build/i686-pc-linux-gnu/zlib'
make: *** [all-target-zlib] Error 2