From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653646721639.tru64-unix-managers.marc@archive.invalid> From: "March, Harold W." Date: Sat, 21 Apr 2001 17:24:03 +0000 To: tru64-unix-managers Subject: SUMMARY: ProFTPD 1.2.2rc1 & rc2 make fails with `GLOB_ALTDIRFUNC' X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653646721639 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