I cannot access the log file, there seems to be some kind of server error “The resource cannot be found”. Can you upload the file again? Or did you solve the issue already?
If you did not solve the issue already, also a bit more information would be helpful, like which Ubuntu version you have, and if you were able to compile O2 before or this is your first attempt.
sorry for the late reply and thanks for the log file. To me this looks like the memory issue. The analysis part within O2 needs a huge amount of memory and depending on you setup, you may have to reduce the number of cores to compile O2. This you do with the additional option -j <n> with <n> being the number of cores. E.g., if you have 8 GB RAM, you should used -j 1 or maybe (at maximum) -j 2.