Actually I fixed it. I switched to Ubuntu 14.04, switched from qmake to make and manually created a /obj directory in the /src folder, cause a missing /src/obj directory was one of the errors qmake spit out. I don't know which of the changes did the trick, but it compiled.

thanks