Building MongoDB source code on ARM platform

I am building MongoDB source code for ARM platform, getting below mentioned error while compiling the source code, Kindly help in this issue if anyone also faced this before?

Error →
src/mongo/db/stats/counters.h:74: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:74: error: undefined reference to 'mongo::OpCounters::_checkWrap(mongo::Aligned<mongo::Atomic<long long>, 256ul, 256ul, 256ul> mongo::OpCounters::*, int)'
src/mongo/db/stats/counters.h:86: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:86: error: undefined reference to 'mongo::OpCounters::_checkWrap(mongo::Aligned<mongo::Atomic<long long>, 256ul, 256ul, 256ul> mongo::OpCounters::*, int)'
src/mongo/db/stats/counters.h:77: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:77: error: undefined reference to 'mongo::OpCounters::_checkWrap(mongo::Aligned<mongo::Atomic<long long>, 256ul, 256ul, 256ul> mongo::OpCounters::*, int)'
src/mongo/db/stats/counters.h:83: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:83: error: undefined reference to 'mongo::OpCounters::_checkWrap(mongo::Aligned<mongo::Atomic<long long>, 256ul, 256ul, 256ul> mongo::OpCounters::*, int)'
src/mongo/db/stats/counters.h:111: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:71: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:80: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:68: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:102: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:105: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:108: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:114: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:94: error: relocation overflow in R_AARCH64_CALL26
src/mongo/db/stats/counters.h:90: error: relocation overflow in R_AARCH64_CALL26

mongo/docs/building.md at master · mongodb/mongo · GitHub

Error is resolved now followed the steps mentioned in above page.