RediSearch - Issue in compiling source code and generate the module (.go) file

Hi Team,
While compiling the RediSearch source code to generate the binaries (.go), met with below errors. Appreciate help.

[ 76%] Building CXX object deps/VectorSimilarity/src/VecSim/spaces/CMakeFiles/VectorSimilaritySpaces.dir/spaces.cpp.o
[ 76%] Linking CXX static library libVectorSimilaritySpaces.a
[ 76%] Built target VectorSimilaritySpaces
[ 76%] Building CXX object deps/VectorSimilarity/src/CMakeFiles/VectorSimilarity.dir/VecSim/algorithms/brute_force/brute_force_factory.cpp.o
^[[3~In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:75:5: error: inline function ‘vecsim_stl::abstract_priority_queue<DistType, long unsigned int>* BruteForceIndex<DataType, DistType>::getNewMaxPriorityQueue() [with DataType = double; DistType = double]’ used but never defined [-Werror]
     getNewMaxPriorityQueue() = 0;
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/vector_block.h:10,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:9,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:44:27: error: inline function ‘size_t vecsim_stl::abstract_priority_queue<Priority, Value>::size() const [with Priority = double; Value = long unsigned int; size_t = long unsigned int]’ used but never defined [-Werror]
     virtual inline size_t size() const = 0;
                           ^~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:40:25: error: inline function ‘void vecsim_stl::abstract_priority_queue<Priority, Value>::emplace(Priority, Value) [with Priority = double; Value = long unsigned int]’ used but never defined [-Werror]
     virtual inline void emplace(Priority p, Value v) = 0;
                         ^~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:42:25: error: inline function ‘void vecsim_stl::abstract_priority_queue<Priority, Value>::pop() [with Priority = double; Value = long unsigned int]’ used but never defined [-Werror]
     virtual inline void pop() = 0;
                         ^~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:43:53: error: inline function ‘const std::pair<_T1, _T2> vecsim_stl::abstract_priority_queue<Priority, Value>::top() const [with Priority = double; Value = long unsigned int]’ used but never defined [-Werror]
     virtual inline const std::pair<Priority, Value> top() const = 0;
                                                     ^~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:79:5: error: inline function ‘std::unique_ptr<vecsim_stl::abstract_results_container> BruteForceIndex<DataType, DistType>::getNewResultsContainer(size_t) const [with DataType = double; DistType = double; size_t = long unsigned int]’ used but never defined [-Werror]
     getNewResultsContainer(size_t cap) const = 0;
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:13,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_results_container.h:23:25: error: inline function ‘virtual void vecsim_stl::abstract_results_container::emplace(size_t, double)’ used but never defined [-Werror]
     virtual inline void emplace(size_t id, double score) = 0;
                         ^~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_results_container.h:29:39: error: inline function ‘virtual VecSimQueryResult* vecsim_stl::abstract_results_container::get_results()’ used but never defined [-Werror]
     virtual inline VecSimQueryResult *get_results() = 0;
                                       ^~~~~~~~~~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:86:5: error: inline function ‘VecSimBatchIterator* BruteForceIndex<DataType, DistType>::newBatchIterator_Instance(void*, VecSimQueryParams*) const [with DataType = double; DistType = double; VecSimBatchIterator = VecSimBatchIterator]’ used but never defined [-Werror]
     newBatchIterator_Instance(void *queryBlob, VecSimQueryParams *queryParams) const = 0;
     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:83:25: error: inline function ‘void BruteForceIndex<DataType, DistType>::setVectorId(labelType, idType) [with DataType = double; DistType = double; labelType = long unsigned int; idType = unsigned int]’ used but never defined [-Werror]
     virtual inline void setVectorId(labelType label, idType id) = 0;
                         ^~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:82:25: error: inline function ‘void BruteForceIndex<DataType, DistType>::replaceIdOfLabel(labelType, idType, idType) [with DataType = double; DistType = double; labelType = long unsigned int; idType = unsigned int]’ used but never defined [-Werror]
     virtual inline void replaceIdOfLabel(labelType label, idType new_id, idType old_id) = 0;
                         ^~~~~~~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:75:5: error: inline function ‘vecsim_stl::abstract_priority_queue<DistType, long unsigned int>* BruteForceIndex<DataType, DistType>::getNewMaxPriorityQueue() [with DataType = float; DistType = float]’ used but never defined [-Werror]
     getNewMaxPriorityQueue() = 0;
     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/vector_block.h:10,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:9,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:44:27: error: inline function ‘size_t vecsim_stl::abstract_priority_queue<Priority, Value>::size() const [with Priority = float; Value = long unsigned int; size_t = long unsigned int]’ used but never defined [-Werror]
     virtual inline size_t size() const = 0;
                           ^~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:40:25: error: inline function ‘void vecsim_stl::abstract_priority_queue<Priority, Value>::emplace(Priority, Value) [with Priority = float; Value = long unsigned int]’ used but never defined [-Werror]
     virtual inline void emplace(Priority p, Value v) = 0;
                         ^~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:42:25: error: inline function ‘void vecsim_stl::abstract_priority_queue<Priority, Value>::pop() [with Priority = float; Value = long unsigned int]’ used but never defined [-Werror]
     virtual inline void pop() = 0;
                         ^~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:43:53: error: inline function ‘const std::pair<_T1, _T2> vecsim_stl::abstract_priority_queue<Priority, Value>::top() const [with Priority = float; Value = long unsigned int]’ used but never defined [-Werror]
     virtual inline const std::pair<Priority, Value> top() const = 0;
                                                     ^~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:79:5: error: inline function ‘std::unique_ptr<vecsim_stl::abstract_results_container> BruteForceIndex<DataType, DistType>::getNewResultsContainer(size_t) const [with DataType = float; DistType = float; size_t = long unsigned int]’ used but never defined [-Werror]
     getNewResultsContainer(size_t cap) const = 0;
     ^~~~~~~~~~~~~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:86:5: error: inline function ‘VecSimBatchIterator* BruteForceIndex<DataType, DistType>::newBatchIterator_Instance(void*, VecSimQueryParams*) const [with DataType = float; DistType = float; VecSimBatchIterator = VecSimBatchIterator]’ used but never defined [-Werror]
     newBatchIterator_Instance(void *queryBlob, VecSimQueryParams *queryParams) const = 0;
     ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:83:25: error: inline function ‘void BruteForceIndex<DataType, DistType>::setVectorId(labelType, idType) [with DataType = float; DistType = float; labelType = long unsigned int; idType = unsigned int]’ used but never defined [-Werror]
     virtual inline void setVectorId(labelType label, idType id) = 0;
                         ^~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:82:25: error: inline function ‘void BruteForceIndex<DataType, DistType>::replaceIdOfLabel(labelType, idType, idType) [with DataType = float; DistType = float; labelType = long unsigned int; idType = unsigned int]’ used but never defined [-Werror]
     virtual inline void replaceIdOfLabel(labelType label, idType new_id, idType old_id) = 0;
                         ^~~~~~~~~~~~~~~~
In file included from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/bfs_batch_iterator.h:8,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_single.h:10,
                 from /home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:9:
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/bf_batch_iterator.h:36:43: error: inline function ‘VecSimQueryResult_Code BF_BatchIterator<DataType, DistType>::calculateScores() [with DataType = float; DistType = float]’ used but never defined [-Werror]
     virtual inline VecSimQueryResult_Code calculateScores() = 0;
                                           ^~~~~~~~~~~~~~~
/home/redis/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/bf_batch_iterator.h:36:43: error: inline function ‘VecSimQueryResult_Code BF_BatchIterator<DataType, DistType>::calculateScores() [with DataType = double; DistType = double]’ used but never defined [-Werror]
^[[3~^[[3~cc1plus: all warnings being treated as errors
make[3]: *** [deps/VectorSimilarity/src/CMakeFiles/VectorSimilarity.dir/build.make:76: deps/VectorSimilarity/src/CMakeFiles/VectorSimilarity.dir/VecSim/algorithms/brute_force/brute_force_factory.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:597: deps/VectorSimilarity/src/CMakeFiles/VectorSimilarity.dir/all] Error 2
make[1]: *** [Makefile:146: all] Error 2
make: *** [/home/redis/RediSearch/deps/readies/mk/cmake.rules:27: /home/redis/RediSearch/bin/linux-x64-release/search/redisearch.so] Error 2
[redis@centos8 RediSearch]$

Thanks.

Maybe this could help