Skip to content

make failed #821

@xiaohei31

Description

@xiaohei31

when i make redisearch v2.6.32, it deps VectorSimilarity, but fails:

In file included from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:10:0:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h: 在成员函数‘int BruteForceIndex_Multi<DataType, DistType>::deleteVector(labelType)’中:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h:99:74: 错误:found ‘:’ in nested-name-specifier, expected ‘::’
for (auto &ids = deleted_label_ids_pair->second; idType id_to_delete : ids) {
^
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h:99:61: 错误:expected primary-expression before ‘id_to_delete’
for (auto &ids = deleted_label_ids_pair->second; idType id_to_delete : ids) {
^~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h:99:61: 错误:expected ‘;’ before ‘id_to_delete’
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h:99:61: 错误:‘id_to_delete’未声明
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h:100:35: 错误:‘id_to_delete’在此作用域中尚未声明
ret = (this->removeVector(id_to_delete) && ret);
^~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_multi.h:100:35: 附注:suggested alternative: ‘timer_delete’
ret = (this->removeVector(id_to_delete) && ret);
^~~~~~~~~~~~
timer_delete
In file included from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:0:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h: 在全局域:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:75:5: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/vector_block.h:10:0,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:9,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:44:27: 错误: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;
^~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:40:25: 错误: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;
^~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:42:25: 错误: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;
^~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:43:53: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:0:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:79:5: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:13:0,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_results_container.h:23:25: 错误: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;
^~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_results_container.h:29:39: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:0:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:86:5: 错误: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;
^~~~~~~~~~~~~~~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:83:25: 错误: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;
^~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:82:25: 错误: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;
^~~~~~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:75:5: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/vector_block.h:10:0,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:9,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:44:27: 错误: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;
^~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:40:25: 错误: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;
^~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:42:25: 错误: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;
^~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/utils/vecsim_stl.h:43:53: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:8:0:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:79:5: 错误: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;
^~~~~~~~~~~~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:86:5: 错误: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;
^~~~~~~~~~~~~~~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:83:25: 错误: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;
^~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force.h:82:25: 错误: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 /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/bfs_batch_iterator.h:8:0,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_single.h:10,
from /root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/brute_force_factory.cpp:9:
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/bf_batch_iterator.h:36:43: 错误: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;
^~~~~~~~~~~~~~~
/root/RediSearch/deps/VectorSimilarity/src/VecSim/algorithms/brute_force/bf_batch_iterator.h:36:43: 错误:inline function ‘VecSimQueryResult_Code BF_BatchIterator<DataType, DistType>::calculateScores() [with DataType = double; DistType = double]’ used but never defined [-Werror]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions