From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715812058.tru64-unix-managers.marc@archive.invalid> From: Bob Parkinson Date: Fri, 31 Jul 1998 09:00:40 +0000 To: tru64-unix-managers Subject: SUMMARY: making umich ldap3.3 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715812058 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 to define the old interfaces * (with modified names) if the _PTHREAD_USE_D4 macro is defined. This is * equivalent to #include -- 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 * * 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