Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2008 08:19:52 -0800
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        Julian Elischer <julian@elischer.org>, FreeBSD Current <current@FreeBSD.org>
Subject:   Re: needs a tester with an SMP 7.0 box
Message-ID:  <47A346A8.4090301@FreeBSD.org>
In-Reply-To: <47A2F475.8090503@FreeBSD.org>
References:  <47A21ED6.5070303@elischer.org> <47A27CE8.1090802@FreeBSD.org> <47A2F475.8090503@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> Maxim Sobolev wrote:
> 
>> P.S. I've compiled the program as follows:
>>
>> $ cc -pthread testkse.c -o a.out -lkse
> 
> That is wrong, you linked it to both thread libraries.  Either use 
> -pthread and libmap, or just -lkse should be OK.

It doesn't matter. I've tried both ways (with and w/o -pthread), the 
behavior it the same and by the way ldd a.out shows that only libkse has 
been linked in in both cases.

-Maxim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A346A8.4090301>