From: "R. Scott Butler-DuPont" <butler@esvax.email.dupont.com>
Subject: GNU and DIGITAL UNIX 4.0B
Date: 1997/10/03 [thread overview]
Message-ID: <34357982.58929FDB@esvax.email.dupont.com> (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?
next reply other threads:[~1997-10-03 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-03 4:00 R. Scott Butler-DuPont [this message]
1997-10-04 4:00 ` GNU and DIGITAL UNIX 4.0B Jochen Küpper
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox