Ubuntu Android Compiling Issue

Hi all, hope someone can help.

I have been trying for a few days to get a development environment set up for compiling Kodi, and keep hitting error after error.

I eventually gave up today and wiped my Ubuntu machine and started again. I have managed to get around most of the issues, but I can’t seem to find any information about the current issue I am having.

I have uploaded the relevant parts (I think) of the output from the make command to pastebin: http://pastebin.com/GeLEmRSr and hope someone can shed some light on this? If you need any more information or output just let me know.

Thanks in advance,
Mike