I've got this to make cleanly, but not tested the resulting binaries yet.
I got one spot on answer, thanks Dave. I've copied his message below.
The distribution needs some small tweaking for my system (du4.0d). It
required the creation of a build/platforms/osf1-gcc directory, and a
Make-platform containing;
CC=gcc
PLATFORMCFLAGS= -Dosf1 -DNEEDPROTOS
THREADS= -D_PTHREAD_USE_D4
Futher: It would not build with the default db library (dbm.a), or using
the Berkeley btree option, but it went OK with the Berkeley hash option.
Cheers,
Bob
====================================================
From: Dave Tetreault
I have built and am running it on 4.0b. From what I remember the
following comment fron pthread.h were the key.
/******************************************************************************
*
* NOTICE: Temporary support for POSIX 1003.4a/D4 migration
* --------------------------------------------------------
*
* Support 1003.4a/D4 ("DCE threads") source migration mode by allowing
* programmer to cause #include <pthread.h> to define the old interfaces
* (with modified names) if the _PTHREAD_USE_D4 macro is defined. This is
* equivalent to #include <pthread_d4.h> -- the remainder of this header
* file is not processed.
*
* In practice, you can invoke the source migration mode either by the
* following sequence within your .c or .h files:
*
* #define _PTHREAD_USE_D4
* #include <pthread.h>
*
* or by modifying your Makefile (or manual build sequence) to use the -D
* compiler (or cpp) option:
*
* cc -D_PTHREAD_USE_D4 foo.c
*
* The POSIX 1003.4a/D4 migration support will be retired (this clause
will
* be removed from pthread.h!) in the next major release of each operating
* system (OpenVMS VAX, OpenVMS Alpha, and Digital UNIX) that occurs at
least
* one year after the initial release of the POSIX 1003.1c interfaces.
*
*****************************************************************************/
David E. Tetreault davet_at_uriacc.uri.edu
Manager of Technical Support 401-874-4472
Received on Fri Jul 31 1998 - 09:00:04 NZST