[Python-bugs-list] [ python-Bugs-800710 ] build fails

SourceForge.net noreply at sourceforge.net
Fri Sep 5 01:12:57 EDT 2003


Bugs item #800710, was opened at 2003-09-04 23:27
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=800710&group_id=5470

Category: Installation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Adam Schran (aschran)
Assigned to: Nobody/Anonymous (nobody)
Summary: build fails

Initial Comment:
dear python code samurais,



I ran ./configure and make on python 2.3, and got this 

failure on the make.  researched extensively before 

posting to you guys. =)



This problem only happens when installing Python 2.3.  

Python 2.2 installs flawlessly.



This is on a 2-year-old Linux box running slackware, with 

gcc version 2.7.2. 



I was able to get Python 2.3 to install on a newer 

machine with a different linux distrib with no problem. 



here are the results of the .configure and the make. 

Thanks for any help getting Python going on this 

machine! I'll try any suggestions. Adam



azure:~/Python-2.3$ ./configure

checking MACHDEP... linux2

checking EXTRAPLATDIR... 

checking for --without-gcc... no

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

checking for c++... c++

checking for C++ compiler default output... a.out

checking whether the C++ compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables... 

checking for gcc... gcc

checking for C compiler default output... 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... yes

checking whether gcc accepts -g... yes

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

checking for AIX... no

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... no

checking for stdint.h... no

checking for unistd.h... yes

checking minix/config.h usability... no

checking minix/config.h presence... no

checking for minix/config.h... no

checking for --with-suffix... 

checking for case-insensitive build directory... no

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

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

checking for --enable-shared... no

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

checking for ranlib... ranlib

checking for ar... ar

checking for a BSD-compatible install... /usr/bin/ginstall -

c

checking for --with-pydebug... no

checking whether gcc accepts -fno-strict-aliasing... 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 whether gcc accepts -Kthread... no

checking whether gcc accepts -pthread... no

checking whether c++ also accepts flags for thread 

support... no

checking for ANSI C header files... (cached) yes

checking dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.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 limits.h usability... yes

checking limits.h presence... yes

checking for limits.h... yes

checking langinfo.h usability... yes

checking langinfo.h presence... yes

checking for langinfo.h... yes

checking libintl.h usability... no

checking libintl.h presence... no

checking for libintl.h... no

checking locale.h usability... yes

checking locale.h presence... yes

checking for locale.h... yes

checking ncurses.h usability... no

checking ncurses.h presence... no

checking for ncurses.h... no

checking poll.h usability... no

checking poll.h presence... no

checking for poll.h... no

checking pthread.h usability... yes

checking pthread.h presence... yes

checking for pthread.h... yes

checking signal.h usability... yes

checking signal.h presence... yes

checking for signal.h... yes

checking stdarg.h usability... yes

checking stdarg.h presence... yes

checking for stdarg.h... yes

checking stddef.h usability... yes

checking stddef.h presence... yes

checking for stddef.h... yes

checking for stdlib.h... (cached) yes

checking stropts.h usability... no

checking stropts.h presence... no

checking for stropts.h... no

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/file.h usability... yes

checking sys/file.h presence... yes

checking for sys/file.h... yes

checking sys/lock.h usability... no

checking sys/lock.h presence... no

checking for sys/lock.h... no

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... no

checking sys/poll.h presence... no

checking for sys/poll.h... no

checking sys/select.h usability... no

checking sys/select.h presence... no

checking for sys/select.h... no

checking sys/socket.h usability... yes

checking sys/socket.h presence... yes

checking for sys/socket.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 sys/un.h usability... no

checking sys/un.h presence... yes

configure: WARNING: sys/un.h: present but cannot be 

compiled

configure: WARNING: sys/un.h: check for missing 

prerequisite headers?

configure: WARNING: sys/un.h: proceeding with the 

preprocessor's result

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 term.h usability... yes

checking term.h presence... yes

checking for term.h... yes

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

checking size of int... 4

checking for long... yes

checking size of long... 4

checking for void *... yes

checking size of void *... 4

checking for char... yes

checking size of char... 1

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... 4

checking for long long support... yes

checking for long long... yes

checking size of long long... 8

checking for uintptr_t support... no

checking size of off_t... 4

checking whether to enable large file support... no

checking size of time_t... 4

checking for pthread_t... yes

checking size of pthread_t... 4

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

checking for --enable-framework... no

checking for dyld... no

checking SO... .so

checking LDSHARED... $(CC) -shared

checking CCSHARED... -fPIC

checking LINKFORSHARED... -Xlinker -export-dynamic

checking CFLAGSFORSHARED... 

checking SHLIBS... $(LIBS)

checking for dlopen in -ldl... yes

checking for shl_load in -ldld... no

