[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuration de g++



This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:575: checking for default print user
configure:603: checking for default print group
configure:658: checking for gawk
configure:690: checking for gcc
configure:803: checking whether the C compiler (gcc  ) works
configure:819: gcc -o conftest    conftest.c  1>&5
cpp: -lang-c: linker input file unused since linking not done
configure:845: checking whether the C compiler (gcc  ) is a cross-compiler
configure:850: checking whether we are using GNU C
configure:859: gcc -E conftest.c
cpp: -lang-c: linker input file unused since linking not done
configure:878: checking whether gcc accepts -g
configure:914: checking for c++
configure:914: checking for g++
configure:946: checking whether the C++ compiler (g++  ) works
configure:962: g++ -o conftest    conftest.C  1>&5
cpp: -lang-c++: linker input file unused since linking not done

-> /usr/bin/ld: cannot find -lstdc++

collect2: ld returned 1 exit status
configure: failed program was:

#line 957 "configure"
#include "confdefs.h"

int main(){return(0);}

Sur /usr/lib je dispose de :
libstdc++-2-libc6.1-1-2.9.0.so
libstdc++-3-libc6.1-2-2.10.0.so
libstdc++-3-libc6.2-2-2.10.0.a
libstdc++-3-libc6.2-2-2.10.0.so
libstdc++-libc6.1-1.so.2
libstdc++-libc6.1-2.so.3
libstdc++-libc6.2-2.a.3
libstdc++-libc6.2-2.so.3

Je n'ai pas encore essayé en mettant gcc en g++ mais j'aimerai comprendre un peu plus au lieu de bidouiller ...

Merci

Eric


At 08:26 20/03/2002 +0100, Eric BERTHOMIER wrote:
J'ai vu celà, j'ai eu hélas des problèmes de conflits de version car j'ai installé à un moment libc6 version testing ... Je suis donc dedans .. Par contre ce que je ne m'explique pas c'est que je peux créer un programme C++ et l'exécuter sans aucun souci ...

Eric
At 11:41 19/03/2002 -0500, Eric LeBlanc wrote:


On Tue, 19 Mar 2002, Eric BERTHOMIER wrote:

> Une erreur récurente dont je n'ai pas la réponse :
>
> error: installation or configuration problem: C++ compiler cannot create
> executables.
>
> Si quelqu'un a une idée ...
>
> Eric
>

Sur google.com, j'ai copie et colle ceci:

error: installation or configuration problem: C++ compiler cannot create
executables.

J'ai pese sur "I'm Freely Lucky"

Ca tombe sur la page de mysql... on descend un ti peu plus bas:

configure: error: installation or configuration problem:
C++ compiler cannot create executables.

You might also observe problems during compilation related to g++, libg++,
or libstdc++. One cause of these problems is that you may not have g++, or
you may have g++ but not libg++, or libstdc++. Take a look at the
`config.log' file. It should contain the exact reason why your c++
compiler didn't work! To work around these problems, you can use gcc as
your C++ compiler.
[...]

Et voila!




--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: