
18 Jun
2009
18 Jun
'09
3:34 p.m.
Ozgur Ozturk wrote:
(c++ -I /usr/include/ chat_server.cpp -o chat_server) I get errors. I guess I should also specify a library on the command line. But which library I should include? The error messages seems not very helpful. It doesn't print the line number of the error, but things like .text+0xb3: chat_server.cpp:(.text+0xb3): undefined reference to `boost::system::get_system_category()'
See: http://vladimir_prus.blogspot.com/2009/06/linking-101.html ?
The package manager installed headers into /usr/include/boost and libs into /usr/lib/ (found out from YAST)
What package(s) did you install? If you did not install all boost-related packages, then which one did you omit, and why? - Volodya