【发布时间】:2015-10-02 21:19:39
【问题描述】:
我正在使用 Eclipse Kepler 构建,并包含 math.h。但是,我收到一个错误
'未定义对 log10 的引用'。
还没有解析uint8_t 和unit32_t 类型。我已经包括了stdint.h 和inttypes.h,只是为了确定,但没有成功。有人可以帮忙吗?
【问题讨论】:
-
是的,这是一个错字@SouravGhosh。
-
@SouravGhosh:我知道如何使用 shell 编程在 ubuntu 中进行链接,但我对此很陌生。你能指导更多吗?
-
使用
gcc something.c -lm
标签: c undefined-reference