Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2960 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  Que veut dire :'C compiler cannot create executables'

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Que veut dire :'C compiler cannot create executables'

n°699502
damd22
Posté le 28-06-2005 à 17:22:09  profilanswer
 

Quand je veux installé un prog sous un syteme IRIX ( base UNIX), j'obtiens l'erreur suivante : "C compiler cannot create executables". Que veut-elle dire?
 
MERCI D'AVANCE

mood
Publicité
Posté le 28-06-2005 à 17:22:09  profilanswer
 

n°699506
farib
Posté le 28-06-2005 à 17:23:50  profilanswer
 

bah ça veut dire ce qu'il y a marqué


---------------
Bitcoin, Magical Thinking, and Political Ideology
n°699519
damd22
Posté le 28-06-2005 à 17:30:24  profilanswer
 

:pt1cable: .........
 
tu traduit comment au niveau logiciel? elle vient d'ou l'erreur.
 
Voici plus de rensignements:
l'erreur que j'obtiens:

Citation :


bash-2.05b# ./configure
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


 
et le fichier config.log:
 

Citation :

bash-2.05b# more 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 GD configure 2.0.33, which was
generated by GNU Autoconf 2.59.  Invocation command line was
 
  $ ./configure  
 
## --------- ##
## Platform. ##
## --------- ##
 
hostname = lsgi14-1
uname -m = IP32
uname -r = 6.5
uname -s = IRIX
uname -v = 10070056
 
/usr/bin/uname -p = mips
/bin/uname -X     = unknown
 
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
 
PATH: /usr/sbin
PATH: /usr/bsd
PATH: /sbin
PATH: /usr/bin
PATH: /etc
PATH: /usr/etc
PATH: /usr/bin/X11
PATH: /usr/nekoware/bin
PATH: /usr/freeware/bin
 
 
## ----------- ##
## Core tests. ##
## ----------- ##
 
configure:1555: checking for a BSD-compatible install
configure:1610: result: config/install-sh -c
configure:1621: checking whether build environment is sane
configure:1664: result: yes
configure:1729: checking for gawk
configure:1758: result: no
configure:1729: checking for mawk
configure:1758: result: no
configure:1729: checking for nawk
configure:1745: found /usr/bin/nawk
configure:1755: result: nawk
configure:1765: checking whether make sets $(MAKE)
configure:1785: result: yes
configure:2002: checking for gcc
configure:2018: found /usr/freeware/bin/gcc
configure:2028: result: gcc
configure:2272: checking for C compiler version
configure:2275: gcc --version </dev/null >&5
gcc (GCC) 3.3
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:2278: $? = 0
configure:2280: gcc -v </dev/null >&5
Reading specs from /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/specs
Configured with: ../configure --prefix=/usr/freeware --enable-version-specific-runtime-libs --disable-shared --enable-threads --enable-haifa --enable-libgcj --disable-c-mbchar
Thread model: single
gcc version 3.3
configure:2283: $? = 0
configure:2285: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2288: $? = 1
configure:2311: checking for C compiler default output file name
configure:2314: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2317: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|  
| #define PACKAGE_NAME "GD"
| #define PACKAGE_TARNAME "gd"
| #define PACKAGE_VERSION "2.0.33"
| #define PACKAGE_STRING "GD 2.0.33"
| #define PACKAGE_BUGREPORT "gd@boutell.com"
| #define PACKAGE "gd"
| #define VERSION "2.0.33"
| /* end confdefs.h.  */
|  
| int
| main ()
| {
|  
|   ;
|   return 0;
| }
configure:2355: error: C compiler cannot create executables
See `config.log' for more details.
 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
 
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_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_prog_AWK=nawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
 
## ----------------- ##
## Output variables. ##
## ----------------- ##
 
ACLOCAL='${SHELL} /usr/local/gd-2.0.33/config/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/local/gd-2.0.33/config/missing --run tar'
AUTOCONF='${SHELL} /usr/local/gd-2.0.33/config/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/gd-2.0.33/config/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/gd-2.0.33/config/missing --run automake-1.9'
AWK='nawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='print -r'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FEATURES='GD_GIF'
FREETYPE_CONFIG=''
GDLIBNAME='gd'
GDLIB_MAJOR='2'
GDLIB_MINOR='0'
GDLIB_REVISION='33'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBICONV=''
LIBOBJS=''
LIBPNG12_CONFIG=''
LIBPNG_CONFIG=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/local/gd-2.0.33/config/missing --run makeinfo'
OBJEXT=''
PACKAGE='gd'
PACKAGE_BUGREPORT='gd@boutell.com'
PACKAGE_NAME='GD'
PACKAGE_STRING='GD 2.0.33'
PACKAGE_TARNAME='gd'
PACKAGE_VERSION='2.0.33'
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='2.0.33'
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/local/gd-2.0.33/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
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 "gd"
#define PACKAGE_BUGREPORT "gd@boutell.com"
#define PACKAGE_NAME "GD"
#define PACKAGE_STRING "GD 2.0.33"
#define PACKAGE_TARNAME "gd"
#define PACKAGE_VERSION "2.0.33"
#define VERSION "2.0.33"
 
configure: exit 77


 
J'espere etre plus clair et merci d'avance pour la reponse ( ça serit coll, ça fait une journée que je suis dessus...

n°699523
deather2
Posté le 28-06-2005 à 17:34:35  profilanswer
 

il doit manquer l'assembleur `as'.

