[kaffe] cross compile erroer - config.log
toodulli at netian.com
toodulli at netian.com
Wed Jul 6 17:56:01 PDT 2005
Thank you for your help...
attach config.log file...
What's the problem?
============================
toodulli at netian.com wrote:
> Hi...all.
> I want to cross compile for arm architecture.
> But, When configuring, saw the error messages.
>
> [root at sadaebu kaffe-1.1.4]# CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar
> ./configure --host=arm-linux --build=i686-linux
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for arm-linux-strip... arm-linux-strip
> checking whether to enable maintainer-specific portions of Makefiles...
> no
> checking for arm-linux-gcc... arm-linux-gcc
> checking for C compiler default output file name... configure: error:
C
> compiler cannot create executables
> See 'config.log' for more details.
Hi,
that looks odd. What does config.log say about arm-linux-gcc?
cheers,
dalibor topic
=====================================================
<< config.log >>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Kaffe Virtual Machine configure 1.1.4, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --host=arm-linux --build=i686-linux
## --------- ##
## Platform. ##
## --------- ##
hostname = sadaebu
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /root/bin
PATH: /usr/local/lib
PATH: /home/toodulli/jam/bin.linuxx86
PATH: /home/toodulli/jamjar
PATH: /usr/local/kaffe/bin
PATH: /root/bin
PATH: /usr/local/lib
PATH: /usr/local/kaffe/bin
PATH: /home/toodulli/TB-X/Tynux/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1679: checking for a BSD-compatible install
configure:1734: result: /usr/bin/install -c
configure:1745: checking whether build environment is sane
configure:1788: result: yes
configure:1845: checking for gawk
configure:1861: found /bin/gawk
configure:1871: result: gawk
configure:1881: checking whether make sets $(MAKE)
configure:1901: result: yes
configure:1980: checking for arm-linux-strip
configure:1996: found /home/toodulli/TB-X/Tynux/bin/arm-linux-strip
configure:2006: result: arm-linux-strip
configure:2068: checking whether to enable maintainer-specific portions
of Makefiles
configure:2077: result: no
configure:2139: checking for arm-linux-gcc
configure:2165: result: arm-linux-gcc
configure:2447: checking for C compiler version
configure:2450: arm-linux-gcc --version </dev/null >&5
2.95.3
configure:2453: $? = 0
configure:2455: arm-linux-gcc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release)
configure:2458: $? = 0
configure:2460: arm-linux-gcc -V </dev/null >&5
arm-linux-gcc: argument to `-V' is missing
configure:2463: $? = 1
configure:2486: checking for C compiler default output file name
configure:2489: arm-linux-gcc conftest.c >&5
arm-linux-gcc: installation problem, cannot exec `cpp0': No such file or
directory
configure:2492: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kaffe Virtual Machine"
| #define PACKAGE_TARNAME "kaffe"
| #define PACKAGE_VERSION "1.1.4"
| #define PACKAGE_STRING "Kaffe Virtual Machine 1.1.4"
| #define PACKAGE_BUGREPORT "kaffe at kaffe.org"
| #define PACKAGE "kaffe"
| #define VERSION "1.1.4"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2531: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-linux-gcc
ac_cv_prog_STRIP=arm-linux-strip
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run aclocal-1.8'
ALSA_CFLAGS=''
ALSA_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run tar'
AR='arm-linux-ar'
AS=''
AUTOCONF='${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run autoconf'
AUTOHEADER='${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run autoheader
--include=config'
AUTOMAKE='${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run automake-1.8'
AWK='gawk'
AWT_DIR=''
AWT_LIBS=''
BCEL_JAR=''
CC='arm-linux-gcc'
CCDEPMODE=''
CCLD=''
CFLAGS=''
CFLAGS_WITHOUT_PG=''
COND_PURE_JAVA_MATH_FALSE=''
COND_PURE_JAVA_MATH_TRUE=''
COND_SOUND_ALSA_FALSE=''
COND_SOUND_ALSA_TRUE=''
COND_SOUND_ESD_FALSE=''
COND_SOUND_ESD_TRUE=''
CONFIG_CALLKAFFEEXCEPTION_H=''
CONFIG_JIT_MD_H=''
CONFIG_MD_H=''
CONFIG_XPROFILE_MD_H=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DIRSEP=''
DLLTOOL=''
DLOPEN_JAVA_LIBS=''
DNSJAVA_JAR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_JVMPI_FALSE=''
ENABLE_JVMPI_TRUE=''
ENABLE_XPROF_FALSE=''
ENABLE_XPROF_TRUE=''
ENGINE_NAME=''
ESD_CFLAGS=''
ESD_CONFIG=''
ESD_LIBS=''
EXEEXT=''
F77=''
FFLAGS=''
GMSGFMT=''
GNU_CRYPTO_HOME=''
GNU_CRYPTO_JAR=''
HAVE_BCEL_FALSE=''
HAVE_BCEL_TRUE=''
HAVE_CONFIG_JIT_MD_H=''
HAVE_DNSJAVA_FALSE=''
HAVE_DNSJAVA_TRUE=''
HAVE_GCJ_SUPPORT_FALSE=''
HAVE_GCJ_SUPPORT_TRUE=''
HAVE_JASMIN_FALSE=''
HAVE_JASMIN_TRUE=''
HAVE_JIKES_FALSE=''
HAVE_JIKES_TRUE=''
HAVE_MKTEMP_FALSE=''
HAVE_MKTEMP_TRUE=''
HAVE_ZIP_FALSE=''
HAVE_ZIP_TRUE=''
INCLUDED_EXTENSIONS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTLLIBS=''
JASMIN=''
JAVAX_CRYPTO_JAR=''
JAVAX_SECURITY_JAR=''
JAVA_LIBS=''
JIKES=''
JIKESPROG=''
KAFFEH=''
KAFFEVM_ICODE_H=''
KAFFEVM_JIT_DEF=''
KAFFEVM_MD_C=''
KAFFEVM_TRAMPOLINES_C=''
KAFFE_ARCHOS=''
KAFFE_LIBS=''
KLIBFLAGS=''
KPREFIX=''
KVMBINFLAGS=''
KVMLIBFLAGS=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBLTDL=''
LIBOBJS=''
LIBS=' '
LIBTOOL=''
LIBTOOL_DEPS=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run makeinfo'
MAKE_KAFFEH=''
MATH_LIB=''
MATH_LIBS=''
MKINSTALLDIRS=''
MKTEMP=''
MOC=''
MSGFMT=''
MSGMERGE=''
M_LIBS=''
NEED_LIBXPROF_FALSE=''
NEED_LIBXPROF_TRUE=''
NET_LIBS=''
OBJDUMP=''
OBJEXT=''
PACKAGE='kaffe'
PACKAGE_BUGREPORT='kaffe at kaffe.org'
PACKAGE_NAME='Kaffe Virtual Machine'
PACKAGE_STRING='Kaffe Virtual Machine 1.1.4'
PACKAGE_TARNAME='kaffe'
PACKAGE_VERSION='1.1.4'
PATHSEP=''
PATH_SEPARATOR=':'
PATH_TO_RT_JAR=''
POSUB=''
PROFILE=''
QEMBED=''
QT_CXXFLAGS=''
QT_GUILINK=''
QT_LDADD=''
RANLIB=''
REGEN_FORWARD=''
SECURITY_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='arm-linux-strip'
SUN_COMPAT_FALSE=''
SUN_COMPAT_TRUE=''
THREAD_DIR=''
THREAD_SYSTEM=''
UIC=''
USER_WANT_GNU_CRYPTO_FALSE=''
USER_WANT_GNU_CRYPTO_TRUE=''
USE_COMPAT_IFADDRS_FALSE=''
USE_COMPAT_IFADDRS_TRUE=''
USE_JIT_FALSE=''
USE_JIT_TRUE=''
USE_NLS=''
USE_PRECOMPILED_RT_JAR_FALSE=''
USE_PRECOMPILED_RT_JAR_TRUE=''
VERSION='1.1.4'
VM_LIBS=''
XGETTEXT=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZIP=''
ZIP_LIBS=''
abssrcdir='/home/toodulli/kaffe-1.1.4/.'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-linux'
build_alias='i686-linux'
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host='arm-linux'
host_alias='arm-linux'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/toodulli/kaffe-1.1.4/scripts/install-sh'
jrebindir=''
jredir=''
jrelibdir=''
kaffe_TRANSF=''
kaffebin_TRANSF=''
kaffeh_TRANSF=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
nativedir=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
securitydir=''
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
toolslibdir=''
with_engine=''
## ------------- ##
## Output files. ##
## ------------- ##
cpu_frag=''
cpu_os_frag=''
engine_frag=''
threads_frag=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "kaffe"
#define PACKAGE_BUGREPORT "kaffe at kaffe.org"
#define PACKAGE_NAME "Kaffe Virtual Machine"
#define PACKAGE_STRING "Kaffe Virtual Machine 1.1.4"
#define PACKAGE_TARNAME "kaffe"
#define PACKAGE_VERSION "1.1.4"
#define VERSION "1.1.4"
configure: exit 77
More information about the kaffe
mailing list