From owner-freebsd-current@FreeBSD.ORG Fri Feb 1 10:29:12 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 AB22916A419; Fri, 1 Feb 2008 10:29:12 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4B213C465; Fri, 1 Feb 2008 10:29:10 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47A2F475.8090503@FreeBSD.org> Date: Fri, 01 Feb 2008 11:29:09 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Maxim Sobolev References: <47A21ED6.5070303@elischer.org> <47A27CE8.1090802@FreeBSD.org> In-Reply-To: <47A27CE8.1090802@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 10:29:12 -0000 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. Kris