I will try to help you!
I am sure it is a trivial error since a lot of people compile the code with no errors, but trivial errors are difficult to trace!
First I need to know what files you are trying to compile and from what branch are they coming?
Second I need to see if you have all library available.
Third I need to have a full compilation print out.