---------- Forwarded message ----------
From: PABST Thomas <[EMAIL PROTECTED]>
Date: 13 oct. 2007 02:06
Subject: Re: [Linux] avis aux developpeurs
To: Éric Bischoff <[EMAIL PROTECTED]>

résolu avec gcc -o exo -lm exo.c

merci

Le 12/10/07, Éric Bischoff <[EMAIL PROTECTED]> a écrit :
>
> 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
>



-- 
-----------------------------------------------------
PABST Thomas
[EMAIL PROTECTED]


-- 
-----------------------------------------------------
PABST Thomas
[EMAIL PROTECTED]

Répondre à