Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/04/2008, à 14:06

LAS

C compiler cannot create executables

Salut,
j'ai installe Hardy Heron sur un Pentium 4 2.8....
J'ai voulu compiler un plugin pour mon video player malheureusement il n'existe pas sous forme de .deb

En tapant ./configure
je recois a la fin du checking :

checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

et voici le 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 = Snake
uname -m = i686
uname -r = 2.6.24-12-generic
uname -s = Linux
uname -v = #1 SMP Wed Mar 12 23:01:54 UTC 2008

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

/bin/arch              = unknown
/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/games


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

configure:2126: checking build system type
configure:2144: result: i686-pc-linux-gnulibc1
configure:2166: checking host system type
configure:2181: result: i686-pc-linux-gnulibc1
configure:2203: checking target system type
configure:2218: result: i686-pc-linux-gnulibc1
configure:2279: checking for a BSD-compatible install
configure:2335: result: /usr/bin/install -c
configure:2350: checking for -p flag to install
configure:2363: result: yes
configure:2374: checking whether build environment is sane
configure:2417: result: yes
configure:2469: checking for gawk
configure:2499: result: no
configure:2469: checking for mawk
configure:2485: found /usr/bin/mawk
configure:2496: result: mawk
configure:2507: checking whether make sets $(MAKE)
configure:2528: result: yes
configure:2730: checking for kde-config
configure:2792: result: /usr/bin/kde-config
configure:2887: checking where to install
configure:2891: result: /usr (as returned by kde-config)
configure:2946: checking for style of include used by make
configure:2974: result: GNU
configure:3124: checking for gcc
configure:3140: found /usr/bin/gcc
configure:3151: result: gcc
configure:3389: checking for C compiler version
configure:3396: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu6)
Copyright (C) 2007 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:3399: $? = 0
configure:3406: 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 --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu6)
configure:3409: $? = 0
configure:3416: gcc -V >&5
gcc: '-V' option must have argument
configure:3419: $? = 1
configure:3442: checking for C compiler default output file name
configure:3469: gcc     conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3472: $? = 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-sc-plugin"
| #define VERSION "3.5.5"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3511: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnulibc1
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_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-gnulibc1
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
ac_cv_target=i686-pc-linux-gnulibc1
kde_cv_path=/usr/bin/kde-config
kde_cv_path_kde_config=/usr/bin/kde-config

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

ACLOCAL='${SHELL} /home/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/missing --run tar'
AR=''
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/missing --run automake-1.9'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=' '
CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/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_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_POLL=''
LIB_QPE=''
LIB_QT=''
LIB_SMB=''
LIB_X11=''
LIB_XEXT=''
LIB_XRENDER=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/missing --run makeinfo'
MAKEKDEWIDGETS=''
MCOPIDL=''
MEINPROC=''
MOC=''
MSGFMT=''
NOOPT_CFLAGS=''
NOOPT_CXXFLAGS=''
OBJEXT=''
PACKAGE='kaffeine-sc-plugin'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
QTDOCDIR=''
QTE_NORTTI=''
QT_INCLUDES=''
QT_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
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-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
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/las/Logiciels/kaffeine-sc-plugin-0.3.8/admin/install-sh'
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}'
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-gnulibc1'
target_alias=''
target_cpu='i686'
target_os='linux-gnulibc1'
target_vendor='pc'
unsermake_enable_pch_FALSE=''
unsermake_enable_pch_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-sc-plugin"
#define VERSION "3.5.5"

configure: exit 77

est-ce un bug ? ou bien un paquet manquant ?

Dernière modification par LAS (Le 04/04/2008, à 14:51)


First they ignore you, then they laught at you, then they fight you, then you win.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ubuntu 15.10 | Laptop Asus X550L

Hors ligne

#2 Le 04/04/2008, à 14:10

michel2652

Re : C compiler cannot create executables

Bonjour,

@ LAS,

STP, utilise les balises [ Code ] pour coller du texte au km, wink
Merci.

A+

#3 Le 05/04/2008, à 18:59

LAS

Re : C compiler cannot create executables

@ Michel2652 : c'est bon, c regle...
-------------

J'ai regle le probleme du C Compiler (en installant le paquet build-tools je crois), mais j'ai rencontre un autre probleme a la fin de ./configure :

checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!

je suis entrain d'installer xorg, et xorg-dev
dois-je ouvrir un nouveau sujet pour ce probleme ?


First they ignore you, then they laught at you, then they fight you, then you win.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ubuntu 15.10 | Laptop Asus X550L

Hors ligne

#4 Le 05/04/2008, à 19:13

LAS

Re : C compiler cannot create executables

et voila, j'ai installe xorg et xorg-dev, l'erreur de x window a disparu.
Mais j'ai encore une autre erreur:

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!

Je ne comprend pas. est ce que c'est a cause de la version Beta de Hardy ou bien c toujours comme ca ??


First they ignore you, then they laught at you, then they fight you, then you win.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ubuntu 15.10 | Laptop Asus X550L

Hors ligne

#5 Le 11/09/2014, à 20:45

Arnold59

Re : C compiler cannot create executables

Bonjour,

J'ai également ce message d'erreur lors de tentative de compilation de programme :

Message :

configure: error: C compiler cannot create executables

Pour information : gcc 4.8.2 installé :
gcc --version

gcc (GCC) 4.8.2
Copyright © 2013 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de copie.  Il n'y a PAS
GARANTIE; ni implicite pour le MARCHANDAGE ou pour un BUT PARTICULIER.

D'où vient le problème ?

Dernière modification par Arnold59 (Le 11/09/2014, à 21:28)

Hors ligne