Ask Your Question

Revision history [back]

I build wireshark on linux with gcc5.2.0,has link err

Linking CXX executable run/wireshark ui/qt/CMakeFiles/qtui.dir/extcap_argument.cpp.o:在函数‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EPKcmRKS3_’中: /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’未定义的引用 ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:在函数‘void std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_construct<char const*="">(char const, char const, std::forward_iterator_tag)’中: /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’未定义的引用 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:在函数‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EPKcmRKS3_’中: /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:/usr/local/include/c++/5.2.0/bits/basic_string.tcc:222: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)' follow collect2: 错误:ld 返回 1

click to hide/show revision 2
None

I build wireshark on linux with gcc5.2.0,has link err

Linking CXX executable run/wireshark ui/qt/CMakeFiles/qtui.dir/extcap_argument.cpp.o:在函数‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EPKcmRKS3_’中: /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’未定义的引用 ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:在函数‘void std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_construct<char const*="">(char const, char const, std::forward_iterator_tag)’中: /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’未定义的引用 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:在函数‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EPKcmRKS3_’中: /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:/usr/local/include/c++/5.2.0/bits/basic_string.tcc:222: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::_M_create(unsigned long&, unsigned long)' follow collect2: 错误:ld 返回 1

click to hide/show revision 3
None

I build wireshark on linux with gcc5.2.0,has link err

Errors:

Linking CXX executable run/wireshark
 ui/qt/CMakeFiles/qtui.dir/extcap_argument.cpp.o:在函数‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EPKcmRKS3_’中:
 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’未定义的引用
 ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:在函数‘void std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*="">(char const, const*>(char const*, char const, const*, std::forward_iterator_tag)’中:
 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’未定义的引用
 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference
 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference
 ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:在函数‘_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4EPKcmRKS3_’中:
 /usr/local/include/c++/5.2.0/bits/basic_string.tcc:222:对‘std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)’undefine reference
 ui/qt/CMakeFiles/qtui.dir/extcap_options_dialog.cpp.o:/usr/local/include/c++/5.2.0/bits/basic_string.tcc:222: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char="">, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)' follow
 collect2: 错误:ld 返回 1

1