Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
We can help, if you become more specific about the problem. What flags are you passing to the compiler? What formats are you linking? Are you using a Cross Compiler? You should have posted your complete build script.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !