Error Compiling Ubiquiti Nano Loco M5 firmware

When I try to compile using make, i have this problem. Some help please?

[ 91%] Linking CXX executable ../bin/ccmake
libCMakeLib.a(cmSystemTools.cxx.o): In function `cmSystemTools::CreateTar(char const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, cmSystemTools::cmTarCompression, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
cmSystemTools.cxx:(.text+0x258b): undefined reference to `cmArchiveWrite::cmArchiveWrite(std::ostream&, cmArchiveWrite::Compress, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
cmSystemTools.cxx:(.text+0x2655): undefined reference to `cmArchiveWrite::Add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, char const*, bool)'
cmSystemTools.cxx:(.text+0x27c4): undefined reference to `cmArchiveWrite::~cmArchiveWrite()'
cmSystemTools.cxx:(.text+0x2a4a): undefined reference to `cmArchiveWrite::~cmArchiveWrite()'
libCMakeLib.a(cmFilePathUuid.cxx.o): In function `cmFilePathUuid::GetChecksumString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
cmFilePathUuid.cxx:(.text+0xa7e): undefined reference to `cmBase32Encoder::cmBase32Encoder()'
cmFilePathUuid.cxx:(.text+0xa99): undefined reference to `cmBase32Encoder::encodeString[abi:cxx11](unsigned char const*, unsigned long, bool)'
cmFilePathUuid.cxx:(.text+0xb03): undefined reference to `cmBase32Encoder::~cmBase32Encoder()'
cmFilePathUuid.cxx:(.text+0xb97): undefined reference to `cmBase32Encoder::~cmBase32Encoder()'
collect2: error: ld returned 1 exit status
Source/CMakeFiles/ccmake.dir/build.make:421: recipe for target 'bin/ccmake' failed
make[6]: *** [bin/ccmake] Error 1
make[6]: Leaving directory '/home/gonzalo/lede/build_dir/host/cmake-3.7.1'
CMakeFiles/Makefile2:2254: recipe for target 'Source/CMakeFiles/ccmake.dir/all' failed
make[5]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
make[5]: Leaving directory '/home/gonzalo/lede/build_dir/host/cmake-3.7.1'
Makefile:160: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/gonzalo/lede/build_dir/host/cmake-3.7.1'
Makefile:34: recipe for target '/home/gonzalo/lede/build_dir/host/cmake-3.7.1/.built' failed
make[3]: *** [/home/gonzalo/lede/build_dir/host/cmake-3.7.1/.built] Error 2
make[3]: Leaving directory '/home/gonzalo/lede/tools/cmake'
tools/Makefile:147: recipe for target 'tools/cmake/compile' failed
make[2]: *** [tools/cmake/compile] Error 2
make[2]: Leaving directory '/home/gonzalo/lede'
tools/Makefile:145: recipe for target '/home/gonzalo/lede/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.tools_install_yyyyyyyynyyyyynyynnyyyyyyyyyyyyyyyyyyyynyynynyyyynnny' failed
make[1]: *** [/home/gonzalo/lede/staging_dir/target-mips_24kc_musl-1.1.16/stamp/.tools_install_yyyyyyyynyyyyynyynnyyyyyyyyyyyyyyyyyyyynyynynyyyynnny] Error 2
make[1]: Leaving directory '/home/gonzalo/lede'
/home/gonzalo/lede/include/toplevel.mk:198: fallo en las instrucciones para el objetivo 'world'
make: *** [world] Error 2