AyushP123

letor_rank

Aug 21st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.38 KB | None | 0 0
  1. ayush@ayush:~/Desktop/workspace/xapian-docsprint$ make html LANGUAGE=c++
  2. sphinx-build -b html -q -d _build/doctrees   -tc++ . _build/html
  3. /tmp/ccYUkkbj.o: In function `rank_letor(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
  4. search_letor.cc:(.text+0x5c0): undefined reference to `Xapian::Ranker::set_database_path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  5. search_letor.cc:(.text+0x5d6): undefined reference to `Xapian::Ranker::set_query(Xapian::Query const&)'
  6. search_letor.cc:(.text+0x5e5): undefined reference to `Xapian::FeatureList::FeatureList()'
  7. search_letor.cc:(.text+0x606): undefined reference to `Xapian::Ranker::rank(Xapian::MSet&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Xapian::FeatureList const&)'
  8. search_letor.cc:(.text+0x615): undefined reference to `Xapian::FeatureList::~FeatureList()'
  9. search_letor.cc:(.text+0x792): undefined reference to `Xapian::ListNETRanker::~ListNETRanker()'
  10. search_letor.cc:(.text+0x983): undefined reference to `Xapian::FeatureList::~FeatureList()'
  11. search_letor.cc:(.text+0x9d0): undefined reference to `Xapian::ListNETRanker::~ListNETRanker()'
  12. /tmp/ccYUkkbj.o: In function `Xapian::ListNETRanker::ListNETRanker(double, int)':
  13. search_letor.cc:(.text._ZN6Xapian13ListNETRankerC2Edi[_ZN6Xapian13ListNETRankerC5Edi]+0x1c): undefined reference to `Xapian::Ranker::Ranker()'
  14. search_letor.cc:(.text._ZN6Xapian13ListNETRankerC2Edi[_ZN6Xapian13ListNETRankerC5Edi]+0x21): undefined reference to `vtable for Xapian::ListNETRanker'
  15. collect2: error: ld returned 1 exit status
  16. code/expected.out/search_letor.out: (/home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst): Exit status 32512, expected 0
  17. --- tmp.out 2017-08-21 14:40:04.444835230 +0530
  18. +++ code/expected.out/search_letor.out  2017-08-21 11:00:05.865356298 +0530
  19. @@ -1 +0,0 @@
  20. -sh: 2: code/c++/built/search_letor: not found
  21. $ libtool --quiet --mode=link g++ `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --cxxflags` code/c++/search_letor.cc code/c++/support.cc -std=c++11 -o code/c++/built/search_letor `/home/ayush/Desktop/xapian-patch/xapian/xapian-core/xapian-config --ltlibs`
  22. code/c++/built/search_letor "db" "ListNET_Ranker" "watch" > tmp.out 2> tmp2.out
  23. $ cat tmp2.out >> tmp.out
  24. $ vimdiff tmp.out code/expected.out/search_letor.out
  25. /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:137: WARNING: Duplicate explicit target name: "nallapati2004".
  26. /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:162: ERROR: 2 error(s) with example code
  27. /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:37: WARNING: Could not lex literal_block as "c++". Highlighting skipped.
  28. /home/ayush/Desktop/workspace/xapian-docsprint/concepts/search/search_limitations.rst:46: WARNING: unknown document: /advanced/remote
  29. *** No version of example postingsource in language c++ - patches welcome!
  30. *** 2 total error(s) with example code
  31. Error in atexit._run_exitfuncs:
  32. Traceback (most recent call last):
  33.   File "conf.py", line 902, in xapian_check_examples
  34.     raise SystemExit()
  35. SystemExit
  36.  
  37. Build finished. The HTML pages are in _build/html.
Add Comment
Please, Sign In to add comment