Help AIX 5.3 build on Python-3.1a2

P

pruebauno

OPT=-O2 LDFLAGS=-s ./configure --prefix=/ptst --with-gcc="xlc_r -q64"
--with-cxx="xlC_r -q64" --disable-ipv6 AR="ar -X64" --without-locale --
without-ctypes

checking for --with-universal-archs... 32-bit
checking MACHDEP... aix5
checking machine type as reported by uname -m... 00023AAA4C00
checking for --without-gcc... xlc_r -q64
checking for gcc... xlc_r -q64
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether xlc_r -q64 accepts -g... yes
checking for xlc_r -q64 option to accept ISO C89... none needed
checking for --with-cxx-main=<compiler>... no
checking for c++... no
checking for g++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking how to run the C preprocessor... xlc_r -q64 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for AIX... yes
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(srcdir)/Modules/makexp_aix Modules/python.exp . $
(LIBRARY); $(PURIFY) $(MAINCC)
checking for --enable-shared... no
checking for --enable-profiling...
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar -X64
checking for svnversion... not-found
checking for a BSD-compatible install... ./install-sh -c
checking for --with-pydebug... no
checking whether xlc_r -q64 accepts -OPT:Olimit=0... no
checking whether xlc_r -q64 accepts -Olimit 1500... no
checking whether pthreads are available without options... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking asm/types.h usability... no
checking asm/types.h presence... no
checking for asm/types.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... yes
checking sys/lock.h presence... yes
checking for sys/lock.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/stat.h... (cached) yes
checking sys/termio.h usability... yes
checking sys/termio.h presence... yes
checking for sys/termio.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netpacket/packet.h usability... no
checking netpacket/packet.h presence... no
checking for netpacket/packet.h... no
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
checking linux/tipc.h usability... no
checking linux/tipc.h presence... no
checking for linux/tipc.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... no
checking for sys/mkdev.h... (cached) no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for term.h... yes
checking for linux/netlink.h... no
checking for clock_t in time.h... yes
checking for makedev... no
checking Solaris LFS bug... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for ssize_t... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for void *... yes
checking size of void *... 8
checking for short... yes
checking size of short... 2
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for fpos_t... yes
checking size of fpos_t... 8
checking for size_t... (cached) yes
checking size of size_t... 8
checking for pid_t... (cached) yes
checking size of pid_t... 4
checking for long long support... yes
checking for long long... yes
checking size of long long... 8
checking for long double support... yes
checking for long double... yes
checking size of long double... 8
checking for _Bool support... no
checking for uintptr_t... yes
checking for uintptr_t... (cached) yes
checking size of uintptr_t... 8
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 4
checking for --enable-framework... no
checking for dyld... no
checking SO... .so
checking LDSHARED... $(BINLIBDEST)/config/ld_so_aix $(CC) -bI:$
(BINLIBDEST)/config/python.exp
checking CCSHARED...
checking LINKFORSHARED... -Wl,-bE:Modules/python.exp -lld
checking CFLAGSFORSHARED...
checking SHLIBS... $(LIBS)
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for library containing sem_init... none required
checking for textdomain in -lintl... yes
checking for genuine AIX C++ extensions support... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for --with-system-ffi...
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking if PTHREAD_SCOPE_SYSTEM is supported... yes
checking for pthread_sigmask... yes
checking if --enable-ipv6 is specified... no
checking for OSX 10.5 SDK or later... no
checking for --with-doc-strings... yes
checking for --with-tsc... no
checking for --with-pymalloc... yes
checking for --with-wctype-functions... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... yes
checking for setitimer... yes
checking for getitimer... yes
checking for bind_textdomain_codeset... no
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for execv... yes
checking for fchmod... yes
checking for fchown... yes
checking for fork... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for gai_strerror... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getloadavg... no
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getpriority... yes
checking for getpwent... yes
checking for getspnam... no
checking for getspent... no
checking for getsid... yes
checking for getwd... yes
checking for kill... yes
checking for killpg... yes
checking for lchmod... no
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mremap... no
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... yes
checking for poll... yes
checking for pthread_init... yes
checking for putenv... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setuid... yes
checking for setvbuf... yes
checking for snprintf... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for strlcpy... no
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... no
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... no
checking for truncate... yes
checking for uname... yes
checking for unsetenv... yes
checking for utimes... yes
checking for waitpid... yes
checking for wait3... yes
checking for wait4... yes
checking for wcscoll... yes
checking for wcsxfrm... yes
checking for _getpty... no
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for epoll... no
checking for kqueue... no
checking for ctermid_r... no
checking for flock... no
checking for getpagesize... yes
checking for true... true
checking for inet_aton in -lc... yes
checking for chflags... no
checking for lchflags... no
checking for inflateCopy in -lz... yes
checking for hstrerror... no
checking for inet_aton... yes
checking for inet_pton... yes
checking for setgroups... yes
checking for openpty... no
checking for openpty in -lutil... no
checking for openpty in -lbsd... no
checking for forkpty... no
checking for forkpty in -lutil... no
checking for forkpty in -lbsd... no
checking for memmove... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for gettimeofday... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... good
checking for getnameinfo... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for struct stat.st_gen... yes
checking for struct stat.st_birthtime... no
checking for struct stat.st_blocks... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included...
yes
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking whether char is unsigned... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... yes
checking whether va_list is an array... no
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... no
checking gethostbyname_r with 5 args... no
checking gethostbyname_r with 3 args... yes
checking for __fpu_control... no
checking for __fpu_control in -lieee... no
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking for x87-style double rounding... no
checking whether tanh preserves the sign of zero... yes
checking for acosh... yes
checking for asinh... yes
checking for atanh... yes
checking for copysign... yes
checking for expm1... yes
checking for finite... yes
checking for hypot... yes
checking for log1p... yes
checking whether isinf is declared... yes
checking whether isnan is declared... yes
checking whether isfinite is declared... yes
checking digit size for Python's longs... no value specified
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for UCS-4 tcl... no
checking whether wchar_t is signed... no
checking what type to use for str... unsigned short
checking whether byte ordering is bigendian... yes
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking how to link readline libs... -lreadline
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_pre_input_hook in -lreadline... no
checking for rl_completion_display_matches_hook in -lreadline... no
checking for rl_completion_matches in -lreadline... yes
checking for broken nice()... no
checking for broken poll()... no
checking for struct tm.tm_zone... (cached) no
checking whether tzname is declared... (cached) yes
checking for tzname... (cached) yes
checking for working tzset()... yes
checking for tv_nsec in struct stat... no
checking for tv_nsec2 in struct stat... no
checking whether mvwdelch is an expression... yes
checking whether WINDOW has _flags... yes
checking for is_term_resized... no
checking for resize_term... no
checking for resizeterm... no
checking for /dev/ptmx... no
checking for /dev/ptc... yes
checking for %zd printf() format support... yes
checking for socklen_t... yes
checking for broken mbstowcs... no
checking for --with-computed-gotos... no
checking for build directories... done
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating pyconfig.h
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
1506-507 (W) No licenses available. Contact your program supplier to
add additional users. Compilation will proceed shortly.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
1506-507 (W) No licenses available. Contact your program supplier to
add additional users. Compilation will proceed shortly.
"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.
make: 1254-004 The error code from the last command is 1.


Stop.
 
A

Aahz

xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
1506-507 (W) No licenses available. Contact your program supplier to
add additional users. Compilation will proceed shortly.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
1506-507 (W) No licenses available. Contact your program supplier to
add additional users. Compilation will proceed shortly.
"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.
make: 1254-004 The error code from the last command is 1.

Posting the entire autoconf output without first summarizing the problem
will likely cause many people to ignore your post. In addition, AIX is
traditionally one of the problem platforms, which also will generate
little interest. You will almost certainly need to do a lot of the
gruntwork, and unless you're already familiar with AIX foibles, this is
likely to be unfixable. Can you try trimming down the compilation to a
small reproducible case?
 
J

Jeroen Ruigrok van der Werven

-On [20090425 19:17] said:
"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
 
P

pruebauno

-On [20090425 19:17] said:
"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

Thanks Jeroen. I know that AIX isn't as supported as other platforms,
but I thought it wouldn't hurt to ask anyway. At least now everybody
can search for that particular problem and find something. I will
experiment a little bit and see if I make it compile.
 
J

Jeroen Ruigrok van der Werven

-On [20090427 15:00] said:
Thanks Jeroen. I know that AIX isn't as supported as other platforms,
but I thought it wouldn't hurt to ask anyway. At least now everybody
can search for that particular problem and find something. I will
experiment a little bit and see if I make it compile.

