Python 2.2.1 Build Trouble

Peter Chiu P.Chiu at rl.ac.uk
Wed Jul 17 13:26:35 EDT 2002


Hi,

I tried to build python-2.2.1 on an AlphaServer running Tru64 Unix 5.1a.

The .configure process went through okay, but make failed with error:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_
H -c ./Modules/posixmodule.c -o Modules/posixmodule.o

Modules/posixmodule.c: In function `posix_stat':

Modules/posixmodule.c:1310: `stat' undeclared (first use in this function)

Modules/posixmodule.c:1310: (Each undeclared identifier is reported only
once

Modules/posixmodule.c:1310: for each function it appears in.)

Modules/posixmodule.c: In function `posix_plock':

Modules/posixmodule.c:2227: warning: implicit declaration of function
`plock'

Modules/posixmodule.c: In function `posix_lstat':

Modules/posixmodule.c:3380: `lstat' undeclared (first use in this function)

Modules/posixmodule.c: In function `posix_unsetenv':

Modules/posixmodule.c:4118: warning: implicit declaration of function
`unsetenv'

make: *** [Modules/posixmodule.o] Error 1

$

Attached below is the full log.

Any advice?

Regards,

Peter Chiu

CLRC Rutherford Appleton Laboratory

Space Science & Technology Department

Building R25 Room 1.27

Chilton

Didcot

Oxfordshire

OX11 0QX

UK

Voice: +44-(0)1235-446699

Fax: +44-(0)1235-445848

Email: P.Chiu at rl.ac.uk

======================================================

Script started on Wed Jul 17 07:49:26 2002

BADC:\w$ pwd

/usr/local/kits/Python-2.2.1

BADC:\w$ gcc -v

Reading specs from /usr/local/lib/gcc-lib/alphaev67-dec-osf5.1/3.1/specs

Configured with: ../gcc-3.1/configure

Thread model: single

gcc version 3.1

BADC:\w$ ./configure

creating cache ./config.cache

checking MACHDEP... osf1V5

checking for --without-gcc... no

checking for --with-cxx=<compiler>... no

checking for c++... c++

checking whether the C++ compiler (c++ ) works... yes

checking whether the C++ compiler (c++ ) is a cross-compiler... no

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking how to run the C preprocessor... gcc -E

checking for AIX... no

checking for minix/config.h... no

checking for Cygwin environment... no

checking for mingw32 environment... no

checking for executable suffix... no

checking for --with-suffix...

checking for case-insensitive build directory... no

checking LIBRARY... libpython$(VERSION).a

checking LINKCC... $(PURIFY) $(CC)

checking LDLIBRARY... libpython$(VERSION).a

checking for ranlib... ranlib

checking for ar... ar

checking for a BSD compatible install... /usr/local/bin-saved/install -c

checking for --with-pydebug... no

checking whether gcc accepts -OPT:Olimit=0... no

checking whether gcc accepts -Olimit 1500... no

checking whether pthreads are available without options... no

checking whether gcc accepts -Kpthread... no

checking for ANSI C header files... yes

checking for dlfcn.h... yes

checking for fcntl.h... yes

checking for grp.h... yes

checking for limits.h... yes

checking for langinfo.h... yes

checking for locale.h... yes

checking for ncurses.h... no

checking for poll.h... yes

checking for pthread.h... no

checking for signal.h... yes

checking for stdarg.h... yes

checking for stddef.h... yes

checking for stdlib.h... yes

checking for thread.h... no

checking for unistd.h... yes

checking for utime.h... yes

checking for termios.h... yes

checking for sys/audioio.h... no

checking for sys/file.h... yes

checking for sys/lock.h... yes

checking for sys/modem.h... no

checking for db_185.h... no

checking for db.h... yes

checking for sys/param.h... yes

checking for sys/poll.h... yes

checking for sys/select.h... yes

checking for sys/socket.h... yes

checking for sys/time.h... yes

checking for sys/times.h... yes

checking for sys/un.h... yes

checking for sys/utsname.h... yes

checking for sys/wait.h... yes

checking for pty.h... yes

checking for term.h... yes

checking for libutil.h... no

checking for ndbm.h... yes

checking for db1/ndbm.h... no

checking for gdbm/ndbm.h... no

checking for sys/resource.h... yes

checking for netpacket/packet.h... no

checking for dirent.h that defines DIR... yes

checking for opendir in -ldir... no

checking for clock_t in time.h... yes

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 size of int... 4

checking size of long... 8

checking size of void *... 8

checking size of char... 1

checking size of short... 2

checking size of float... 4

checking size of double... 8

checking size of fpos_t... 8

checking for long long support... yes

checking size of long long... 8

checking for uintptr_t support... no