n°699525
damd22
Posté le 28-06-2005 à 17:36:20  profilanswer
 

c'est à dire?
 
merci

n°699536
Dark_Schne​ider
Close the World, Open the Net
Posté le 28-06-2005 à 17:53:15  profilanswer
 

Citation :


gcc: installation problem, cannot exec `as': No such file or directory  


 
un man as donne :

Citation :


AS(1)                     Outils de Développement GNU                    AS(1)
 
NOM
       as - l'assembleur GNU portable.
 
(...)
DESCRIPTION
       GNU  as  est en réalité une famille d'assembleurs. Si vous utilisez (ou
       avez utilisé) l'assembleur  GNU  sur  une  architecture,  vous  devriez
       retrouver  un  environnement  assez similaire quand vous l'utilisez sur
       une autre architecture. Chaque version a beaucoup en  commun  avec  les
       autres,  ceci  incluant  les formats de fichiers objets, la plupart des
       directives assembleur (souvent appelées pseudo-opérations) et  la  syn-
       taxe de l'assembleur.
 
       as  est  destiné  principalement à assembler la sortie du compilateur C
       GNU pour utilisation par l'éditeur  de  liens.  Néanmoins,  nous  avons
       essayé de faire en sorte que as assemble correctement tout ce qui pour-
       rait l'être par d'autres assembleurs pour la même machine. Cela ne sig-
       nifie  pas  que  as utilise toujours la même syntaxe qu'un autre assem-
       bleur pour la même architecture ; par exemple, nous connaissons de nom-
       breuses  versions de syntaxes de langages d'assemblage 680x0 incompati-
       bles.
 
       Chaque fois que vous exécutez as, il assemble exactement  un  programme
       source.  Le programme source est composé d'un ou de plusieurs fichiers.
       (L'entrée standard est également un fichier).


 
 
donc tu dois installer as. Chez moi ( sous Linux Mandriva ) as est fournir avec le package binutils


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°699542
damd22
Posté le 28-06-2005 à 18:03:23  profilanswer
 

Merci pour l'info. Je dois vraiment avoir la poisse ( ou un gros pb d'install) : j'ai recupere le package binutils mais quand je fait un ./configure, j'aobtiens la meme erreur :

Citation :


./configure
loading cache ./config.cache
checking host system type... mips-sgi-irix6.5
checking target system type... mips-sgi-irix6.5
checking build system type... mips-sgi-irix6.5
checking for a BSD compatible install... ./install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.


 
une idée?

n°699543
farib
Posté le 28-06-2005 à 18:05:24  profilanswer
 

à ton avis ?
 
si t'as pas de compilo, tu peux pas compiler le compilo....
 
 
trouve toi un paquet binaire, et non source.


---------------
Bitcoin, Magical Thinking, and Political Ideology
n°699544
damd22
Posté le 28-06-2005 à 18:06:54  profilanswer
 

Voici le fichier config.log quand j'install binutil:

Citation :


configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:1809: checking for gcc
configure:1922: checking whether the C compiler (gcc  ) works
configure:1938: gcc -o conftest    conftest.c  1>&5
gcc: installation problem, cannot exec `as': No such file or directory
configure: failed program was:
 
#line 1933 "configure"
#include "confdefs.h"
 
main(){return(0);}

n°699548
damd22
Posté le 28-06-2005 à 18:09:48  profilanswer
 

farib a écrit :

à ton avis ?
 
si t'as pas de compilo, tu peux pas compiler le compilo....
 
 
trouve toi un paquet binaire, et non source.


 
tu as une idée où le trouvé?

mood
Publicité
Posté le 28-06-2005 à 18:09:48  profilanswer
 

n°699554
Dark_Schne​ider
Close the World, Open the Net
Posté le 28-06-2005 à 18:29:05  profilanswer
 

http://www-it.et.tudelft.nl/~erik/gcc/
http://www.interlog.com/~kcozens/s [...] x-gcc.html
 
pris 10 secondes après avoir fais ceci : http://www.google.fr/search?q=gcc+ [...] 8&oe=UTF-8
 
après tu adaptes à ta version de Irix et de gcc


