tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: ProFTPD 1.2.2rc1 & rc2 make fails with `GLOB_ALTDIRFUNC'
@ 2001-04-21 17:24 March, Harold W.
  0 siblings, 0 replies; only message in thread
From: March, Harold W. @ 2001-04-21 17:24 UTC (permalink / raw)
  To: tru64-unix-managers


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-21 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-21 17:24 SUMMARY: ProFTPD 1.2.2rc1 & rc2 make fails with `GLOB_ALTDIRFUNC' March, Harold W.

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