Il manquerait pas le paquet glibc-devel ou qqchose comme ça ??
bipparou
C est quelle version de gcc ?
Je pense que tu devrais essayer d installer une nouvelle version de gcc (sait on jamais !)...
Ou essaye de compiler avec cc plutot que gcc ...
lamatrice
<kadreg<
[root@linuxien root]# gcc -o toto toto.c
toto.c: In function `main':
toto.c:1: warning: return type of `main' is not `int'
/usr/bin/ld: cannot open crt1.o: Aucun fichier ou rpertoire de ce type
collect2: ld returned 1 exit status
[root@linuxien root]# ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.24)
[root@linuxien root]# !help!
kadreg
Tu as lancé la compilation du programme vide que j'ai écrit plus haut ?
KesKiDi ?
Et sinon, un
ld -v
ca affiche quoi ?
lamatrice
ceci c'est avec redhat 6.2 au départ j'ai fait une installation custom.
puis j'ai ajouter gcc et make...
mais j'ai l'impression que j'ai oublié qqchose.
<kadreg A priori, il a trouvé gcc. On dirait plutot qu'il manque <les binutils. <Et puis il sert à rien gcc
pourquoi y sert à rien, il compile non ?
kadreg
A priori, il a trouvé gcc. On dirait plutot qu'il manque les binutils.
Et puis il sert à rien gcc :D
verdoux
lamatrice a écrit a écrit :
checking bison version... 1.28 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables.
[root@linuxien php-4.0.4pl1]#
Si gcc ne marche pas, c'est génant :D
kadreg
makeinfo, c'est un utilitaire qui permet de creer une aide hypertexte.
Tu peux compiler avec gcc ?
crée le fichier toto.c
Code :
void main () {}
et fait un gcc -o toto toto.c
Qu'es-ce qu'il dit ?
lamatrice
installation de php4
après le ./configure il refuse qqun à une idée du problème :
makeinfo c'est quoi?
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.28 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
[root@linuxien php-4.0.4pl1]#