checking for library containing sem_init... -lpthread

checking for textdomain in -lintl... 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... no

checking cthreads.h usability... no

checking cthreads.h presence... no

checking for cthreads.h... no

checking mach/cthreads.h usability... no

checking mach/cthreads.h presence... no

checking for mach/cthreads.h... no

checking for --with-pth... no

checking for pthread_create in -lpthread... yes

checking for usconfig in -lmpc... no

checking if PTHREAD_SCOPE_SYSTEM is supported... yes

checking for pthread_sigmask... yes

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

checking for --with-universal-newlines... yes

checking for --with-doc-strings... yes

checking for --with-pymalloc... yes

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

checking for confstr... yes

checking for ctermid... yes

checking for execv... yes

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

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

checking for kill... yes

checking for killpg... yes

checking for lchown... no

checking for lstat... yes

checking for mkfifo... yes

checking for mknod... yes

checking for mktime... yes

checking for mremap... yes

checking for nice... yes

checking for pathconf... yes

checking for pause... yes

checking for plock... no

checking for poll... no

checking for pthread_init... no

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... no

checking for strftime... yes

checking for strptime... yes

checking for sysconf... yes

checking for tcgetpgrp... yes

checking for tcsetpgrp... yes

checking for tempnam... yes

checking for timegm... yes

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 wcscoll... no

checking for _getpty... no

checking for chroot... no

checking for link... yes

checking for symlink... no

checking for ctermid_r... no

checking for flock... yes

checking for getpagesize... no

checking for true... true

checking for inet_aton in -lc... yes

checking for hstrerror... no

checking for inet_aton... yes

checking for inet_pton... no

checking for setgroups... no

checking for openpty... no

checking for openpty in -lutil... no

checking for forkpty... no

checking for forkpty in -lutil... no

checking for fseek64... no

checking for fseeko... no

checking for fstatvfs... no

checking for ftell64... no

checking for ftello... no

checking for statvfs... no

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... (cached) yes

checking for gettimeofday... yes

checking for major... yes

checking for getaddrinfo... no

checking for getnameinfo... no

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 for tzname... yes

checking for struct stat.st_rdev... yes

checking for struct stat.st_blksize... yes

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... no

checking for addrinfo... no

checking for sockaddr_storage... no

checking whether char is unsigned... no

checking for gcc option to accept ANSI C... none needed

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

checking if sockaddr has sa_len member... 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... yes

checking for __fpu_control... yes

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 wchar.h usability... no

checking wchar.h presence... no

checking for wchar.h... no

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()... yes

checking for working tzset()... yes

checking for tv_nsec in struct stat... no

checking whether mvwdelch is an expression... yes

checking whether WINDOW has _flags... yes

checking for /dev/ptmx... no

checking for /dev/ptc... no

checking for socklen_t... 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 Setup

creating Setup.local

creating Makefile

azure:~/Python-2.3$ 





azure:~/Python-2.3$ make

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Modules/python.o 

Modules/python.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Modules/python.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/acceler.o 

Parser/acceler.c

In file included from Include/grammar.h:10,

                 from Parser/acceler.c:14:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/acceler.c:13:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/grammar1.o 

Parser/grammar1.c

In file included from Include/grammar.h:10,

                 from Parser/grammar1.c:6:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/grammar1.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/listnode.o 

Parser/listnode.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/listnode.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/node.o 

Parser/node.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/node.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/parser.o 

Parser/parser.c

In file included from Include/grammar.h:10,

                 from Parser/parser.c:11:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/parser.c:8:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/parsetok.o 

Parser/parsetok.c

In file included from Include/grammar.h:10,

                 from Parser/parsetok.c:7:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/parsetok.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/bitset.o 

Parser/bitset.c

In file included from Parser/bitset.c:5:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/bitset.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/metagrammar.o 

Parser/metagrammar.c

In file included from Include/grammar.h:10,

                 from Parser/metagrammar.c:4:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/metagrammar.c:2:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/firstsets.o 

Parser/firstsets.c

In file included from Include/grammar.h:10,

                 from Parser/firstsets.c:5:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/firstsets.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/grammar.o 

Parser/grammar.c

In file included from Include/grammar.h:10,

                 from Parser/grammar.c:10:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/grammar.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

Parser/grammar.c: In function `_Py_adddfa':

Parser/grammar.c:45: warning: implicit declaration of 

function `strdup'

Parser/grammar.c:45: warning: assignment makes 

pointer from integer without a cast

