问题:collect2: ld returned 1 exit status
syxm 2007-07-25 02:37:49 在程序开始包含了math.h头文件,在函数中调用了POW()指数函数,在编译程序的时候出现了上面那个错误:
/usr/bin/ld: /tem/cckJBf9P.O Undefined pow:in function..
collect2: ld returned 1 exit status
我变换编译方式:gcc -O2 -Wall -o a a.c -lmath 还是不行?
请大虾门指点??