Gcc : undefined reference to 'exp' malgré -lm
Résolu/Fermé
chapodrou
Messages postés
4
Date d'inscription
mercredi 9 mai 2012
Statut
Membre
Dernière intervention
23 mai 2012
-
Modifié par chapodrou le 22/05/2012 à 17:51
chapodrou Messages postés 4 Date d'inscription mercredi 9 mai 2012 Statut Membre Dernière intervention 23 mai 2012 - 23 mai 2012 à 11:09
chapodrou Messages postés 4 Date d'inscription mercredi 9 mai 2012 Statut Membre Dernière intervention 23 mai 2012 - 23 mai 2012 à 11:09
A voir également:
- Undefined reference to exp
- 'Gcc' n'est pas reconnu en tant que commande interne ou externe, un programme ex�cutable ou un fichier de commandes. ✓ - Forum C++
- Problème gcc sous linux - Forum C
- GCC : commande inconnue - Forum Programmation
- Compiler un .bat avec gcc ✓ - Forum Autoit / batch
- Gcc command not found ✓ - Forum Linux / Unix
1 réponse
chapodrou
Messages postés
4
Date d'inscription
mercredi 9 mai 2012
Statut
Membre
Dernière intervention
23 mai 2012
2
23 mai 2012 à 11:09
23 mai 2012 à 11:09
C'est passé en inversant le nom du code source et l'option -lm :
gcc code.c -lm