From owner-freebsd-current@FreeBSD.ORG Wed Mar 25 14:09:10 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 788DB1065679; Wed, 25 Mar 2009 14:09:10 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3854C8FC17; Wed, 25 Mar 2009 14:09:10 +0000 (UTC) (envelope-from brucec@muon.cran.org.uk) Received: by muon.cran.org.uk (Postfix, from userid 1000) id 268911924A; Wed, 25 Mar 2009 14:09:09 +0000 (GMT) Date: Wed, 25 Mar 2009 14:09:09 +0000 From: Bruce Cran To: Matthias Apitz Message-ID: <20090325140908.GA14343@muon.cran.org.uk> References: <20090325092840.GA3841@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090325092840.GA3841@rebelion.Sisis.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: vd@FreeBSD.org, freebsd-current@freebsd.org Subject: Re: ports/devel/pth failes to compile (conflict with /usr/include/signal.h) 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: Wed, 25 Mar 2009 14:09:11 -0000 On Wed, Mar 25, 2009 at 10:28:40AM +0100, Matthias Apitz wrote: > > > # cd /usr/ports/devel/pth > vm-naranja# cvs up > cvs update: Updating . > cvs update: Updating files > > # make install > ===> Installing for pth-2.0.7 > ===> Generating temporary packing list > ===> Checking if devel/pth already installed > ./libtool --mode=compile --quiet cc -c -I. -O2 -pipe > -fno-strict-aliasing -funro > ll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math pthread.c > In file included from pth_p.h.in:35, > from pthread.c:43: > /usr/include/signal.h:75: error: conflicting types for 'pthread_kill' > pthread.h:357: error: previous declaration of 'pthread_kill' was here > *** Error code 1 > > Stop in /usr/ports/devel/pth/work/pth-2.0.7. > *** Error code 1 > > Stop in /usr/ports/devel/pth. > *** Error code 1 > > Stop in /usr/ports/devel/pth. > > > work/pth-2.0.7/pthread.h:357 > extern int pthread_kill(pthread_t, int); > > > /usr/include/signal.h:75 > #if __POSIX_VISIBLE || __XSI_VISIBLE > int kill(__pid_t, int); > int pthread_kill(__pthread_t, int); > int pthread_sigmask(int, const __sigset_t *, __sigset_t *); > > See ports/132828 and http://lists.freebsd.org/pipermail/svn-src-head/2009-March/004946.html -- Bruce Cran