Results 1 to 1 of 1
Hello everyone,
I am a user of open suse 10.2. While building a source code I am getting the problem that "C compiler cannot create executables", although I have installed ...
- 05-03-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 43
Error: C compiler cannot create executables
Hello everyone,
I am a user of open suse 10.2. While building a source code I am getting the problem that "C compiler cannot create executables", although I have installed all gcc and gcc++ packages. I am not getting what can be the problem. As a reference I am pasting the contents of config.log after the build fails. I will be highly glad to get any solution.
Thanks in anticipation........
----------------********************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 openmoko-sample configure 0.0.1, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ /home/saurabhg/Desktop/openmoko-sample2/configure --build=i686-linux --host=arm-angstrom-linux-gnueabi --target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man
## --------- ##
## Platform. ##
## --------- ##
hostname = phoenix
uname -m = i686
uname -r = 2.6.18.2-34-default
uname -s = Linux
uname -v = #1 SMP Mon Nov 27 11:46:27 UTC 2006
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/openmoko/arm/bin
PATH: /usr/local/openmoko/arm/bin
PATH: /home/saurabhg/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/X11R6/bin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2018: checking for a BSD-compatible install
configure:2074: result: /usr/bin/install -c
configure:2085: checking whether build environment is sane
configure:2128: result: yes
configure:2193: checking for gawk
configure:2209: found /usr/bin/gawk
configure:2220: result: gawk
configure:2231: checking whether make sets $(MAKE)
configure:2252: result: yes
configure:2328: checking for arm-angstrom-linux-gnueabi-strip
configure:2355: result: arm-angstrom-linux-gnueabi-strip
configure:2439: checking whether to enable maintainer-specific portions of Makefiles
configure:2448: result: no
configure:2476: checking for style of include used by make
configure:2504: result: GNU
configure:2537: checking for arm-angstrom-linux-gnueabi-gcc
configure:2564: result: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
configure:2842: checking for C compiler version
configure:2849: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t --version >&5
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error
configure:2852: $? = 1
configure:2859: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -v >&5
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error
configure:2862: $? = 1
configure:2869: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -V >&5
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error
configure:2872: $? = 1
configure:2895: checking for C compiler default output file name
configure:2922: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/include -L/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 conftest.c >&5
/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error
configure:2925: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "openmoko-sample"
| #define PACKAGE_TARNAME "openmoko-sample"
| #define PACKAGE_VERSION "0.0.1"
| #define PACKAGE_STRING "openmoko-sample 0.0.1"
| #define PACKAGE_BUGREPORT "http://www.openmoko.org/"
| #define PACKAGE "openmoko-sample"
| #define VERSION "0.0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2964: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-isystem/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/include
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='arm-angstrom-linux-gnueabi-gcc -E'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t'
ac_cv_env_DEPENDENCIES_CFLAGS_set=
ac_cv_env_DEPENDENCIES_CFLAGS_value=
ac_cv_env_DEPENDENCIES_LIBS_set=
ac_cv_env_DEPENDENCIES_LIBS_value=
ac_cv_env_F77_set=set
ac_cv_env_F77_value='ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t -mtune=arm920t'
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1'
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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-angstrom-linux-gnueabi
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=arm-angstrom-linux-gnueabi
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t'
ac_cv_prog_STRIP=arm-angstrom-linux-gnueabi-strip
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/saurabhg/Desktop/openmoko-sample2/missing --run aclocal-1.9'
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/saurabhg/Desktop/openmoko-sample2/missing --run tar'
AR='arm-angstrom-linux-gnueabi-ar'
AUTOCONF='${SHELL} /home/saurabhg/Desktop/openmoko-sample2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/saurabhg/Desktop/openmoko-sample2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/saurabhg/Desktop/openmoko-sample2/missing --run automake-1.9'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t'
CCDEPMODE=''
CFLAGS='-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os'
CPP='arm-angstrom-linux-gnueabi-gcc -E'
CPPFLAGS='-isystem/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/include'
CXX='ccache arm-angstrom-linux-gnueabi-g++ -march=armv4t -mtune=arm920t'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DEPENDENCIES=''
DEPENDENCIES_CFLAGS=''
DEPENDENCIES_LIBS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77='ccache arm-angstrom-linux-gnueabi-g77 -march=armv4t -mtune=arm920t'
FFLAGS=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_ICONV=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_MSGFMT=''
INTLTOOL_MSGMERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XGETTEXT=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
LDFLAGS='-L/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/john/moko/build/openmoko/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/saurabhg/Desktop/openmoko-sample2/missing --run makeinfo'
MSGFMT=''
OBJEXT=''
PACKAGE='openmoko-sample'
PACKAGE_BUGREPORT='http://www.openmoko.org/'
PACKAGE_NAME='openmoko-sample'
PACKAGE_STRING='openmoko-sample 0.0.1'
PACKAGE_TARNAME='openmoko-sample'
PACKAGE_VERSION='0.0.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB='arm-angstrom-linux-gnueabi-ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='arm-angstrom-linux-gnueabi-strip'
USE_NLS=''
VERSION='0.0.1'
XGETTEXT=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='/usr/bin'
build='i686-linux'
build_alias='i686-linux'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host='arm-angstrom-linux-gnueabi'
host_alias='arm-angstrom-linux-gnueabi'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='/usr/include'
infodir='/usr/share/info'
install_sh='/home/saurabhg/Desktop/openmoko-sample2/install-sh'
libdir='/usr/lib'
libexecdir='/usr/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/sbin'
sharedstatedir='/usr/com'
sysconfdir='/etc'
target_alias='arm-angstrom-linux-gnueabi'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "openmoko-sample"
#define PACKAGE_TARNAME "openmoko-sample"
#define PACKAGE_VERSION "0.0.1"
#define PACKAGE_STRING "openmoko-sample 0.0.1"
#define PACKAGE_BUGREPORT "http://www.openmoko.org/"
#define PACKAGE "openmoko-sample"
#define VERSION "0.0.1"
configure: exit 77
------------------------------************************************************-----------------------------------


Reply With Quote