Failed to compile Gridengine 6.0u3 on FreeBSD

Brooks Davis brooks at one-eyed-alien.net
Tue Mar 8 14:58:55 GMT 2005


On Mon, Mar 07, 2005 at 07:11:15PM -0800, Ron Chen wrote:
> I just got access to a FreeBSD 5.3 box, and I find
> that Gridengine (SGE) fails to compile. (SGE 5.3p6 was
> OK on FreeBSD 4.x/5.x)
> 
> I find that it is caused by pthread_t is undefined.
> For Linux, "sys/types.h" includes
> "bits/pthreadtypes.h", and thus it's OK - and other
> OSes are similar too.
> 
> So I am wondering if it is a bug in FreeBSD, or if
> Gridengine really needs to include pthread.h to get
> pthread_t.

According to The Open Group Base Specifications Issue 6, this is indeed
a bug.  There should be no harm in also including pthread.h since
that is also required to define pthread_t identicaly to sys/types.h.
freebsd-threads is the appropriate place to raise this issue.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-cluster/attachments/20050308/96ed0694/attachment.bin


More information about the freebsd-cluster mailing list