tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "March, Harold W." <Harold.March () baesystems-canada ! com>
To: tru64-unix-managers
Subject: SUMMARY: ProFTPD 1.2.2rc1 & rc2 make fails with `GLOB_ALTDIRFUNC'
Date: Sat, 21 Apr 2001 17:24:03 +0000	[thread overview]
Message-ID: <102653646721639.tru64-unix-managers.marc@archive.invalid> (raw)


A pseudo-summary for admins attempting to build ProFTPD 1.2.2rc1 or
1.2.2rc2.

Under T64 V4.0F and compilng with gcc version 2.95.2 (the native cc will not
build ProFTPD):

make fails with
fs.c: In function `fs_glob':
fs.c:1132: `GLOB_ALTDIRFUNC' undeclared (first use in this function)
fs.c:1132: (Each undeclared identifier is reported only once
fs.c:1132: for each function it appears in.)
*** Exit 1
Stop.

Moving the following defs out of the conditional in include/glibc-glob.h at
line 76 works around the problem:

$ diff glibc-glob.h glibc-glob.h-old
75,82d74
< #define GLOB_MAGCHAR   (1 << 8)/* Set in gl_flags if any metachars seen.
*/
< #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 pattern.
*/
< #define GLOB_TILDE     (1 << 12)/* Expand ~user and ~ to home directories.
*/
< #define GLOB_ONLYDIR   (1 << 13)/* Match only directories.  */
< #define GLOB_TILDE_CHECK (1 << 14)/* Like GLOB_TILDE but return an error
<                                     if the user name is not available.  */
85a78,85
> # define GLOB_MAGCHAR  (1 << 8)/* Set in gl_flags if any metachars seen.
*/
> # 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 pattern.
*/
> # define GLOB_TILDE    (1 << 12)/* Expand ~user and ~ to home directories.
*/
> # define GLOB_ONLYDIR  (1 << 13)/* Match only directories.  */
> # define GLOB_TILDE_CHECK (1 << 14)/* Like GLOB_TILDE but return an error
>                                     if the user name is not available.  */

Harold March
Systems Technology Architect
Information Technology
CMC Electronics Inc.
Harold.March@CMCElectronics.ca
TEL: 514-748-3000 ext 4467 FAX: 514-748-3136

                 reply	other threads:[~2001-04-21 17:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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