Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2007-08-03 02:27:04


Caleb Epstein ha escrito:

> On 8/2/07, Joaquin M Lopez Munoz <joaquin_at_[hidden]> wrote:
> >
> >
> > Hello Caleb, thank you for trying the preview and for your contributions!
> > When you say you multithreading it's needed in Linux: what behavior do
> > you observe otherwise? Also, could you provide me with the Linux
> > version and compiler you're using?
>
> I'm using gcc-4.1.3 on Debian/unstable.
>
> Without the <threading>multi, the gcc.link step fails for ip_allocator due
> to unresolved externals:

[...]

> Basically unless you link an executable with -pthread on Linux, the
> threading primitives are not available, and -lrt is required for the SysV
> shared memory primitives. Specifying "<threading>multi" seems to achieve
> both of these goals.

[...]

OK, thank you for the very precise explanation! I've just added the
<threading>multi bit to my local version.

Best,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk