Help AIX 5.3 build on Python-3.1a2

jenifer adam jenigirly at gmail.com
Sat Jun 13 10:40:00 CEST 2009


On Apr 26, 2:14 pm, Jeroen Ruigrok van der Werven <asmo... at in-
nomine.org> wrote:
> -On [20090425 19:17], Aahz (a... at pythoncraft.com) wrote:
>
> >In article <acf6ccbd-fcdb-4141-b2ef-0c83cae99... at x5g2000yqk.googlegroups.com>,
> > <prueba... at latinmail.com> wrote:
> >>"Include/token.h", line 42.9: 1506-213 (S) Macro name TILDE cannot be
> >>redefined.
> >>"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
> >>250 of /usr/include/sys/ioctl.h.
>
> >Can you try trimming down the compilation to a small reproducible case?
>
> I thought it was already clear from what was provided?
>
> Include/token.h has a #define for TILDE and apparently AIX has a #define for
> TILDE in /usr/include/sys/ioctl.h as well. So you can a redefinition.
>
> One way around it, depending how AIX protects headers might be to change
> Include/token.h to either:
>
> #if defined(_SYS_IOCTL_H_)
> #undef TILDE
> #define TILDE           32
> #endif
>
> or
>
> #if defined(aix)
> #undef TILDE
> #define TILDE           32
> #endif
>
> --
> Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
> イェルーン ラウフロック ヴァン デル ウェルヴェンhttp://www.in-nomine.org/|http://www.rangaku.org/| GPG: 2EAC625B
> A rose is a rose is a rose is a rose...

Check http://www.voipsipsdk.com its a good one.



More information about the Python-list mailing list