Message édité par Dark_Schneider le 28-06-2005 à 18:29:41

---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°699742
astero-H
Posté le 29-06-2005 à 07:01:18  profilanswer
 

T'aurais pas fait une mise à jour de binutils par hasard ?
Ou d'un autre paquet du style (gcc, libstdc++...) ?
 
Moi j'ai déjà eu plusieurs fois ce genre d'erreur, ça se règle en recréant son profil de compilation :
man binutils-config
 
Ou peut être aussi :
man gcc-config
 

n°713446
Ryo65
Posté le 31-07-2005 à 12:27:17  profilanswer
 

Bonjour à tous.
 
J'ai aussi un problème avec le compilateur. Il me dit aussi checking for C compiler default output... configure: error: C compiler cannot create executables
 
Malgré les explications déjà donné je ne trouve pas l'erreur.
 
Voici le contenu du fichier config.log
 

Spoiler :

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.53.  Invocation command line was
 
  $ ./configure --with-showlistmodes --enable-hub --with-listen=5 --with-dpath=/var/run/ircd/Unreal --with-spath=/var/run/ircd/Unreal/src/ircd --with-nick-history=2000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=82.244.7.212 --with-permissions=0600 --with-fd-setsize=1024 --enable-dynamic-linking
 
## --------- ##
## Platform. ##
## --------- ##
 
hostname = ******
uname -m = i686
uname -r = 2.6.11.9-vs2.0-rc1-node
uname -s = Linux
uname -v = #1 SMP Fri May 13 11:52:23 CEST 2005
 
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
 
/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
 
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games
 
 
## ----------- ##
## Core tests. ##
## ----------- ##
 
configure:1271: checking for gcc
configure:1287: found /usr/bin/gcc
configure:1297: result: gcc
configure:1541: checking for C compiler version
configure:1544: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
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:1547: $? = 0
configure:1549: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-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 --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:1552: $? = 0
configure:1554: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1557: $? = 1
configure:1583: checking for C compiler default output
configure:1586: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1589: $? = 1
configure: failed program was:
#line 1560 "configure"
#include "confdefs.h"
 
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
 
  ;
  return 0;
}
configure:1616: error: C compiler cannot create executables
 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
 
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_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_prog_ac_ct_CC=gcc
 
## ----------- ##
## confdefs.h. ##
## ----------- ##
 
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
 
configure: exit 77


 
Merci de m'aider.

n°713447
mcjoedassi​n
Posté le 31-07-2005 à 12:39:54  profilanswer
 

question débile :
t'es root sur cette machine ?

n°713450
mcjoedassi​n
Posté le 31-07-2005 à 12:42:26  profilanswer
 

t'as cherché as sur la machine ?
locate as | grep as\$
ou
find / -name as

n°713502
Ryo65
Posté le 31-07-2005 à 15:18:49  profilanswer
 

Je suis root :)
 
et j'ai essayé d'installer as mais je trouve pas le paquet.
 
Binutils est déjà installé

n°713504
Ryo65
Posté le 31-07-2005 à 15:24:14  profilanswer
 

apparement j'ai trouvé il manquait libc6-dev :)
 
Merci quand même

n°957809
noshir
Posté le 26-09-2007 à 19:02:15  profilanswer
 

merci ce libc6-dev me manquait aussi sous linux fluxbuntu pour le meme probleme

n°1128905
e@tman
Posté le 17-04-2009 à 17:49:45  profilanswer
 

Bonjour a tous !
 
Je relance le topic parce que j'ai plus ou moins le meme problème, sauf que mon config.log indique que :
 
conftest.c:9: error: stray '@' in program
conftest.c:9: error: missing terminating " character
conftest.c:9: error: stray '@' in program
conftest.c:9:10: warning: missing terminating " character
conftest.c:9: error: missing terminating " character
 
Ainsi donc que :
 
configure:2726: error: C compiler cannot create executables
 
Je n'ai aucune idée de ce qu'est ce fichier ni d'ou il se trouve, et comme je suis dans une grosse boite un locate me donne des centaines de réponses...
 
Et meme problème : je ne suis pas root.
 
Merci d'avance !


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  Que veut dire :'C compiler cannot create executables'

 

Sujets relatifs
apt-get install alternc ne veut pas m'installer les dépendances"Can not create DirectShow Player"
[Debian] PHP4 veut utiliser Apache2 prefork et pas workerQuestions d'un débutant qui veut comprendre
Questions d'un débutant qui veut comprendreSolaris 10 x86 compiler DUC de no-ip.com
Firefox ne veut pas ouvrir nouvelle fenêtrewindows ne veut se connecter a mon linux samba
Compiler Bittornado en gtk2Impossible de compiler quoi que ce soit
Plus de sujets relatifs à : Que veut dire :'C compiler cannot create executables'


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR