By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,956 Members | 1,657 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,956 IT Pros & Developers. It's quick & easy.

floating point parameter not linking

P: n/a
while doing structure pointer program i got error as floating point parameter not linking. i declared this variable as a structure element. wen it conevrt to integer the error going.
Oct 15 '10 #1
Share this Question
Share on Google+
2 Replies


ashitpro
Expert 100+
P: 542
Can you post the code snippet?
Oct 15 '10 #2

P: 7
You should explicitly link the math library like:

gcc foobar.c -o foobar -lm
Oct 16 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.