Clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) [165/1372] Compile Module.GameplayTags.cpp

I have Clang 5 and I am trying to install Unreal Engine 4.18 in CentOS. I get the following error:

All the commands before make ran successfully.
However, running make command gives me the following error:

clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
[165/1372] Compile Module.GameplayTags.cpp

I have:

   $ uname -a
    Linux goku.bu.edu 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    $ lsb_release -a
    LSB Version:	:core-4.1-amd64:core-4.1-noarch
    Distributor ID:	CentOS
    Description:	CentOS Linux release 7.5.1804 (Core) 
    Release:	7.5.1804
    Codename:	Core

Hi, first of, please create one thread and update it when you get further, this is getting very confusing.

I think there is an error above the linker error, having the full compile log would be nice.