I'll be interested to see if that fixes it. I have had to support a bunch of
different Unix systems over the years compile-wise, but I don't think AIX
was one of them though, so I might be a bit rusty there.
 
P

pruebauno

-On [20090427 15:00] said:
Thanks Jeroen. I know that AIX isn't as supported as other platforms,
but I thought it wouldn't hurt to ask anyway. At least now everybody
can search for that particular problem and find something. I will
experiment a little bit and see if I make it compile.

I'll be interested to see if that fixes it. I have had to support a bunch of
different Unix systems over the years compile-wise, but I don't think AIX
was one of them though, so I might be a bit rusty there.

Yes, I tried them and either way fixes it. But this was with version 6
of the xlc compiler and it later gave me this error:

xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c

"Python/symtable.c", line 767.50: 1506-068 (S) Operation between types
"struct _object*" and "int" is not allowed.
"Python/symtable.c", line 826.55: 1506-068 (S) Operation between types
"struct _object*" and "int" is not allowed.
make: 1254-004 The error code from the last command is 1.

I gave up and found a machine with xlc version 8 installed. Using that
version gave me a bunch of warnings instead but it compiled. Just for
the curious this is (more or less) what it looks like (long text
follows!):

(//ptst/Python-3.1a2) > make
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/node.o Parser/node.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
"Parser/parser.c", line 32.31: 1506-1298 (W) The subscript 1500 is out
of range. The valid range is 0 to 1499.
"Parser/parser.c", line 293.45: 1506-1298 (W) The subscript 1500 is
out of range. The valid range is 0 to 1499.
"Parser/parser.c", line 314.29: 1506-1298 (W) The subscript 1500 is
out of range. The valid range is 0 to 1499.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
[...]
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
"Objects/typeobject.c", line 5646.42: 1506-068 (W) Operation between
types "void*" and "struct _object*(*)(struct _object*)" is not
allowed.
"Objects/typeobject.c", line 5692.34: 1506-068 (W) Operation between
types "void*" and "long(*)(struct _object*)" is not allowed.
"Objects/typeobject.c", line 5907.26: 1506-068 (W) Operation between
types "void*" and "long(*)(struct _object*)" is not allowed.
[...]
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/ast.o Python/ast.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
[...]
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/future.o Python/future.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
[...]
xlc_r -q64 -c -DNDEBUG -O2 -I. -IInclude -I./Include -
DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c
"Include/token.h", line 42.9: 1506-236 (W) Macro name TILDE has been
redefined.
"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is defined on line
250 of /usr/include/sys/ioctl.h.
[...]
building '_ctypes_test' extension
xlc_r -q64 -DNDEBUG -O2 -I. -I./Include -I/usr/local/include -IInclude
-I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/_ctypes/
_ctypes_test.c -o build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/
_ctypes/_ctypes_test.o
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for M is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for N is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for O is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for P is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for Q is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for R is not valid. Type
unsigned assumed.
"//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.c", line 360.9:
1506-159 (E) Bit field type specified for S is not valid. Type
unsigned assumed.
../Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_ctypes/_ctypes_test.o -L/
usr/local/lib -o build/lib.aix-5.3-3.1/_ctypes_test.so
ld: 0711-327 WARNING: Entry point not found: init_ctypes_test
[...]
xlc_r -q64 -DNDEBUG -O2 -I. -I./Include -I/usr/local/include -IInclude
-I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/readline.c -o
build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/readline.o
"//ptst/Python-3.1a2/Modules/readline.c", line 31.10: 1506-296 (S)
#include file <readline/readline.h> not found.
"//ptst/Python-3.1a2/Modules/readline.c", line 32.10: 1506-296 (S)
#include file <readline/history.h> not found.
"//ptst/Python-3.1a2/Modules/readline.c", line 282.26: 1506-045 (S)
Undeclared identifier rl_completion_type.
"//ptst/Python-3.1a2/Modules/readline.c", line 328.21: 1506-045 (S)
Undeclared identifier rl_completer_word_break_characters.
"//ptst/Python-3.1a2/Modules/readline.c", line 341.9: 1506-045 (S)
Undeclared identifier HIST_ENTRY.
"//ptst/Python-3.1a2/Modules/readline.c", line 341.21: 1506-045 (S)
Undeclared identifier entry.
"//ptst/Python-3.1a2/Modules/readline.c", line 376.9: 1506-045 (S)
Undeclared identifier HIST_ENTRY.
"//ptst/Python-3.1a2/Modules/readline.c", line 376.21: 1506-045 (S)
Undeclared identifier old_entry.
"//ptst/Python-3.1a2/Modules/readline.c", line 432.37: 1506-045 (S)
Undeclared identifier rl_completer_word_break_characters.
"//ptst/Python-3.1a2/Modules/readline.c", line 477.9: 1506-045 (S)
Undeclared identifier HIST_ENTRY.
"//ptst/Python-3.1a2/Modules/readline.c", line 477.21: 1506-045 (S)
Undeclared identifier hist_ent.
"//ptst/Python-3.1a2/Modules/readline.c", line 498.9: 1506-045 (S)
Undeclared identifier HISTORY_STATE.
"//ptst/Python-3.1a2/Modules/readline.c", line 498.24: 1506-045 (S)
Undeclared identifier hist_st.
"//ptst/Python-3.1a2/Modules/readline.c", line 514.37: 1506-045 (S)
Undeclared identifier rl_line_buffer.
"//ptst/Python-3.1a2/Modules/readline.c", line 727.17: 1506-045 (S)
Undeclared identifier rl_attempted_completion_over.
"//ptst/Python-3.1a2/Modules/readline.c", line 765.16: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/readline.c", line 765.16: 1506-023 (S)
Expecting function or pointer to function.
"//ptst/Python-3.1a2/Modules/readline.c", line 782.9: 1506-045 (S)
Undeclared identifier rl_readline_name.
"//ptst/Python-3.1a2/Modules/readline.c", line 788.27: 1506-045 (S)
Undeclared identifier rl_insert.
"//ptst/Python-3.1a2/Modules/readline.c", line 790.35: 1506-045 (S)
Undeclared identifier rl_complete.
"//ptst/Python-3.1a2/Modules/readline.c", line 790.48: 1506-045 (S)
Undeclared identifier emacs_meta_keymap.
"//ptst/Python-3.1a2/Modules/readline.c", line 793.38: 1506-275 (S)
Unexpected text ')' encountered.
"//ptst/Python-3.1a2/Modules/readline.c", line 793.28: 1506-045 (S)
Undeclared identifier Function.
"//ptst/Python-3.1a2/Modules/readline.c", line 793.54: 1506-277 (S)
Syntax error: possible missing ')' or ','?
"//ptst/Python-3.1a2/Modules/readline.c", line 793.9: 1506-045 (S)
Undeclared identifier rl_startup_hook.
"//ptst/Python-3.1a2/Modules/readline.c", line 800.9: 1506-045 (S)
Undeclared identifier rl_completer_word_break_characters.
"//ptst/Python-3.1a2/Modules/readline.c", line 861.32: 1506-045 (S)
Undeclared identifier rl_instream.
"//ptst/Python-3.1a2/Modules/readline.c", line 949.26: 1506-045 (S)
Undeclared identifier rl_instream.
"//ptst/Python-3.1a2/Modules/readline.c", line 949.55: 1506-045 (S)
Undeclared identifier rl_outstream.
"//ptst/Python-3.1a2/Modules/readline.c", line 978.17: 1506-045 (S)
Undeclared identifier HISTORY_STATE.
"//ptst/Python-3.1a2/Modules/readline.c", line 978.32: 1506-045 (S)
Undeclared identifier state.
"//ptst/Python-3.1a2/Modules/readline.c", line 978.38: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/readline.c", line 980.43: 1506-122 (S)
Expecting pointer to struct or union.
[...]
building 'bz2' extension
xlc_r -q64 -DNDEBUG -O2 -I. -I./Include -I/usr/local/include -IInclude
-I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/bz2module.c -o
build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/bz2module.o
"//ptst/Python-3.1a2/Modules/bz2module.c", line 12.10: 1506-296 (S)
#include file <bzlib.h> not found.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 105.9: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 116.9: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 125.9: 1506-046 (S)
Syntax error.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 141.22: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 141.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 142.22: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 142.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 154.22: 1506-045 (S)
Undeclared identifier BZ_PARAM_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 154.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 161.22: 1506-045 (S)
Undeclared identifier BZ_MEM_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 161.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 166.22: 1506-045 (S)
Undeclared identifier BZ_DATA_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 166.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 167.22: 1506-045 (S)
Undeclared identifier BZ_DATA_ERROR_MAGIC.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 167.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 172.22: 1506-045 (S)
Undeclared identifier BZ_IO_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 172.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 177.22: 1506-045 (S)
Undeclared identifier BZ_UNEXPECTED_EOF.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 177.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 184.22: 1506-045 (S)
Undeclared identifier BZ_SEQUENCE_ERROR.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 184.22: 1506-051 (S)
Case expression must be a valid integral constant.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 245.62: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 250.37: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 252.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 324.45: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 327.24: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 330.31: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 442.56: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 448.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 452.39: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 576.52: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 580.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 588.39: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 721.38: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 725.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 846.54: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 848.40: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 933.72: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 939.48: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 941.55: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 963.49: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 970.23: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 993.56: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1057.23: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1067.57: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1070.58: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1232.23: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1235.23: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1238.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1270.57: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1273.58: 1506-022 (S)
"fp" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1398.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1398.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1398.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1431.47: 1506-045 (S)
Undeclared identifier BZ_RUN.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1433.32: 1506-045 (S)
Undeclared identifier BZ_RUN_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1478.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1478.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1478.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1501.47: 1506-045 (S)
Undeclared identifier BZ_FINISH.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1503.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1505.39: 1506-045 (S)
Undeclared identifier BZ_FINISH_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1572.23: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1572.37: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1573.45: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1574.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1599.34: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1694.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1694.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1694.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1724.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1734.32: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1799.23: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1799.37: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1800.47: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1801.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1829.36: 1506-022 (S)
"bzs" is not a member of "struct {...}".
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1909.19: 1506-275 (S)
Unexpected text _bzs encountered.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1909.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1910.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1910.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1946.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1955.47: 1506-045 (S)
Undeclared identifier BZ_FINISH.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1957.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 1959.39: 1506-045 (S)
Undeclared identifier BZ_FINISH_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2004.19: 1506-275 (S)
Unexpected text _bzs encountered.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2004.9: 1506-045 (S)
Undeclared identifier bz_stream.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2005.20: 1506-045 (S)
Undeclared identifier bzs.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2005.24: 1506-277 (S)
Syntax error: possible missing ';' or ','?
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2032.24: 1506-045 (S)
Undeclared identifier BZ_OK.
"//ptst/Python-3.1a2/Modules/bz2module.c", line 2043.32: 1506-045 (S)
Undeclared identifier BZ_STREAM_END.
building 'pyexpat' extension
xlc_r -q64 -DNDEBUG -O2 -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I//
ptst/Python-3.1a2/./Modules/expat -I. -I./Include -I/usr/local/include
-IInclude -I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/
pyexpat.c -o build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/
pyexpat.o
"//ptst/Python-3.1a2/Modules/pyexpat.c", line 1472.27: 1506-068 (W)
Operation between types "void*" and "void(*)(void*,const char*,int)"
is not allowed.
[...]
building '_elementtree' extension
xlc_r -q64 -DNDEBUG -O2 -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I//
ptst/Python-3.1a2/./Modules/expat -I. -I./Include -I/usr/local/include
-IInclude -I//ptst/Python-3.1a2 -c //ptst/Python-3.1a2/Modules/
_elementtree.c -o build/temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/
_elementtree.o
"//ptst/Python-3.1a2/Modules/_elementtree.c", line 1369.5: 1506-196
(W) Initialization between types "void*" and "struct _object*(*)
(struct _object*,long,long)" is not allowed.
"//ptst/Python-3.1a2/Modules/_elementtree.c", line 1371.5: 1506-196
(W) Initialization between types "void*" and "int(*)(struct
_object*,long,long,struct _object*)" is not allowed.
../Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_elementtree.o -L/usr/
local/lib -o build/lib.aix-5.3-3.1/_elementtree.so
ld: 0711-327 WARNING: Entry point not found: init_elementtree
[...]
building '_tkinter' extension
xlc_r -q64 -DNDEBUG -O2 -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./
Include -I/usr/local/include -IInclude -I//ptst/Python-3.1a2 -c //ptst/
Python-3.1a2/Modules/_tkinter.c -o build/temp.aix-5.3-3.1//ptst/
Python-3.1a2/Modules/_tkinter.o
xlc_r -q64 -DNDEBUG -O2 -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./
Include -I/usr/local/include -IInclude -I//ptst/Python-3.1a2 -c //ptst/
Python-3.1a2/Modules/tkappinit.c -o build/temp.aix-5.3-3.1//ptst/
Python-3.1a2/Modules/tkappinit.o
../Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_tkinter.o build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/tkappinit.o -L/usr/X11R6/
lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.3 -ltcl8.3 -lX11 -o
build/lib.aix-5.3-3.1/_tkinter.so
ld: 0706-006 Cannot find or open library file: -l tk8.3
ld:eek:pen(): A file or directory in the path name does not
exist.
ld: 0706-006 Cannot find or open library file: -l tcl8.3
ld:eek:pen(): A file or directory in the path name does not
exist.
*** WARNING: renaming "_tkinter" since importing it failed:
0509-022 Cannot load module build/lib.aix-5.3-3.1.
0509-026 System error: A file or directory in the path name
does not exist.
error: No such file or directory
make: 1254-004 The error code from the last command is 1.

