Community
Participate
Working Groups
when I use math library functions such as sqrt() and sin() with variables, eclipse shows me error message "undefined reference to 'sin'". sin(100); ==> OK float a; sin(a); ==> error "undefined reference to `sin'" -- Configuration Details -- Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.linuxtools.product) Installed Features: org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
What is this? C/C++?
(In reply to comment #1) > What is this? C/C++? Yes. C coding.
(In reply to comment #2) > (In reply to comment #1) > > What is this? C/C++? > Yes. C coding. Please open bugs with CDT. This has nothing to do with Eclipse's plug-in for Apache Ant.
The parser does not provide this kind of error, it is emmited by your linker.
(In reply to comment #4) > The parser does not provide this kind of error, it is emmited by your linker. I agree with your comment. This morning I updated my packages in Ubuntu 10.04 and the error's gone.