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 -m = x86_64
uname -r = 2.6.10-5-amd64-generic
uname -s = Linux
uname -v = #1 Tue Apr 5 12:21:57 UTC 2005
/usr/bin/uname -p = 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:1540: checking build system type
configure:1558: result: x86_64-unknown-linux-gnu
configure:1566: checking host system type
configure:1580: result: x86_64-unknown-linux-gnu
configure:1606: checking for a BSD-compatible install
configure:1661: result: /usr/bin/install -c
configure:1672: checking whether build environment is sane
configure:1715: result: yes
configure:1748: checking for gawk
configure:1777: result: no
configure:1748: checking for mawk
configure:1764: found /usr/bin/mawk
configure:1774: result: mawk
configure:1784: checking whether make sets $(MAKE)
configure:1804: result: yes
configure:1968: checking whether to enable maintainer-specific portions of Makefiles
configure:1977: result: no
configure:2064: checking for gcc
configure:2080: found /usr/bin/gcc
configure:2090: result: gcc
configure:2334: checking for C compiler version
configure:2337: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2340: $? = 0
configure:2342: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs
Configured with: ../src/configure -v --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:2347: gcc -V </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) -c -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