/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -MT ThesaurusDict.lo -MD -MP -MF .deps/ThesaurusDict.Tpo -c -o ThesaurusDict.lo `test -f 'css/ThesaurusDict.cpp' || echo './'`css/ThesaurusDict.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -I.. -I.. -I../src/css -I../src/utils -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -MT ThesaurusDict.lo -MD -MP -MF .deps/ThesaurusDict.Tpo -c css/ThesaurusDict.cpp -fPIC -DPIC -o .libs/ThesaurusDict.o In file included from ../src/utils/darts.h:13, from css/ThesaurusDict.h:14, from css/ThesaurusDict.cpp:6: /usr/include/c++/4.4/cstring:76: error: ‘::memchr’ has not been declared /usr/include/c++/4.4/cstring:77: error: ‘::memcmp’ has not been declared /usr/include/c++/4.4/cstring:78: error: ‘::memcpy’ has not been declared /usr/include/c++/4.4/cstring:79: error: ‘::memmove’ has not been declared /usr/include/c++/4.4/cstring:80: error: ‘::memset’ has not been declared /usr/include/c++/4.4/cstring:81: error: ‘::strcat’ has not been declared /usr/include/c++/4.4/cstring:82: error: ‘::strcmp’ has not been declared /usr/include/c++/4.4/cstring:83: error: ‘::strcoll’ has not been declared /usr/include/c++/4.4/cstring:84: error: ‘::strcpy’ has not been declared /usr/include/c++/4.4/cstring:85: error: ‘::strcspn’ has not been declared /usr/include/c++/4.4/cstring:86: error: ‘::strerror’ has not been declared /usr/include/c++/4.4/cstring:87: error: ‘::strlen’ has not been declared /usr/include/c++/4.4/cstring:88: error: ‘::strncat’ has not been declared /usr/include/c++/4.4/cstring:89: error: ‘::strncmp’ has not been declared /usr/include/c++/4.4/cstring:90: error: ‘::strncpy’ has not been declared /usr/include/c++/4.4/cstring:91: error: ‘::strspn’ has not been declared /usr/include/c++/4.4/cstring:92: error: ‘::strtok’ has not been declared /usr/include/c++/4.4/cstring:93: error: ‘::strxfrm’ has not been declared /usr/include/c++/4.4/cstring:94: error: ‘::strchr’ has not been declared /usr/include/c++/4.4/cstring:95: error: ‘::strpbrk’ has not been declared /usr/include/c++/4.4/cstring:96: error: ‘::strrchr’ has not been declared /usr/include/c++/4.4/cstring:97: error: ‘::strstr’ has not been declared In file included from css/ThesaurusDict.h:14, from css/ThesaurusDict.cpp:6: ../src/utils/darts.h: In member function ‘size_t css::Darts::Length<char>::operator()(const char*) const’: ../src/utils/darts.h:44: error: ‘strlen’ is not a member of ‘css::std’ ../src/utils/darts.h: At global scope: ../src/utils/darts.h:92: error: ‘css::std::vector’ has not been declared ../src/utils/darts.h:92: error: expected ‘,’ or ‘...’ before ‘<’ token ../src/utils/darts.h:131: error: expected unqualified-id before ‘<’ token ../src/utils/darts.h:131: error: expected ‘)’ before ‘<’ token ../src/utils/darts.h:131: error: expected ‘;’ before ‘<’ token css/ThesaurusDict.cpp:185: error: expected ‘;’ at end of input css/ThesaurusDict.cpp:185: error: expected ‘}’ at end of input In file included from css/ThesaurusDict.h:14, from css/ThesaurusDict.cpp:6: ../src/utils/darts.h: In member function ‘size_t css::Darts::DoubleArrayImpl<node_type_, node_u_type_, array_type_, array_u_type_, length_func_>::fetch(const css::Darts::DoubleArrayImpl<node_type_, node_u_type_, array_type_, array_u_type_, length_func_>::node_t&, int)’: ../src/utils/darts.h:112: error: ‘siblings’ was not declared in this scope ../src/utils/darts.h:125: error: ‘siblings’ was not declared in this scope ../src/utils/darts.h:128: error: ‘siblings’ was not declared in this scope ../src/utils/darts.h: At global scope: ../src/utils/darts.h:129: error: expected unqualified-id at end of input ../src/utils/darts.h:129: error: expected ‘}’ at end of input ../src/utils/darts.h:129: error: expected ‘}’ at end of input make[2]: *** [ThesaurusDict.lo] 错误 1 make[2]:正在离开目录 `/home/kqy/code/coreseek/mmseg-3.2.12/src' make[1]: *** [all-recursive] 错误 1 make[1]:正在离开目录 `/home/kqy/code/coreseek/mmseg-3.2.12' make: *** [all] 错误 2
这个问题困扰我好久了,麻烦大家帮忙看看,谢谢了。 |