Build problems with 3.2.3p1 under AIX 4.3.2
Albert Chin
openssh-unix-dev at thewrittenword.com
Fri Jun 7 03:19:14 EST 2002
On Wed, Jun 05, 2002 at 08:18:03AM +0100, Manton, Doug wrote:
> Jave you tried adding "-qlanglvl=extended" to your CFLAGS. With this
> flag, I can successfully build 3.2.3p1 using xlC v5 under AIX 4.3.3 ML9.
Seems icky.
> Best wishes,
> Doug Manton, AT&T Business Commercial Security
> ----------------------------------------------
>
> -----Original Message-----
> From: Albert Chin [mailto:openssh-unix-dev at thewrittenword.com]
> Sent: 05 June 2002 00:38
> To: openssh-unix-dev at mindrot.org
> Subject: Build problems with 3.2.3p1 under AIX 4.3.2
>
>
> xlc -O2 -qmaxmem=-1 -qarch=com -I/opt/TWWfsw/tcpwrap/include -I. -I..
> -I. -I./.. -I/opt/TWWfsw/libopenssl09s/include
> -I/opt/TWWfsw/zlib11s/include -DHAVE_CONFIG_H -c glob.c
> "glob.c", line 100.9: 1506-213 (S) Macro name TILDE cannot be redefined.
> "glob.c", line 100.9: 1506-358 (I) "TILDE" is defined on line 250 of
> /usr/include/sys/ioctl.h.
> gmake[1]: *** [glob.o] Error 1
>
> From /usr/include/sys/ioctl.h:
> #define TILDE 0x00080000 /* hazeltine tilde
> kludge */
>
> The patch below fixes this.
>
> --
> albert chin (china at thewrittenword.com)
>
> -- snip snip
> --- openbsd-compat/glob.c.orig Tue Jun 4 18:34:34 2002
> +++ openbsd-compat/glob.c Tue Jun 4 18:34:56 2002
> @@ -97,7 +97,7 @@
> #define RBRACKET ']'
> #define SEP '/'
> #define STAR '*'
> -#define TILDE '~'
> +#define TILDE_CHAR '~'
> #define UNDERSCORE '_'
> #define LBRACE '{'
> #define RBRACE '}'
> @@ -354,7 +354,7 @@
> const Char *p;
> Char *b, *eb;
>
> - if (*pattern != TILDE || !(pglob->gl_flags & GLOB_TILDE))
> + if (*pattern != TILDE_CHAR || !(pglob->gl_flags & GLOB_TILDE))
> return pattern;
>
> /* Copy up to the end of the string or / */
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
--
albert chin (china at thewrittenword.com)
More information about the openssh-unix-dev
mailing list