From owner-freebsd-current@FreeBSD.ORG Fri Feb 1 16:21:18 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D77E516A418; Fri, 1 Feb 2008 16:21:18 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk1.360sip.com [72.236.70.240]) by mx1.freebsd.org (Postfix) with ESMTP id 8389313C459; Fri, 1 Feb 2008 16:21:18 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.3] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id m11GLDba055549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Feb 2008 08:21:14 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Message-ID: <47A346A8.4090301@FreeBSD.org> Date: Fri, 01 Feb 2008 08:19:52 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Kris Kennaway References: <47A21ED6.5070303@elischer.org> <47A27CE8.1090802@FreeBSD.org> <47A2F475.8090503@FreeBSD.org> In-Reply-To: <47A2F475.8090503@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Julian Elischer , FreeBSD Current Subject: Re: needs a tester with an SMP 7.0 box X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 16:21:18 -0000 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