Boost logo

Boost Users :

Subject: Re: [Boost-users] Linker error on linux...
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-06-18 11:34:14


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net