Opened 7 years ago

#11948 new Bugs

undefined reference to boost::gregorian::greg_month::get_month_map_ptr()

Reported by: 565434471@… Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.60.0 Severity: Problem
Keywords: undefined reference Cc:

Description

[liukai@iZ11idlxpv6Z 20160127]$ ./waf -v Waf: Entering directory `/home/liukai/builder/20160127/build' [42/42] Linking build/SceneServer/SceneServer 23:43:47 runner ['/home/liukai/local/bin/clang++', '-pthread', '-lrt', '-lz', '-ldl', '-rdynamic', '-static-libgcc', '-static-libstdc++', 'SceneServer/SceneServer.cpp.1.o', '-o', '/home/liukai/builder/20160127/build/SceneServer/SceneServer', '-Wl,-Bstatic', '-Lcommon', '-L3Party/lua-5.3.2', '-L../build/common', '-L../3Party/boost/lib', '-lcommon', '-llua-5.3.2', '-lboost_system', '-lboost_date_time', '-Wl,-Bdynamic'] SceneServer/SceneServer.cpp.1.o:在函数‘unsigned short boost::date_time::month_str_to_ushort<boost::gregorian::greg_month>(std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’中: /home/liukai/local/include/boost/date_time/date_parsing.hpp:67:对‘boost::gregorian::greg_month::get_month_map_ptr()’未定义的引用 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Waf: Leaving directory `/home/liukai/builder/20160127/build' Build failed

-> task in 'SceneServer' failed (exit status 1):

{task 140651725143760: cxxprogram SceneServer.cpp.1.o -> SceneServer}

['/home/liukai/local/bin/clang++', '-pthread', '-lrt', '-lz', '-ldl', '-rdynamic', '-static-libgcc', '-static-libstdc++', 'SceneServer/SceneServer.cpp.1.o', '-o', '/home/liukai/builder/20160127/build/SceneServer/SceneServer', '-Wl,-Bstatic', '-Lcommon', '-L3Party/lua-5.3.2', '-L../build/common', '-L../3Party/boost/lib', '-lcommon', '-llua-5.3.2', '-lboost_system', '-lboost_date_time', '-Wl,-Bdynamic']

Attachments (2)

QQ图片20160130234906.png (34.4 KB ) - added by 565434471@… 7 years ago.
QQ图片20160130235257.jpg (74.7 KB ) - added by 565434471@… 7 years ago.

Download all attachments as: .zip

Change History (2)

by 565434471@…, 7 years ago

Attachment: QQ图片20160130234906.png added

by 565434471@…, 7 years ago

Attachment: QQ图片20160130235257.jpg added
Note: See TracTickets for help on using tickets.