Parser/grammar.c: In function `_Py_addlabel':

Parser/grammar.c:105: warning: assignment makes 

pointer from integer without a cast

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/pgen.o 

Parser/pgen.c

In file included from Include/grammar.h:10,

                 from Parser/pgen.c:11:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/pgen.c:7:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/myreadline.o 

Parser/myreadline.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/myreadline.c:12:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/tokenizer.o 

Parser/tokenizer.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/tokenizer.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/abstract.o 

Objects/abstract.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/abstract.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/boolobject.o 

Objects/boolobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/boolobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/bufferobject.o 

Objects/bufferobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/bufferobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/cellobject.o 

Objects/cellobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/cellobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/classobject.o 

Objects/classobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/classobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/cobject.o 

Objects/cobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/cobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o 

Objects/complexobject.o Objects/complexobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/complexobject.c:8:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/descrobject.o 

Objects/descrobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/descrobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/enumobject.o 

Objects/enumobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/enumobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/fileobject.o 

Objects/fileobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/fileobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

Objects/fileobject.c: In function `file_truncate':

Objects/fileobject.c:618: warning: implicit declaration of 

function `ftruncate'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/floatobject.o 

Objects/floatobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/floatobject.c:7:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/frameobject.o 

Objects/frameobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/frameobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/funcobject.o 

Objects/funcobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/funcobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/intobject.o 

Objects/intobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/intobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/iterobject.o 

Objects/iterobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/iterobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/listobject.o 

Objects/listobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/listobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/longobject.o 

Objects/longobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/longobject.c:6:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/dictobject.o 

Objects/dictobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/dictobject.c:10:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o 

Objects/methodobject.o Objects/methodobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/methodobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/moduleobject.o 

Objects/moduleobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/moduleobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/object.o 

Objects/object.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/object.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/obmalloc.o 

Objects/obmalloc.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/obmalloc.c:1:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/rangeobject.o 

Objects/rangeobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/rangeobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/sliceobject.o 

Objects/sliceobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/sliceobject.c:16:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/stringobject.o 

Objects/stringobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/stringobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/structseq.o 

Objects/structseq.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/structseq.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/tupleobject.o 

Objects/tupleobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/tupleobject.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/typeobject.o 

Objects/typeobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/typeobject.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o 

Objects/weakrefobject.o Objects/weakrefobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/weakrefobject.c:1:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o 

Objects/unicodeobject.o Objects/unicodeobject.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/unicodeobject.c:39:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Objects/unicodectype.o 

Objects/unicodectype.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Objects/unicodectype.c:11:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/bltinmodule.o 

Python/bltinmodule.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/bltinmodule.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/exceptions.o 

Python/exceptions.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/exceptions.c:21:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/ceval.o 

Python/ceval.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/ceval.c:9:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/mysnprintf.o 

Python/mysnprintf.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/mysnprintf.c:1:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o 

Parser/tokenizer_pgen.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/tokenizer.c:4,

                 from Parser/tokenizer_pgen.c:2:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/printgrammar.o 

Parser/printgrammar.c

In file included from Include/grammar.h:10,

                 from Parser/printgrammar.c:5:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Parser/printgrammar.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Parser/pgenmain.o 

Parser/pgenmain.c

In file included from Include/grammar.h:10,

                 from Parser/pgenmain.c:18:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Parser/pgenmain.c:16:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

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/bitset.o Parser/metagrammar.o Parser/firstsets.o 

Parser/grammar.o Parser/pgen.o Objects/obmalloc.o 

Python/mysnprintf.o Parser/tokenizer_pgen.o 

Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -

lpthread -o Parser/pgen

Parser/pgen ./Grammar/Grammar ./Include/graminit.h ./Py

thon/graminit.c

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/compile.o 

Python/compile.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/compile.c:12:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/codecs.o 

Python/codecs.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/codecs.c:11:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/errors.o 

Python/errors.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/errors.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

Python/errors.c: At top level:

Python/errors.c:602: warning: function declaration isn't 

a prototype

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/frozen.o 

Python/frozen.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/frozen.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/frozenmain.o 

Python/frozenmain.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/frozenmain.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/future.o 

Python/future.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/future.c:1:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/getargs.o 

Python/getargs.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/getargs.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/getcompiler.o 

Python/getcompiler.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/getcompiler.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/getcopyright.o 

Python/getcopyright.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/getcopyright.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/getmtime.o 

Python/getmtime.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/getmtime.c:6:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -DPLATFORM='"linux2"' -o 

Python/getplatform.o ./Python/getplatform.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from ./Python/getplatform.c:2:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/getversion.o 

Python/getversion.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/getversion.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/graminit.o 

Python/graminit.c

In file included from Include/grammar.h:10,

                 from Python/graminit.c:2:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Include/pgenheaders.h:10,

                 from Python/graminit.c:1:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/import.o 

Python/import.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/import.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -I. -o 

Python/importdl.o ./Python/importdl.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from ./Python/importdl.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/marshal.o 

Python/marshal.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/marshal.c:7:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/modsupport.o 

Python/modsupport.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/modsupport.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/mystrtoul.o 

Python/mystrtoul.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/mystrtoul.c:2:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/pyfpe.o 

Python/pyfpe.c

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/pystate.o 

Python/pystate.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/pystate.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/pythonrun.o 

Python/pythonrun.c

In file included from Include/grammar.h:10,

                 from Python/pythonrun.c:6:

Include/bitset.h:21: warning: `BITSPERBYTE' redefined

