发表回复 
 
主题评价:
  • 1 次(票) - 平均星级: 5
  • 1
  • 2
  • 3
  • 4
  • 5
编译xapian-core-scws报错
2016年08月10日, 18:04
编译xapian-core-scws报错
代码:
queryparser/queryparser.lemony:1856:50: error: unable to find string literal operator 'operator""OP_TXT' with 'const char [35]', 'long unsigned int' arguments
     } else {
                                                  ^
queryparser/queryparser.lemony:1734:3: note: in expansion of macro 'BOOL_OP_TO_QUERY'
  { BOOL_OP_TO_QUERY(E, A, Query::OP_AND_NOT, B, "AND NOT"); }
   ^~~~~~~~~~~~~~~~
queryparser/queryparser.lemony:1856:50: error: unable to find string literal operator 'operator""OP_TXT' with 'const char [35]', 'long unsigned int' arguments
     } else {
                                                  ^
queryparser/queryparser.lemony:1737:3: note: in expansion of macro 'BOOL_OP_TO_QUERY'
  { BOOL_OP_TO_QUERY(E, A, Query::OP_AND_NOT, B, "AND"); }
   ^~~~~~~~~~~~~~~~
queryparser/queryparser.lemony:1856:50: error: unable to find string literal operator 'operator""OP_TXT' with 'const char [35]', 'long unsigned int' arguments
     } else {
                                                  ^
queryparser/queryparser.lemony:1740:3: note: in expansion of macro 'BOOL_OP_TO_QUERY'
  { BOOL_OP_TO_QUERY(E, A, Query::OP_OR, B, "OR"); }
   ^~~~~~~~~~~~~~~~
queryparser/queryparser.lemony:1856:50: error: unable to find string literal operator 'operator""OP_TXT' with 'const char [35]', 'long unsigned int' arguments
     } else {
                                                  ^
queryparser/queryparser.lemony:1743:3: note: in expansion of macro 'BOOL_OP_TO_QUERY'
  { BOOL_OP_TO_QUERY(E, A, Query::OP_XOR, B, "XOR"); }
   ^~~~~~~~~~~~~~~~
Makefile:3008:
[/quote]
make[2]: *** [queryparser/queryparser_internal.lo] Error 1
make[2]: Leaving directory '/usr/local/install/xunsearch-full-1.4.9/xapian-core-scws-1.2.20'
Makefile:3302: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/usr/local/install/xunsearch-full-1.4.9/xapian-core-scws-1.2.20'
Makefile:3642: recipe for target 'install' failed
make: *** [install] Error 2
查找这个用户的全部帖子
引用并回复
发表回复 


论坛跳转:


正在浏览该主题的用户: 1 个游客