Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old May 27th, 2005   #1
::DoGG::
A Carafe of Ubuntu
 
::DoGG::'s Avatar
 
Join Date: May 2005
Beans: 120
error: C compiler cannot create executables

i just installed gcc 3.3 and got : error: C compiler cannot create executables, when try to compile from sourcce. Any idea which config file should i change ??

P.S. Below is my config.log which was generated after unsuccesfull compilation.

PHP Code:
generated by GNU Autoconf 2.59.  Invocation command line was

  
$ ./configure 

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

hostname c124-148
uname 
-x86_64
uname 
-2.6.10-5-amd64-generic
uname 
-Linux
uname 
-#1 Tue Apr 5 12:21:57 UTC 2005

/usr/bin/uname -unknown
/bin/uname -X     unknown

/bin/arch              x86_64
/usr/bin/arch -k       unknown
/usr/convex/getsysinfo unknown
hostinfo               
unknown
/bin/machine           unknown
/usr/bin/oslevel       unknown
/bin/universe          unknown

PATH
: /usr/local/sbin
PATH
: /usr/local/bin
PATH
: /usr/sbin
PATH
: /usr/bin
PATH
: /sbin
PATH
: /bin
PATH
: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1540checking build system type
configure
:1558resultx86_64-unknown-linux-gnu
configure
:1566checking host system type
configure
:1580resultx86_64-unknown-linux-gnu
configure
:1606checking for a BSD-compatible install
configure
:1661result: /usr/bin/install -c
configure
:1672checking whether build environment is sane
configure
:1715resultyes
configure
:1748checking for gawk
configure
:1777resultno
configure
:1748checking for mawk
configure
:1764found /usr/bin/mawk
configure
:1774resultmawk
configure
:1784checking whether make sets $(MAKE)
configure:1804resultyes
configure
:1968checking whether to enable maintainer-specific portions of Makefiles
configure
:1977resultno
configure
:2064checking for gcc
configure
:2080found /usr/bin/gcc
configure
:2090resultgcc
configure
:2334checking for C compiler version
configure
:2337gcc --version </dev/null >&5
gcc 
(GCC3.3.5 (Debian 1:3.3.5-8ubuntu2)
Copyright (C2003 Free Software FoundationInc.
This is free softwaresee the source for copying conditions.  There is NO
warranty
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2340: $? = 0
configure
:2342gcc -</dev/null >&5
Reading specs from 
/usr/lib/gcc-lib/x86_64-linux/3.3.5/specs
Configured with
: ../src/configure ---enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib x86_64-linux
Thread model
posix
gcc version 3.3.5 
(Debian 1:3.3.5-8ubuntu2)
configure:2345: $? = 0
configure
:2347gcc -</dev/null >&5
gcc
: `-V' option must have argument
configure:2350: $? = 1
configure:2373: checking for C compiler default output file name
configure:2376: gcc    conftest.c  >&5
/usr/lib/gcc-lib/x86_64-linux/3.3.5/../../../../lib64/crt1.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure:2379: $? = 1
configure: failed program was:
| /* confdefs.h.  */

| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xmms-scrobbler"
| #define VERSION "0.3.6"
| /* end confdefs.h.  */

| int
| main ()
| {

|   ;
|   return 0;
| }
configure:2418: error: C compiler cannot create executables
See 
`config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
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=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_path_install='
/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='
${SHELL} /home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/missing --run aclocal-1.7'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='
${SHELL} /home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/missing --run tar'
AR=''
AUTOCONF='
${SHELL} /home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/missing --run autoconf'
AUTOHEADER='
${SHELL} /home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/missing --run autoheader'
AUTOMAKE='
${SHELL} /home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/missing --run automake-1.7'
AWK='
mawk'
BMP_CFLAGS=''
BMP_LIBS=''
CC='
gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='
echo'
DEFS=''
DEPDIR=''
ECHO='
echo'
ECHO_C=''
ECHO_N='
-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GLIB_CFLAGS=''
GLIB_CONFIG=''
GLIB_LIBS=''
GTK_CFLAGS=''
GTK_LIBS=''
INSTALL_DATA='
${INSTALL} -m 644'
INSTALL_PROGRAM='
${INSTALL}'
INSTALL_SCRIPT='
${INSTALL}'
INSTALL_STRIP_PROGRAM='
${SHELL} $(install_sh) --s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='
#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/missing --run makeinfo'
MAKE_BMP_FALSE=''
MAKE_BMP_TRUE=''
MAKE_XMMS_FALSE=''
MAKE_XMMS_TRUE=''
OBJEXT=''
PACKAGE='xmms-scrobbler'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.3.6'
XMMS_CFLAGS=''
XMMS_CONFIG=''
XMMS_DATA_DIR=''
XMMS_EFFECT_PLUGIN_DIR=''
XMMS_GENERAL_PLUGIN_DIR=''
XMMS_INPUT_PLUGIN_DIR=''
XMMS_LIBS=''
XMMS_OUTPUT_PLUGIN_DIR=''
XMMS_PLUGIN_DIR=''
XMMS_VERSION=''
XMMS_VISUALIZATION_PLUGIN_DIR=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
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='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/mizer/Desktop/kadu/admin/xmms-scrobbler-0.3.6/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "xmms-scrobbler"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.3.6"

configure: exit 77 
__________________
My Father`s description of shell :

" Hello ?? I think I broke your computer, i have a black screen and mouse is not working.."

Last edited by ::DoGG::; May 27th, 2005 at 09:00 AM..
::DoGG:: is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:57 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry