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 23/02/2008, à 21:34

shoot76

C compiler cannot create executables ( veritable probleme !!! )

Bonsoir messieurs ( et mesdâmes si il y en a ), je veux compiler wine après avoir appliqué le 3dmark patch ( pour l'alpha de call of duty 4 ) et je reçois l'erreur suivante :

jerome@jerome-desktop:~/wine/wine-0.9.50$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
jerome@jerome-desktop:~/wine/wine-0.9.50$

-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 Wine configure 0.9.50, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure 

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

hostname = jerome-desktop
uname -m = x86_64
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 21:45:15 GMT 2007

/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:1889: checking build system type
configure:1907: result: x86_64-unknown-linux-gnu
configure:1929: checking host system type
configure:1944: result: x86_64-unknown-linux-gnu
configure:2010: checking whether make sets $(MAKE)
configure:2031: result: yes
configure:2088: checking for gcc
configure:2115: result: gcc -m32
configure:2353: checking for C compiler version
configure:2360: gcc -m32 --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
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:2363: $? = 0
configure:2370: gcc -m32 -v >&5
Using built-in specs.
Target: x86_64-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.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2373: $? = 0
configure:2380: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2383: $? = 1
configure:2406: checking for C compiler default output file name
configure:2433: gcc -m32    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:2436: $? = 1
configure:2474: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "0.9.50"
| #define PACKAGE_STRING "Wine 0.9.50"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2481: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=x86_64-unknown-linux-gnu
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC='gcc -m32'
ac_cv_prog_make_make_set=yes

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

ALSALIBS=''
AR=''
AS='as --32'
AUDIOIOLIBS=''
BISON=''
BUILTINFLAG=''
CARBONLIB=''
CC='gcc -m32'
CFLAGS=''
COREAUDIO=''
COREFOUNDATIONLIB=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTEST=''
CROSSWINDRES=''
CRTLIBS=''
CXX='g++ -m32'
CXXFLAGS=''
DEFS=''
DEPENDENCIES=''
DISKARBITRATIONLIB=''
DLLEXT=''
DLLFLAGS=''
DLLTOOL=''
DLLWRAP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ESDCONFIG=''
ESDINCL=''
ESDLIBS=''
EXEEXT=''
EXTRACFLAGS=''
EXTRA_BINARIES=''
FLEX=''
FONTCONFIGINCL=''
FONTFORGE=''
FONTSSUBDIRS=''
FREETYPEINCL=''
FREETYPELIBS=''
GLU32FILES=''
GPHOTO2INCL=''
GPHOTO2LIBS=''
GREP=''
HALINCL=''
IMPLIBEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IOKITLIB=''
LCMSLIBS=''
LD='ld -m elf_i386'
LDAPLIBS=''
LDCONFIG=''
LDD=''
LDDLLFLAGS=''
LDEXECFLAGS=''
LDFLAGS=''
LDPATH=''
LDRPATH_INSTALL=''
LDRPATH_LOCAL=''
LDSHARED=''
LIBDL=''
LIBEXT=''
LIBOBJS=''
LIBPOLL=''
LIBPTHREAD=''
LIBS=''
LINT=''
LINTFLAGS=''
LN=''
LN_S=''
LTLIBOBJS=''
MAIN_BINARY=''
MINGWAR=''
NASLIBS=''
OBJEXT=''
OPENGLFILES=''
OPENGL_LIBS=''
PACKAGE_BUGREPORT='wine-devel@winehq.org'
PACKAGE_NAME='Wine'
PACKAGE_STRING='Wine 0.9.50'
PACKAGE_TARNAME='wine'
PACKAGE_VERSION='0.9.50'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PRELINK=''
QUARTZFILES=''
RANLIB=''
RESOLVLIBS=''
SANEINCL=''
SECURITYLIB=''
SET_MAKE=''
SHELL='/bin/bash'
SOCKETLIBS=''
STRIP=''
TOOLSDIR=''
WIN16_FILES='$(WIN16_FILES)'
WIN16_INSTALL='$(WIN16_INSTALL)'
WINDRES=''
XFILES=''
XLIB=''
XMKMF=''
XML2INCL=''
XML2LIBS=''
XSLTINCL=''
XSLTLIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AS=''
ac_ct_CC='gcc -m32'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
ft_devel=''
gphoto2_devel=''
gphoto2port_devel=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='i386'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sane_devel=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MAKE_DLL_RULES=''
MAKE_IMPLIB_RULES=''
MAKE_PROG_RULES=''
MAKE_RULES=''
MAKE_TEST_RULES=''

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

#define PACKAGE_NAME "Wine"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "0.9.50"
#define PACKAGE_STRING "Wine 0.9.50"
#define PACKAGE_BUGREPORT "wine-devel@winehq.org"

configure: exit 77

le probleme c'est que je n'y comprend rien, j'ai deja compilé mais un simple sudo apt-get install build-essential suffisait ! là il est installé et j'ai cette erreur ! que dois-je faire ? roll

merci de votre aide


~ Data-sientist freelance : https://skulder.fr

Hors ligne

#2 Le 23/02/2008, à 22:36

Sysko le prospecteur

Re : C compiler cannot create executables ( veritable probleme !!! )

si  tu veux  ,  il  y  a un script  play-on-linux  ,  pour cod 4  qui  t'installe / compile/patch   un  wine  pour jouer  à COD4 
http://forum.ubuntu-fr.org/viewtopic.php?id=165841

sa évite à avoir à se casser  à la tête  car ensuite comme c'est expliqué dans le thread  il y a quelque modif  à faire dans la config  de wine mais bon tu en es pas encore là
ensuite si ton problème persiste  on essaiera de voir en  détail  ce qui ne va pas  ( à moins que quelqu'un voit tout de sutie d'où vient le problème .... )


bon il semblerait que le problème vient du fait que tu as une des bibliothèques  qui ne soit pas fait pour le  64  bit  (   donc si  tu  n'es  sous  une   install  64  bit  mon intuition tombe à l'eau )


Projet tatoeba : projet collaboratif visant à créer un corpus de phrases d'exemples traduites dans le plus de langues possibles

Hors ligne

#3 Le 24/02/2008, à 00:02

Link31

Re : C compiler cannot create executables ( veritable probleme !!! )

Essaie ça :

sudo apt-get install ia32-libs ia32-libs-dev

Hors ligne

#4 Le 24/02/2008, à 00:05

best_friend_fr

Re : C compiler cannot create executables ( veritable probleme !!! )

Moi je dirais même essaye

sudo apt-get install build-essential libc6-dev

sudo apt-get replace langage_sms by grammaire orthographe ponctuation
La documentation est avant tout faite pour ceux qui posent les questions, et non ceux qui y répondent
Best_friend_fr

Hors ligne

#5 Le 24/02/2008, à 02:13

Link31

Re : C compiler cannot create executables ( veritable probleme !!! )

En l'occurrence, il manque des bibliothèques 32 bits, donc je ne suis pas certain qu'installer des bibliothèques 64 bits règle le problème...

Hors ligne

#6 Le 24/02/2008, à 09:11

shoot76

Re : C compiler cannot create executables ( veritable probleme !!! )

ok merci a tous ! mais j'ai resolu mon probleme plus simplement, je suis au courant du script PlayOnLinux mais il est pour la version entiere ! or moi je voulais installer la demo avant d'acheter le jeu wink j'ai trouvé un package deb sur le net de wine 0.9.55 avec le patch appliqué, je doit dire que ça fonctionne, il marche même mieu que sous vista ! merci quand même de votre aide.


~ Data-sientist freelance : https://skulder.fr

Hors ligne