Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ayush@ayush:~/Desktop/workspace/xapian-docsprint$ make html LANGUAGE=c++
- sphinx-build -b html -q -d _build/doctrees -tc++ . _build/html
- /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> >)':
- 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&)'
- search_letor.cc:(.text+0x5d6): undefined reference to `Xapian::Ranker::set_query(Xapian::Query const&)'
- search_letor.cc:(.text+0x5e5): undefined reference to `Xapian::FeatureList::FeatureList()'
- 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&)'
- search_letor.cc:(.text+0x615): undefined reference to `Xapian::FeatureList::~FeatureList()'
- search_letor.cc:(.text+0x792): undefined reference to `Xapian::ListNETRanker::~ListNETRanker()'
- search_letor.cc:(.text+0x983): undefined reference to `Xapian::FeatureList::~FeatureList()'
- search_letor.cc:(.text+0x9d0): undefined reference to `Xapian::ListNETRanker::~ListNETRanker()'
- /tmp/ccYUkkbj.o: In function `Xapian::ListNETRanker::ListNETRanker(double, int)':
- search_letor.cc:(.text._ZN6Xapian13ListNETRankerC2Edi[_ZN6Xapian13ListNETRankerC5Edi]+0x1c): undefined reference to `Xapian::Ranker::Ranker()'
- search_letor.cc:(.text._ZN6Xapian13ListNETRankerC2Edi[_ZN6Xapian13ListNETRankerC5Edi]+0x21): undefined reference to `vtable for Xapian::ListNETRanker'
- collect2: error: ld returned 1 exit status
- code/expected.out/search_letor.out: (/home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst): Exit status 32512, expected 0
- --- tmp.out 2017-08-21 14:40:04.444835230 +0530
- +++ code/expected.out/search_letor.out 2017-08-21 11:00:05.865356298 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/search_letor: not found
- $ 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`
- code/c++/built/search_letor "db" "ListNET_Ranker" "watch" > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_letor.out
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:137: WARNING: Duplicate explicit target name: "nallapati2004".
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:162: ERROR: 2 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:37: WARNING: Could not lex literal_block as "c++". Highlighting skipped.
- /home/ayush/Desktop/workspace/xapian-docsprint/concepts/search/search_limitations.rst:46: WARNING: unknown document: /advanced/remote
- *** No version of example postingsource in language c++ - patches welcome!
- *** 2 total error(s) with example code
- Error in atexit._run_exitfuncs:
- Traceback (most recent call last):
- File "conf.py", line 902, in xapian_check_examples
- raise SystemExit()
- SystemExit
- Build finished. The HTML pages are in _build/html.
Add Comment
Please, Sign In to add comment