Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* GNU and DIGITAL UNIX 4.0B
@ 1997-10-03  4:00 R. Scott Butler-DuPont
  1997-10-04  4:00 ` Jochen Küpper
  0 siblings, 1 reply; 2+ messages in thread
From: R. Scott Butler-DuPont @ 1997-10-03  4:00 UTC (permalink / raw)



I'm trying to build some of the GNU utilities under Digital UNIX 4.0 and
am running into various difficulties that did not occur with 3.2C.  I've
checked the DU FAQ and tried doing some Alta Vista searches but haven't
managed to uncover any helpful hints.

Here's what happened so far.

gcc 2.7.2.3 builds OK.

Make 3.75.  Failed to build because of the following conditional in
.../glob/glob.h

#if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined
(_BSD_SOURCE)
#define GLOB_MAGCHAR    (1 << 8)/* Set in gl_flags if any metachars ../
#define GLOB_ALTDIRFUNC (1 << 9)/* Use gl_opendir et al functions.  */
#define GLOB_BRACE      (1 << 10)/* Expand "{a,b}" to "a" "b".  */
#define GLOB_NOMAGIC    (1 << 11)/* If no magic chars, return the.. */
#define GLOB_TILDE      (1 <<12)/* Expand ~user and ~ to ...  */
#endif

It seems that in DU 3.2C _POSIX_C_SOURCE was not defined so that the
definitions above were included.  In DU 4.0B, the value IS defined as
199506.

I 'fixed' the problem by defining _BSD_SOURCE.

libg++-2.7.2. Fails to build because of conflicting definition of values
defined in rx.h (from libg++) and /usr/include/reg_types.h.

The library compiles fine on DU 3.2C where there is no
/usr/include/reg_types.h.

Any suggestions?  (A) I'd appreciate a workaround for the libg++
problem. (B) Is there something I can do to make DU 4.0B at least as GNU
friendly as 3.2C?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-04  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-03  4:00 GNU and DIGITAL UNIX 4.0B R. Scott Butler-DuPont
1997-10-04  4:00 ` Jochen Küpper

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