aspguru Posted March 30, 2005 Report Share Posted March 30, 2005 Please help me out, guys... I am writing a big program (3k lines) and almost finish it until I cannot get the log value of one var. I did include math.h in my .c code. But still I got "no referrence to log function" error. [moved from Everything Linux by spinynorman - welcome aboard :)] Quote Link to comment Share on other sites More sharing options...
aspguru Posted March 31, 2005 Author Report Share Posted March 31, 2005 Never mind guys. It's dumb question. Just add -lm... problem solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.