checking size of off_t... 8

checking whether to enable large file support... no

checking size of time_t... 4

checking for pthread_t... no

checking for --enable-toolbox-glue... no

checking for --enable-framework... no

checking for dyld... no

checking SO... .so

checking LDSHARED... ld -shared -expect_unresolved "*"

checking CCSHARED...

checking LINKFORSHARED...

checking CFLAGSFORSHARED...

checking for dlopen in -ldl... no

checking for shl_load in -ldld... no

checking for t_open in -lnsl... no

checking for socket in -lsocket... no

checking for --with-libs... no

checking for --with-signal-module... yes

checking for --with-dec-threads... no

checking for --with-threads... yes

checking for _POSIX_THREADS in unistd.h... yes

checking for mach/cthreads.h... no

checking for --with-pth... no

checking for pthread_create in -lpthread... yes

checking if PTHREAD_SCOPE_SYSTEM is supported... yes

checking for pthread_sigmask... yes

checking for usconfig in -lmpc... no

checking for thr_create in -lthread... no

checking if --enable-ipv6 is specified... yes

checking if RFC2553 API is available... yes

checking ipv6 stack type... unknown

checking for --with-cycle-gc... yes

checking for --with-pymalloc... no

checking for --with-wctype-functions... no

checking for --with-sgi-dl... no

checking for --with-dl-dld... no

checking for dlopen... yes

checking DYNLOADFILE... dynload_shlib.o

checking MACHDEP_OBJS... MACHDEP_OBJS

checking for alarm... yes

checking for chown... yes

checking for chroot... yes

checking for clock... yes

checking for confstr... yes

checking for ctermid... yes

checking for ctermid_r... no

checking for execv... yes

checking for flock... yes

checking for fork... yes

checking for fsync... yes

checking for fdatasync... 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 getpeername... yes

checking for getpid... yes

checking for getpwent... yes

checking for getwd... yes

checking for hstrerror... yes

checking for inet_pton... yes

checking for kill... yes

checking for link... yes

checking for lstat... yes

checking for mkfifo... 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... no

checking for putenv... yes

checking for readlink... yes

checking for select... yes

checking for setegid... yes

checking for seteuid... yes

checking for setgid... yes

checking for setgroups... yes

checking for setlocale... yes

checking for setregid... yes

checking for setreuid... yes

checking for setsid... yes

checking for setpgid... 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 strptime... yes

checking for symlink... yes

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 waitpid... yes

checking for _getpty... no

checking for getpriority... yes

checking for openpty... yes

checking for forkpty... 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 strerror... yes

checking for memmove... yes

checking for getpgrp... yes

checking for setpgrp... yes

checking for gettimeofday... 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 tm_zone in struct tm... yes

checking for st_rdev in struct stat... yes

checking for st_blksize in struct stat... yes

checking for st_blocks in struct stat... 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... no

checking for working 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 bad exec* prototypes... no

checking if sockaddr has sa_len member... no

checking for bad static forward... no

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 hypot... yes

checking what malloc(0) returns... null

checking for wchar.h... yes

checking size of wchar_t... 4

checking what type to use for unicode... unsigned short

checking whether byte ordering is bigendian... no

checking whether right shift extends the sign bit... yes

checking for getc_unlocked() and friends... yes

checking for rl_pre_input_hook in -lreadline... no

checking for rl_completion_matches in -lreadline... no

checking for broken nice()... no

checking whether mvwdelch is an expression... yes

checking whether WINDOW has _flags... yes

checking for socklen_t... no

checking for build directories... done

updating cache ./config.cache

creating ./config.status

creating Makefile.pre

creating Modules/Setup.config

creating pyconfig.h

creating Setup

creating Setup.local

creating Makefile

BADC:\w$ type make

make is /usr/local/bin-saved/make

BADC:\w$ make

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Modules/python.o Modules/python.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/acceler.o Parser/acceler.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/grammar1.o Parser/grammar1.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/listnode.o Parser/listnode.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/node.o Parser/node.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/parser.o Parser/parser.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/parsetok.o Parser/parsetok.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/tokenizer.o Parser/tokenizer.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/bitset.o Parser/bitset.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/metagrammar.o Parser/metagrammar.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/myreadline.o Parser/myreadline.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/abstract.o Objects/abstract.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/bufferobject.o Objects/bufferobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/cellobject.o Objects/cellobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/classobject.o Objects/classobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/cobject.o Objects/cobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/complexobject.o Objects/complexobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/descrobject.o Objects/descrobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/fileobject.o Objects/fileobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/floatobject.o Objects/floatobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/frameobject.o Objects/frameobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/funcobject.o Objects/funcobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/intobject.o Objects/intobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/iterobject.o Objects/iterobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/listobject.o Objects/listobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/longobject.o Objects/longobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/dictobject.o Objects/dictobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/methodobject.o Objects/methodobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/moduleobject.o Objects/moduleobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/object.o Objects/object.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/rangeobject.o Objects/rangeobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/sliceobject.o Objects/sliceobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/stringobject.o Objects/stringobject.c

