|
From: <rhy...@gm...> - 2007-10-10 09:03:41
|
Dean Michael Berris wrote:
> On 10/10/07, 连城 <rhy...@gm...> wrote:
>
>> Hi,
>>
>> Always glad to see progress :-) I've checked the code under a Debian
>> Linux box with Boost trunk, and it fails to compile, since pthread is
>> required by Boost.System. It is fairly easy to cope with. Add this line
>> to the trunk/libs/network/test/Jamfile.v2 file in the project requirements:
>>
>> <toolset>gcc:<source>pthread
>>
>> Then the code compiles. But, I got linking errors, and I've got no idea
>> how to settle them:
>>
>>
>
> How about adding <toolset>gcc:<linkflags>-lpthread in the requirements
>
I forgot to mention that another line is also added:
lib pthread ;
I tried the linkflags setting, and it works. All tests passed. I'll
check it in soon :-)
> of the tests Jamfile as well? This should fix it, though I'm not
> entirely sure -- couldn't test it at the moment.
>
> Please let me know what you see, and thanks for the tip! :)
>
>
|