Really to say I'm not very familar with C and esspecially with C in linux-based systems, bcz. have spent 6 years in C# programming. But now, I'm back to C . So I need your experience help.
Here is the problem: I cannot compile the C project (DiskSim) because recieve the following error: "undefined reference to `sqrt'"
But the main problem is that in makefile THERE IS link flag -lm to math.h
ubuntu 11.10 x64
gcc, g++ 4.6
flex, bison 2.5
KDevelop as IDE
I have attached the error log file, the makefile. (let me know if you need the whole project - but it is about 5 Mb)
Thanks a lot for any help.