Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2009 10:28:40 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Cc:        vd@FreeBSD.org
Subject:   ports/devel/pth failes to compile (conflict with /usr/include/signal.h)
Message-ID:  <20090325092840.GA3841@rebelion.Sisis.de>

next in thread | raw e-mail | index | archive | help


# 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 *);


Thx

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/



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