[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux] Re: /usr/include/math.h URGENT
Hello !
On Tue, Mar 19, 2002 at 02:48:23PM +0100, Benoît Barbier wrote:
> Bonjour,
> Comme j'avais un message d'erreur bizarre.
[.../...]
> Voici le message:
> [~/tmp] gcc -Wall -o test test.c
Essaie ceci :
$ gcc -Wall -o test test.c -lm
Le '-lm' demande au linker d'ajouter la librairie math (libm) aux
fichiers objets pour produire l'exécutable.
> /tmp/ccWraao4.o: dans la fonction `main':
> /tmp/ccWraao4.o(.text+0x2e): référence indéfinie vers `pow'
> collect2: ld returned 1 exit status
>
> Mais non je ne rêve pas, et toujours des non de fichier différant :
C'est normal, il s'agit de fichiers temporaires.
[.../...]
> Benoît.
Cu,
Dash.
--
The early bird may get the worm, but the second mouse gets the cheese.
-- Unknown
--
Damien Diederen
dash@linuxbe.org
http://users.swing.be/diederen/
_______________________________________________
Linux Mailing List
Archives: http://unixtech.be/mailman/listinfo/linux