c - Undefined reference to log10 function -


i building using eclipse kepler, , have included math.h. however, getting error

'undefined reference log10'.

also types uint8_t , unit32_t not being resolved. have included both stdint.h , inttypes.h, sure, wasn't successful. can kindly help?

'undefined reference log10'.

because, header file provides forward declaration of function. actual function definition present in ("math") library. need link math library using -lm.

reference: man page log10

also, afaik, uint<n>_t present in <stdint.h>. please check existence header file and/or typos (like unit32_t in example) in code.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

javascript - Using jquery append to add option values into a select element not working -