Le Jeudi 11 Octobre 2007 19:09, PABST Thomas a écrit :
> Salut à tous
>
> Quand je compile mon fichier sources en c avec gcc, j'ai l'erreur suivante:
> > [EMAIL PROTECTED]:~$ gcc -o exo22
> > exo22.c/tmp/ccUM2mj0.o: In function `main': exo22.c:(.text+0x77):
> > undefined reference to `pow'
> > collect2: ld a retourné 1 code d'état d'exécution
> > [EMAIL PROTECTED]:~$
>
> Il ne reconnaît pas  pow comme fonction dans la bibliothèque <math.h>;
> comme si elle n'existait pas.
>
> Quelqu'un aurai t'il une solution?

Linke-la. De tête et probablement faux : -lmath

-- 
Create German Grammar, Yoda did NOT -- Uncyclopedia

Répondre à