Objects/stringobject.c: In function `PyString_Format':

Objects/stringobject.c:3425: warning: int format, different type arg (arg 5)

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/structseq.o Objects/structseq.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/tupleobject.o Objects/tupleobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/typeobject.o Objects/typeobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/weakrefobject.o Objects/weakrefobject.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/unicodeobject.o Objects/unicodeobject.c

Objects/unicodeobject.c: In function `PyUnicodeUCS2_Format':

Objects/unicodeobject.c:5544: warning: int format, different type arg (arg
5)

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Objects/unicodectype.o Objects/unicodectype.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/bltinmodule.o Python/bltinmodule.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/exceptions.o Python/exceptions.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/ceval.o Python/ceval.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/mysnprintf.o Python/mysnprintf.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/firstsets.o Parser/firstsets.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/grammar.o Parser/grammar.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/pgen.o Parser/pgen.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/printgrammar.o Parser/printgrammar.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Parser/pgenmain.o Parser/pgenmain.c

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes Parser/acceler.o
Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o
Parser/parsetok.o Parser/tokenizer.o Parser/bitset.o Parser/metagrammar.o
Python/mysnprintf.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o
Parser/printgrammar.o Parser/pgenmain.o -lpthread -o Parser/pgen

Parser/pgen ./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/compile.o Python/compile.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/codecs.o Python/codecs.c

Python/codecs.c: In function `normalizestring':

Python/codecs.c:104: warning: subscript has type `char'

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/errors.o Python/errors.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/frozen.o Python/frozen.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/frozenmain.o Python/frozenmain.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/future.o Python/future.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/getargs.o Python/getargs.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/getcompiler.o Python/getcompiler.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/getcopyright.o Python/getcopyright.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/getmtime.o Python/getmtime.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -DPLATFORM='"osf1V5"' -o Python/getplatform.o ./Python/getplatform.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/getversion.o Python/getversion.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/graminit.o Python/graminit.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/import.o Python/import.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -I. -o Python/importdl.o ./Python/importdl.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/marshal.o Python/marshal.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/modsupport.o Python/modsupport.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/mystrtoul.o Python/mystrtoul.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/pyfpe.o Python/pyfpe.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/pystate.o Python/pystate.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/pythonrun.o Python/pythonrun.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/structmember.o Python/structmember.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/symtable.o Python/symtable.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/sysmodule.o Python/sysmodule.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/traceback.o Python/traceback.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/getopt.o Python/getopt.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/dynload_shlib.o Python/dynload_shlib.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Python/thread.o Python/thread.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Modules/config.o Modules/config.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -DPYTHONPATH='":plat-osf1V5:lib-tk"' \

-DPREFIX='"/usr/local"' \

-DEXEC_PREFIX='"/usr/local"' \

-DVERSION='"2.2"' \

-DVPATH='""' \

-o Modules/getpath.o ./Modules/getpath.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Modules/main.o Modules/main.c

gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONF
IG_H -o Modules/gcmodule.o Modules/gcmodule.c

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_
H -c ./Modules/threadmodule.c -o Modules/threadmodule.o

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_
H -c ./Modules/signalmodule.c -o Modules/signalmodule.o

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_
H -c ./Modules/posixmodule.c -o Modules/posixmodule.o

Modules/posixmodule.c: In function `posix_stat':

Modules/posixmodule.c:1310: `stat' undeclared (first use in this function)

Modules/posixmodule.c:1310: (Each undeclared identifier is reported only
once

Modules/posixmodule.c:1310: for each function it appears in.)

Modules/posixmodule.c: In function `posix_plock':

Modules/posixmodule.c:2227: warning: implicit declaration of function
`plock'

Modules/posixmodule.c: In function `posix_lstat':

Modules/posixmodule.c:3380: `lstat' undeclared (first use in this function)

Modules/posixmodule.c: In function `posix_unsetenv':

Modules/posixmodule.c:4118: warning: implicit declaration of function
`unsetenv'

make: *** [Modules/posixmodule.o] Error 1

BADC:\w$ pwd

/usr/local/kits/Python-2.2.1

BADC:\w$ find . -name Python

./Mac/Contrib/BBPy.lm/Python

./Mac/Python

./Python

./RISCOS/Python

BADC:\w$ exit

script done on Wed Jul 17 07:56:16 2002



======================================================






More information about the Python-list mailing list