日期:2014-05-16  浏览次数:20685 次

make时报错/usr/bin/ld: /tmp/cc2A3XGT.o: undefined reference to symbol 'sin@@GLIBC_2
如题,在调试程序时,make报这个错一般是什么问题呢?是一个语音去噪的程序,程序在网盘里。如有需要可以索要程序?求大神指点下,就这个程序都快调疯了

程序地址:http://pan.baidu.com/s/1bntfJqR


------解决方案--------------------
Makefile中加个 -lm 链上这个库
-fopenmp -ansi -pedantic -Wall -Wextra -Werror -pipe -lrt -lm -O2