Stop.
 
J

Jeroen Ruigrok van der Werven

-On [20090427 20:31] said:
./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_tkinter.o build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/tkappinit.o -L/usr/X11R6/
lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.3 -ltcl8.3 -lX11 -o
build/lib.aix-5.3-3.1/_tkinter.so
ld: 0706-006 Cannot find or open library file: -l tk8.3
ld:eek:pen(): A file or directory in the path name does not
exist.

Well, do you have TK installed? It seems so, but are the paths passed to the
compiler/linker correct (-L) for locating libtk8.3.so?
 
P

pruebauno

-On [20090427 20:31] said:
./Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/_tkinter.o build/
temp.aix-5.3-3.1//ptst/Python-3.1a2/Modules/tkappinit.o -L/usr/X11R6/
lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.3 -ltcl8.3 -lX11 -o
build/lib.aix-5.3-3.1/_tkinter.so
ld: 0706-006 Cannot find or open library file: -l tk8.3
       ld:eek:pen(): A file or directory in the path name does not
exist.

Well, do you have TK installed? It seems so, but are the paths passed to the
compiler/linker correct (-L) for locating libtk8.3.so?

I don't think I have tk. Since it is the last thing to build it's not
a problem. At that point I just call it a successful compilation :).
Python still works fine regardless.
 
J

jenifer adam

-On [20090425 19:17] said:
"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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,954
Messages
2,570,116
Members
46,704
Latest member
BernadineF

Latest Threads

Top