GCC Cannot Build Executables

Bug #77058 reported by raid517 on 2006-12-24
2
Affects Status Importance Assigned to Milestone
kaffeine (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gcc-4.1

Hi, when trying to build the latest Kaffeine releases (since Kaffeine engine is also broken) on feisty with the latest GCC 4.1, I get an error message from GCC saying: "Compiler cannot build executables."

Here is the output of my 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 configure, which was
generated by GNU Autoconf 2.60. Invocation command line was

  $ ./configure

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

hostname = mobile1
uname -m = i686
uname -r = 2.6.19-7-generic
uname -s = Linux
uname -v = #2 SMP Mon Dec 4 16:46:19 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/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games

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

configure:2164: checking build system type
configure:2182: result: i686-pc-linux-gnuoldld
configure:2204: checking host system type
configure:2219: result: i686-pc-linux-gnuoldld
configure:2241: checking target system type
configure:2256: result: i686-pc-linux-gnuoldld
configure:2317: checking for a BSD-compatible install
configure:2373: result: /usr/bin/install -c
configure:2388: checking for -p flag to install
configure:2401: result: yes
configure:2412: checking whether build environment is sane
configure:2455: result: yes
configure:2507: checking for gawk
configure:2523: found /usr/bin/gawk
configure:2534: result: gawk
configure:2545: checking whether make sets $(MAKE)
configure:2566: result: yes
configure:2768: checking for kde-config
configure:2830: result: /usr/bin/kde-config
configure:2925: checking where to install
configure:2929: result: /usr (as returned by kde-config)
configure:2984: checking for style of include used by make
configure:3012: result: GNU
configure:3162: checking for gcc
configure:3178: found /usr/bin/gcc
configure:3189: result: gcc
configure:3427: checking for C compiler version
configure:3434: gcc --version >&5
gcc (GCC) 4.1.2 20061212 (prerelease) (Ubuntu 4.1.1-21ubuntu3)
Copyright (C) 2006 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:3437: $? = 0
configure:3444: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061212 (prerelease) (Ubuntu 4.1.1-21ubuntu3)
configure:3447: $? = 0
configure:3454: gcc -V >&5
gcc: '-V' option must have argument
configure:3457: $? = 1
configure:3480: checking for C compiler default output file name
configure:3507: gcc conftest.c >&5
collect2: cannot find 'ld'
configure:3510: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kaffeine"
| #define VERSION "3.5.5"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3549: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnuoldld
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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=i686-pc-linux-gnuoldld
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnuoldld
kde_cv_path=/usr/bin/kde-config
kde_cv_path_kde_config=/usr/bin/kde-config

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

ACLOCAL='${SHELL} /home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/missing --run tar'
AR=''
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=' '
CFLAGS_DPMS=''
CFLAGS_GSTREAMER=''
CFLAGS_OGGVORBIS=''
CFLAGS_XINE=''
CFLAGS_XINERAMA=''
CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in $(top_srcdir)/./kaffeine/configure.in.bot $(top_srcdir)/./kaffeine/configure.in.in'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DCOPIDL2CPP=''
DCOPIDL=''
DCOPIDLNG=''
DCOP_DEPENDENCIES=''
DEFS=''
DEPDIR='.deps'
DOXYGEN=''
DOXYGEN_PROJECT_NAME=''
DOXYGEN_PROJECT_NUMBER=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_PERMISSIVE_FLAG=''
EXEEXT=''
F77=''
FFLAGS=''
FRAMEWORK_COREAUDIO=''
GMSGFMT=''
GREP=''
HAVE_GCC_VISIBILITY=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KCFG_DEPENDENCIES=''
KCONFIG_COMPILER=''
KDECONFIG='/usr/bin/kde-config'
KDE_CHECK_PLUGIN=''
KDE_EXTRA_RPATH=''
KDE_HAS_DOXYGEN=''
KDE_HAVE_DOT=''
KDE_INCLUDES=''
KDE_LDFLAGS=''
KDE_MT_LDFLAGS=''
KDE_MT_LIBS=''
KDE_NO_UNDEFINED=''
KDE_PLUGIN=''
KDE_RPATH=''
KDE_USE_CLOSURE_FALSE=''
KDE_USE_CLOSURE_TRUE=''
KDE_USE_FINAL_FALSE=''
KDE_USE_FINAL_TRUE=''
KDE_USE_FPIE=''
KDE_USE_NMCHECK_FALSE=''
KDE_USE_NMCHECK_TRUE=''
KDE_USE_PIE=''
KDE_XSL_STYLESHEET=''
LDFLAGS=''
LDFLAGS_AS_NEEDED=''
LDFLAGS_NEW_DTAGS=''
LIBCOMPAT=''
LIBCRYPT=''
LIBDL=''
LIBJPEG=''
LIBOBJS=''
LIBPNG=''
LIBPTHREAD=''
LIBRESOLV=''
LIBS=''
LIBSM=''
LIBSOCKET=''
LIBTOOL=''
LIBUCB=''
LIBUTIL=''
LIBZ=''
LIB_ARTS=''
LIB_DPMS=''
LIB_GSTREAMER=''
LIB_KAB=''
LIB_KABC=''
LIB_KDECORE=''
LIB_KDED=''
LIB_KDEPIM=''
LIB_KDEPRINT=''
LIB_KDEUI=''
LIB_KDNSSD=''
LIB_KFILE=''
LIB_KFM=''
LIB_KHTML=''
LIB_KIMPROXY=''
LIB_KIO=''
LIB_KJS=''
LIB_KNEWSTUFF=''
LIB_KPARTS=''
LIB_KSPELL=''
LIB_KSYCOCA=''
LIB_KUNITTEST=''
LIB_KUTILS=''
LIB_LAME=''
LIB_OGGVORBIS=''
LIB_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XINE=''
LIB_XINERAMA=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/missing --run makeinfo'
MAKEKDEWIDGETS=''
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT=''
PACKAGE='kaffeine'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
QTDOCDIR=''
QTE_NORTTI=''
QT_INCLUDES=''
QT_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TOPSUBDIRS=''
UIC=''
UIC_TR=''
USER_INCLUDES=''
USER_LDFLAGS=''
USE_EXCEPTIONS=''
USE_RTTI=''
USE_THREADS=''
VERSION='3.5.5'
WOVERLOADED_VIRTUAL=''
XGETTEXT=''
XMKMF=''
XMLLINT=''
X_EXTRA_LIBS=''
X_INCLUDES=''
X_LDFLAGS=''
X_PRE_LIBS=''
X_RPATH=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
all_includes=''
all_libraries=''
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='${exec_prefix}/bin'
build='i686-pc-linux-gnuoldld'
build_alias=''
build_cpu='i686'
build_os='linux-gnuoldld'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
doc_SUBDIR_included_FALSE=''
doc_SUBDIR_included_TRUE=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnuoldld'
host_alias=''
host_cpu='i686'
host_os='linux-gnuoldld'
host_vendor='pc'
htmldir='${docdir}'
include_ARTS_FALSE=''
include_ARTS_TRUE=''
include_x11_FALSE=''
include_x11_TRUE=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/home/jebus197/My_Downloads/kaffeine-0.8.3/kaffeine-0.8.3/admin/install-sh'
kaffeine_SUBDIR_included_FALSE=''
kaffeine_SUBDIR_included_TRUE=''
kde_appsdir=''
kde_bindir=''
kde_confdir=''
kde_datadir=''
kde_htmldir=''
kde_icondir=''
kde_includes=''
kde_kcfgdir=''
kde_libraries=''
kde_libs_htmldir='/usr/share/doc/kde/HTML'
kde_libs_prefix='/usr'
kde_locale=''
kde_mimedir=''
kde_moduledir=''
kde_qtver=''
kde_servicesdir=''
kde_servicetypesdir=''
kde_sounddir=''
kde_styledir=''
kde_templatesdir=''
kde_wallpaperdir=''
kde_widgetdir=''
kdeinitdir=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
po_SUBDIR_included_FALSE=''
po_SUBDIR_included_TRUE=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
qt_includes=''
qt_libraries=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnuoldld'
target_alias=''
target_cpu='i686'
target_os='linux-gnuoldld'
target_vendor='pc'
unsermake_enable_pch_FALSE=''
unsermake_enable_pch_TRUE=''
with_dvb_FALSE=''
with_dvb_TRUE=''
with_gstreamer_FALSE=''
with_gstreamer_TRUE=''
with_lame_FALSE=''
with_lame_TRUE=''
with_oggvorbis_FALSE=''
with_oggvorbis_TRUE=''
x_includes='NONE'
x_libraries='NONE'
xdg_appsdir=''
xdg_directorydir=''
xdg_menudir=''

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "kaffeine"
#define VERSION "3.5.5"

configure: exit 77

description: updated
Willem Dreyer (willemdreyer) wrote :

Do you have make installed?

Willem Dreyer (willemdreyer) wrote :

Sorry about that I meant g++

Matthias Klose (doko) wrote :

not a gcc bug. try to find out why ld cannot be found on your system.

I ran into this same error when trying to build just about any package in an out-of-the-box install of Xubuntu 6.10 with all updates as of Jan 30, 2007. It appears that by default the required packages are not installed in Xubuntu, maybe all Ubuntu distros?

As a workaround, try installing the "build-essentials" package using Synaptic or the apt-get command. It got me past this particular problem.

sounds like build-essentials needs to be installed. not a kaffeine bug.

Changed in kaffeine:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers