[Android] falconscrest123:
Compile error omni marshmallow

So i was trying to build omni marshmallow for my device synced the source code and tried brunch command and im getting an error

build/core/Makefile:72: warning: overriding commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/obj/lib/libril.so'

build/core/dynamic_binary.mk:113: warning: ignoring old commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/obj/lib/libril.so'

build/core/Makefile:72: warning: overriding commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/system/lib/libril.so'

build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/system/lib/libril.so'

build/core/Makefile:72: warning: overriding commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/system/bin/rild'

build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/system/bin/rild'

No private recovery resources for TARGET_DEVICE vibrantmtd

device/samsung/aries-common/shbootimg.mk:13: warning: overriding commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/boot.img'

build/core/Makefile:580: warning: ignoring old commands for target `/home/mgomes/android/omni/out/target/product/vibrantmtd/boot.img'

make[1]: Entering directory `/home/mgomes/android/omni/kernel/samsung/aries'

GEN /home/mgomes/android/omni/out/target/product/vibrantmtd/obj/KERNEL_OBJ/Makefile

arch/arm/configs/omni_vibrantmtd_defconfig:114:warning: override: reassigning to symbol RD_LZMA

arch/arm/configs/omni_vibrantmtd_defconfig:660:warning: override: reassigning to symbol DEFAULT_WESTWOOD

arch/arm/configs/omni_vibrantmtd_defconfig:2978:warning: override: reassigning to symbol CRYPTO_SHA512

#

# configuration written to .config

#

make[1]: Leaving directory `/home/mgomes/android/omni/kernel/samsung/aries'

make[1]: Entering directory `/home/mgomes/android/omni/kernel/samsung/aries'

CHK include/linux/version.h

make[1]: Leaving directory `/home/mgomes/android/omni/kernel/samsung/aries'

make: Circular /home/mgomes/android/omni/out/target/product/vibrantmtd/ramdisk-recovery.cpio <- /home/mgomes/android/omni/out/target/product/vibrantmtd/boot.img dependency dropped.

target thumb C++: linker <= bionic/linker/linker.cpp

bionic/linker/linker.cpp: In member function 'bool soinfo::relocate(const VersionTracker&, ElfRelIteratorT&&, const soinfo_list_t&, const soinfo_list_t&)':

bionic/linker/linker.cpp:2187:18: error: 'flags' was not declared in this scope

if ((flags & FLAG_EXE) == 0) {

^

In file included from bionic/linker/linker.cpp:54:0:

bionic/linker/linker.cpp:2199:80: error: 'name' was not declared in this scope

DL_ERR("%s R_ARM_COPY relocations only supported for ET_EXEC", name);

^

bionic/linker/linker.h:47:94: note: in definition of macro 'DL_ERR'

__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \

^

bionic/linker/linker.cpp:2206:71: error: cannot convert 'soinfo**' to 'const version_info*' for argument '3' to 'bool soinfo_do_lookup(soinfo*, const char*, const version_info*, soinfo**, const soinfo_list_t&, const soinfo_list_t&, const Elf32_Sym**)'

ElfW(Sym)* src = soinfo_do_lookup(NULL, sym_name, &lsi);

^

In file included from bionic/linker/linker.cpp:54:0:

bionic/linker/linker.cpp:2209:82: error: 'name' was not declared in this scope

DL_ERR("%s R_ARM_COPY relocation source cannot be resolved", name);

^

bionic/linker/linker.h:47:94: note: in definition of macro 'DL_ERR'

__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \

^

bionic/linker/linker.cpp:2214:67: error: 'name' was not declared in this scope

"library %s (built with -Bsymbolic?)", name, lsi->name);

^

bionic/linker/linker.h:47:94: note: in definition of macro 'DL_ERR'

__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \

^

bionic/linker/linker.cpp:2214:78: error: 'struct soinfo' has no member named 'name'

"library %s (built with -Bsymbolic?)", name, lsi->name);

^

bionic/linker/linker.h:47:94: note: in definition of macro 'DL_ERR'

__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \

^

bionic/linker/linker.cpp:2219:28: error: 'name' was not declared in this scope

name, s->st_size, src->st_size);

^

bionic/linker/linker.h:47:94: note: in definition of macro 'DL_ERR'

__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \

^

bionic/linker/linker.cpp:2225:78: error: 'name' was not declared in this scope

DL_ERR("%s R_ARM_COPY relocation target cannot be resolved", name);

^

bionic/linker/linker.h:47:94: note: in definition of macro 'DL_ERR'

__libc_format_buffer(linker_get_error_buffer(), linker_get_error_buffer_size(), fmt, ##x); \

^

make: *** [/home/mgomes/android/omni/out/target/product/vibrantmtd/obj/EXECUTABLES/linker_intermediates/linker.o] Error 1

real	2m40.469s

user	0m42.855s

sys	0m23.617s

Any help would be great