【发布时间】:2010-02-17 17:55:37
【问题描述】:
g++ simple_wget.cpp -lssl -lboost_system -lpthread -lcrypto -lboost_filesystem
/tmp/cc2jNHvk.o: In function `__static_initialization_and_destruction_0(int, int)':
simple_wget.cpp:(.text+0x5eb): undefined reference to `boost::system::get_posix_category()'
simple_wget.cpp:(.text+0x5f5): undefined reference to `boost::system::get_posix_category()'
collect2: ld returned 1 exit status
我知道在 boost 1.38 中 get_posix_category() 被删除了。请帮助我,我该如何解决这个问题?
【问题讨论】: