tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: making umich ldap3.3
@ 1998-07-31  9:00 Bob Parkinson
  0 siblings, 0 replies; only message in thread
From: Bob Parkinson @ 1998-07-31  9:00 UTC (permalink / raw)
  To: tru64-unix-managers

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@uriacc.uri.edu
Manager of Technical Support              401-874-4472

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-07-31  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-31  9:00 SUMMARY: making umich ldap3.3 Bob Parkinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox