ArduCopter 3.2.1 Build Error On Linux

Hey y’all. I am trying to build ArduPilot 3.2.1 on Linux as header says. I am getting error while make compiles it. I could not find any useful info in output message, but I still posted it here

I am using GNU Make 4.1. Thank you.

P.S.: I have tried to build it for PX4 and APM1 with no luck. I want it to use in SITL, so any other way to accomplish it will be pleased.

PS.2: I am able to build it on Windows. But when I try to run SITL with “no rebuild” option, it says my ELF file is broken. The actual output will be uploaded upon request.