I've got exactly the same problem - how did you change
your makefile that the compilation went smoothly?
Cheers
//Edit: I think the problem is solved, after diving into the makefile.
I updated the section SRC adding all the sources - dependencies are
resolved automatically