/usr/include/values.h:31: warning: this is the location of 

the previous definition

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/pythonrun.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

Python/pythonrun.c: At top level:

Python/pythonrun.c:81: warning: function declaration 

isn't a prototype

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/structmember.o 

Python/structmember.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/structmember.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/symtable.o 

Python/symtable.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/symtable.c:1:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/sysmodule.o 

Python/sysmodule.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/sysmodule.c:17:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

Python/sysmodule.c: In function `PySys_SetArgv':

Python/sysmodule.c:1163: warning: implicit declaration 

of function `readlink'

Python/sysmodule.c:1212: warning: implicit declaration 

of function `realpath'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/traceback.o 

Python/traceback.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/traceback.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/getopt.o 

Python/getopt.c

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/dynload_shlib.o 

Python/dynload_shlib.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/dynload_shlib.c:4:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Python/thread.o 

Python/thread.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Python/thread.c:8:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Modules/config.o 

Modules/config.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Modules/config.c:19:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -DPYTHONPATH='":plat-

linux2:lib-tk"' \

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

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

        -DVERSION='"2.3"' \

        -DVPATH='""' \

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

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from ./Modules/getpath.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

./Modules/getpath.c: In function `calculate_path':

./Modules/getpath.c:454: warning: implicit declaration of 

function `readlink'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Modules/main.o 

Modules/main.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Modules/main.c:3:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc -c  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE -o Modules/gcmodule.o 

Modules/gcmodule.c

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from Modules/gcmodule.c:21:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE  -

c ./Modules/threadmodule.c -o Modules/threadmodule.o

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from ./Modules/threadmodule.c:5:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

gcc  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE  -

c ./Modules/signalmodule.c -o Modules/signalmodule.o

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from ./Modules/signalmodule.c:6:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

./Modules/signalmodule.c: In function `signal_handler':

./Modules/signalmodule.c:141: warning: implicit 

declaration of function `siginterrupt'

gcc  -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -

I./Include  -DPy_BUILD_CORE  -

c ./Modules/posixmodule.c -o Modules/posixmodule.o

/usr/include/sys/stat.h: In function 

`__machdep_sys_fstat':

In file included from Include/pyport.h:157,

                 from Include/Python.h:48,

                 from ./Modules/posixmodule.c:16:

/usr/include/sys/stat.h:172: warning: implicit declaration 

of function `__machdep_sys__fxstat'

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

./Modules/posixmodule.c:1132: `fchdir' undeclared (first 

use this function)

./Modules/posixmodule.c:1132: (Each undeclared 

identifier is reported only once

./Modules/posixmodule.c:1132: for each function it 

appears in.)

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

./Modules/posixmodule.c:1181: `fsync' undeclared (first 

use this function)

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

./Modules/posixmodule.c:1199: `fdatasync' undeclared 

(first use this function)

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

./Modules/posixmodule.c:1722: warning: implicit 

declaration of function `nice'

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

./Modules/posixmodule.c:4380: warning: implicit 

declaration of function `seteuid'

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

./Modules/posixmodule.c:4400: warning: implicit 

declaration of function `setegid'

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

./Modules/posixmodule.c:4420: warning: implicit 

declaration of function `setreuid'

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

./Modules/posixmodule.c:4440: warning: implicit 

declaration of function `setregid'

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

./Modules/posixmodule.c:4632: warning: implicit 

declaration of function `readlink'

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

./Modules/posixmodule.c:5255: warning: implicit 

declaration of function `ftruncate'

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

./Modules/posixmodule.c:5312: warning: implicit 

declaration of function `putenv'

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

./Modules/posixmodule.c:5351: warning: implicit 

declaration of function `unsetenv'

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

azure:~/Python-2.3$ 

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-05 07:12

Message:
Logged In: YES 
user_id=21627

We should focus on understanding a single problem at a time.

I propose that we focus on the failure



./Modules/posixmodule.c:1132: `fchdir' undeclared (first

use this function)



Now, this function ought to be declared in

/usr/include/unistd.h. Can you find out whether it is

declared there? If it is, can you find out why the

definition is not visible? If it is not, can you find out

whether it is declared elsewhere?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=800710&group_id=5470



More information about the Python-bugs-list mailing list