Question #77587 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/77587

    Status: Open => Answered

frankdunn proposed the following answer:
I found out that you have to put -lm at the end of the line when you
compile, so it will look like this:

cc checkExp.c -lm -o checkExp.out

I don't actually know why is -lm for, though.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntuforums-unanswered
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntuforums-unanswered
More help   : https://help.launchpad.net/ListHelp

Reply via email to