[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?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
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=3Darm-linux-gcc NM=3Darm-linux-nm AR=3Da=
rm-linux-ar
> ./configure --host=3Darm-linux --build=3Di686-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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
<< 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=3Darm-linux --build=3Di686-linux

## --------- ##
## Platform. ##
## --------- ##

hostname =3D sadaebu
uname -m =3D i686
uname -r =3D 2.4.20-8
uname -s =3D Linux
uname -v =3D #1 Thu Mar 13 17:54:28 EST 2003

/usr/bin/uname -p =3D unknown
/bin/uname -X     =3D unknown

/bin/arch              =3D i686
/usr/bin/arch -k       =3D unknown
/usr/convex/getsysinfo =3D unknown
hostinfo               =3D unknown
/bin/machine           =3D unknown
/usr/bin/oslevel       =3D unknown
/bin/universe          =3D 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: $? =3D 0
configure:2455: arm-linux-gcc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release)
configure:2458: $? =3D 0
configure:2460: arm-linux-gcc -V </dev/null >&5
arm-linux-gcc: argument to `-V' is missing
configure:2463: $? =3D 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: $? =3D 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=3Dset
ac_cv_env_CC_value=3Darm-linux-gcc
ac_cv_env_CFLAGS_set=3D
ac_cv_env_CFLAGS_value=3D
ac_cv_env_CPPFLAGS_set=3D
ac_cv_env_CPPFLAGS_value=3D
ac_cv_env_CPP_set=3D
ac_cv_env_CPP_value=3D
ac_cv_env_CXXCPP_set=3D
ac_cv_env_CXXCPP_value=3D
ac_cv_env_CXXFLAGS_set=3D
ac_cv_env_CXXFLAGS_value=3D
ac_cv_env_CXX_set=3D
ac_cv_env_CXX_value=3D
ac_cv_env_F77_set=3D
ac_cv_env_F77_value=3D
ac_cv_env_FFLAGS_set=3D
ac_cv_env_FFLAGS_value=3D
ac_cv_env_LDFLAGS_set=3D
ac_cv_env_LDFLAGS_value=3D
ac_cv_env_build_alias_set=3Dset
ac_cv_env_build_alias_value=3Di686-linux
ac_cv_env_host_alias_set=3Dset
ac_cv_env_host_alias_value=3Darm-linux
ac_cv_env_target_alias_set=3D
ac_cv_env_target_alias_value=3D
ac_cv_path_install=3D'/usr/bin/install -c'
ac_cv_prog_AWK=3Dgawk
ac_cv_prog_CC=3Darm-linux-gcc
ac_cv_prog_STRIP=3Darm-linux-strip
ac_cv_prog_make_make_set=3Dyes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL=3D'${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run aclo=
cal-1.8'
ALSA_CFLAGS=3D''
ALSA_LIBS=3D''
AMDEPBACKSLASH=3D''
AMDEP_FALSE=3D''
AMDEP_TRUE=3D''
AMTAR=3D'${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run tar'
AR=3D'arm-linux-ar'
AS=3D''
AUTOCONF=3D'${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run aut=
oconf'
AUTOHEADER=3D'${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run a=
utoheader
--include=3Dconfig'
AUTOMAKE=3D'${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run aut=
omake-1.8'
AWK=3D'gawk'
AWT_DIR=3D''
AWT_LIBS=3D''
BCEL_JAR=3D''
CC=3D'arm-linux-gcc'
CCDEPMODE=3D''
CCLD=3D''
CFLAGS=3D''
CFLAGS_WITHOUT_PG=3D''
COND_PURE_JAVA_MATH_FALSE=3D''
COND_PURE_JAVA_MATH_TRUE=3D''
COND_SOUND_ALSA_FALSE=3D''
COND_SOUND_ALSA_TRUE=3D''
COND_SOUND_ESD_FALSE=3D''
COND_SOUND_ESD_TRUE=3D''
CONFIG_CALLKAFFEEXCEPTION_H=3D''
CONFIG_JIT_MD_H=3D''
CONFIG_MD_H=3D''
CONFIG_XPROFILE_MD_H=3D''
CPP=3D''
CPPFLAGS=3D''
CXX=3D''
CXXCPP=3D''
CXXDEPMODE=3D''
CXXFLAGS=3D''
CYGPATH_W=3D'echo'
DEFS=3D''
DEPDIR=3D''
DIRSEP=3D''
DLLTOOL=3D''
DLOPEN_JAVA_LIBS=3D''
DNSJAVA_JAR=3D''
ECHO=3D'echo'
ECHO_C=3D''
ECHO_N=3D'-n'
ECHO_T=3D''
EGREP=3D''
ENABLE_JVMPI_FALSE=3D''
ENABLE_JVMPI_TRUE=3D''
ENABLE_XPROF_FALSE=3D''
ENABLE_XPROF_TRUE=3D''
ENGINE_NAME=3D''
ESD_CFLAGS=3D''
ESD_CONFIG=3D''
ESD_LIBS=3D''
EXEEXT=3D''
F77=3D''
FFLAGS=3D''
GMSGFMT=3D''
GNU_CRYPTO_HOME=3D''
GNU_CRYPTO_JAR=3D''
HAVE_BCEL_FALSE=3D''
HAVE_BCEL_TRUE=3D''
HAVE_CONFIG_JIT_MD_H=3D''
HAVE_DNSJAVA_FALSE=3D''
HAVE_DNSJAVA_TRUE=3D''
HAVE_GCJ_SUPPORT_FALSE=3D''
HAVE_GCJ_SUPPORT_TRUE=3D''
HAVE_JASMIN_FALSE=3D''
HAVE_JASMIN_TRUE=3D''
HAVE_JIKES_FALSE=3D''
HAVE_JIKES_TRUE=3D''
HAVE_MKTEMP_FALSE=3D''
HAVE_MKTEMP_TRUE=3D''
HAVE_ZIP_FALSE=3D''
HAVE_ZIP_TRUE=3D''
INCLUDED_EXTENSIONS=3D''
INSTALL_DATA=3D'${INSTALL} -m 644'
INSTALL_PROGRAM=3D'${INSTALL}'
INSTALL_SCRIPT=3D'${INSTALL}'
INSTALL_STRIP_PROGRAM=3D'${SHELL} $(install_sh) -c -s'
INTLLIBS=3D''
JASMIN=3D''
JAVAX_CRYPTO_JAR=3D''
JAVAX_SECURITY_JAR=3D''
JAVA_LIBS=3D''
JIKES=3D''
JIKESPROG=3D''
KAFFEH=3D''
KAFFEVM_ICODE_H=3D''
KAFFEVM_JIT_DEF=3D''
KAFFEVM_MD_C=3D''
KAFFEVM_TRAMPOLINES_C=3D''
KAFFE_ARCHOS=3D''
KAFFE_LIBS=3D''
KLIBFLAGS=3D''
KPREFIX=3D''
KVMBINFLAGS=3D''
KVMLIBFLAGS=3D''
LDFLAGS=3D''
LIBICONV=3D''
LIBINTL=3D''
LIBLTDL=3D''
LIBOBJS=3D''
LIBS=3D' '
LIBTOOL=3D''
LIBTOOL_DEPS=3D''
LN_S=3D''
LTLIBICONV=3D''
LTLIBINTL=3D''
LTLIBOBJS=3D''
MAINT=3D'#'
MAINTAINER_MODE_FALSE=3D''
MAINTAINER_MODE_TRUE=3D'#'
MAKEINFO=3D'${SHELL} /home/toodulli/kaffe-1.1.4/scripts/missing --run mak=
einfo'
MAKE_KAFFEH=3D''
MATH_LIB=3D''
MATH_LIBS=3D''
MKINSTALLDIRS=3D''
MKTEMP=3D''
MOC=3D''
MSGFMT=3D''
MSGMERGE=3D''
M_LIBS=3D''
NEED_LIBXPROF_FALSE=3D''
NEED_LIBXPROF_TRUE=3D''
NET_LIBS=3D''
OBJDUMP=3D''
OBJEXT=3D''
PACKAGE=3D'kaffe'
PACKAGE_BUGREPORT=3D'kaffe at kaffe.org'
PACKAGE_NAME=3D'Kaffe Virtual Machine'
PACKAGE_STRING=3D'Kaffe Virtual Machine 1.1.4'
PACKAGE_TARNAME=3D'kaffe'
PACKAGE_VERSION=3D'1.1.4'
PATHSEP=3D''
PATH_SEPARATOR=3D':'
PATH_TO_RT_JAR=3D''
POSUB=3D''
PROFILE=3D''
QEMBED=3D''
QT_CXXFLAGS=3D''
QT_GUILINK=3D''
QT_LDADD=3D''
RANLIB=3D''
REGEN_FORWARD=3D''
SECURITY_LIBS=3D''
SET_MAKE=3D''
SHELL=3D'/bin/sh'
STRIP=3D'arm-linux-strip'
SUN_COMPAT_FALSE=3D''
SUN_COMPAT_TRUE=3D''
THREAD_DIR=3D''
THREAD_SYSTEM=3D''
UIC=3D''
USER_WANT_GNU_CRYPTO_FALSE=3D''
USER_WANT_GNU_CRYPTO_TRUE=3D''
USE_COMPAT_IFADDRS_FALSE=3D''
USE_COMPAT_IFADDRS_TRUE=3D''
USE_JIT_FALSE=3D''
USE_JIT_TRUE=3D''
USE_NLS=3D''
USE_PRECOMPILED_RT_JAR_FALSE=3D''
USE_PRECOMPILED_RT_JAR_TRUE=3D''
VERSION=3D'1.1.4'
VM_LIBS=3D''
XGETTEXT=3D''
X_CFLAGS=3D''
X_EXTRA_LIBS=3D''
X_LIBS=3D''
X_PRE_LIBS=3D''
ZIP=3D''
ZIP_LIBS=3D''
abssrcdir=3D'/home/toodulli/kaffe-1.1.4/.'
ac_ct_AR=3D''
ac_ct_AS=3D''
ac_ct_CC=3D''
ac_ct_CXX=3D''
ac_ct_DLLTOOL=3D''
ac_ct_F77=3D''
ac_ct_OBJDUMP=3D''
ac_ct_RANLIB=3D''
ac_ct_STRIP=3D''
am__fastdepCC_FALSE=3D''
am__fastdepCC_TRUE=3D''
am__fastdepCXX_FALSE=3D''
am__fastdepCXX_TRUE=3D''
am__include=3D''
am__leading_dot=3D'.'
am__quote=3D''
bindir=3D'${exec_prefix}/bin'
build=3D'i686-linux'
build_alias=3D'i686-linux'
build_cpu=3D''
build_os=3D''
build_vendor=3D''
datadir=3D'${prefix}/share'
exec_prefix=3D'NONE'
host=3D'arm-linux'
host_alias=3D'arm-linux'
host_cpu=3D''
host_os=3D''
host_vendor=3D''
includedir=3D'${prefix}/include'
infodir=3D'${prefix}/info'
install_sh=3D'/home/toodulli/kaffe-1.1.4/scripts/install-sh'
jrebindir=3D''
jredir=3D''
jrelibdir=3D''
kaffe_TRANSF=3D''
kaffebin_TRANSF=3D''
kaffeh_TRANSF=3D''
libdir=3D'${exec_prefix}/lib'
libexecdir=3D'${exec_prefix}/libexec'
localstatedir=3D'${prefix}/var'
mandir=3D'${prefix}/man'
mkdir_p=3D'mkdir -p -- .'
nativedir=3D''
oldincludedir=3D'/usr/include'
prefix=3D'NONE'
program_transform_name=3D's,x,x,'
sbindir=3D'${exec_prefix}/sbin'
securitydir=3D''
sharedstatedir=3D'${prefix}/com'
subdirs=3D''
sysconfdir=3D'${prefix}/etc'
target_alias=3D''
toolslibdir=3D''
with_engine=3D''

## ------------- ##
## Output files. ##
## ------------- ##

cpu_frag=3D''
cpu_os_frag=3D''
engine_frag=3D''
threads_frag=3D''

## ----------- ##
## 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