Well, a function named remove is apparently called somewhere in your code and it does not exist. One solution I've seen, which is a sort of hack is to add a function called remove with just a wait(1). It will not solve the underlaying problem, but will allow the build process to contine, and perhaps give you the chance to find the underlying problem later.
we all just try to help,
cheers
tindust