Looking for help to compile Python

FR chalaoux chalaoux at cybercable.fr
Sat Jun 5 17:42:23 EDT 1999


Hi All,

I'm trying to compile Python 152 on a Intel machine with the standard
RH51 and I obtain this error (cf error make below). I joined the
config.log file in attachement. Some explanation about failed in
config.log are welcome ...

Thanks for help.

FR

error from make:
=============

gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./timemodule.c
./timemodule.c: In function `time_strptime':
./timemodule.c:429: warning: assignment makes pointer from integer
without a cast
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./operator.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./fcntlmodule.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./pwdmodule.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./grpmodule.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./selectmodule.c
gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./socketmodule.c
./socketmodule.c: In function `initsocket':
./socketmodule.c:2212: `uint32_t' undeclared (first use this function)
./socketmodule.c:2212: (Each undeclared identifier is reported only once

./socketmodule.c:2212: for each function it appears in.)
./socketmodule.c:2212: parse error before `0xe0000000U'
./socketmodule.c:2217: parse error before `0xe0000001U'
./socketmodule.c:2222: parse error before `0xe00000ffU'
make[1]: *** [socketmodule.o] Error 1
make[1]: Leaving directory `/usr/local/Python-1.5.2/Modules'
make: *** [Modules] Error 2




--
FR Chalaoux
ADVL (Au Delà de Vos Limites)
chalaoux at cybercable.fr
http://www.advl.org/


-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:608: checking MACHDEP
configure:653: checking CCC
configure:669: checking for --without-gcc
configure:746: checking for gcc
configure:859: checking whether the C compiler (gcc  ) works
configure:875: gcc -o conftest    conftest.c  1>&5
configure:901: checking whether the C compiler (gcc  ) is a cross-compiler
configure:906: checking whether we are using GNU C
configure:915: gcc -E conftest.c
configure:934: checking whether gcc accepts -g
configure:997: checking LINKCC
configure:1014: checking LDLIBRARY
configure:1043: checking for ranlib
configure:1076: checking for ar
configure:1150: checking how to run the C preprocessor
configure:1171: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1230: checking for AIX
configure:1255: checking for minix/config.h
configure:1265: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1261: minix/config.h: No such file or directory
configure: failed program was:
#line 1260 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:1304: checking whether gcc accepts -OPT:Olimit=0
configure:1318: gcc -OPT:Olimit=0 -o conftest -g -O2   conftest.c  1>&5
cc1: Invalid option `-OPT:Olimit=0'
configure: failed program was:
#line 1314 "configure"
#include "confdefs.h"
int main() { return 0; }
configure:1338: checking whether gcc accepts -Olimit 1500
configure:1352: gcc -Olimit 1500 -o conftest -g -O2   conftest.c  1>&5
gcc: 1500: No such file or directory
cc1: Invalid option `-Olimit'
configure: failed program was:
#line 1348 "configure"
#include "confdefs.h"
int main() { return 0; }
configure:1375: checking for C preprocessor type
configure:1388: gcc -c -g -O2  conftest.c 1>&5
configure:1405: checking for ANSI C header files
configure:1418: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1485: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1516: checking for dlfcn.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for fcntl.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for limits.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for locale.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for ncurses.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for pthread.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for signal.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for stdarg.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for stddef.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for stdlib.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for thread.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1522: thread.h: No such file or directory
configure: failed program was:
#line 1521 "configure"
#include "confdefs.h"
#include <thread.h>
configure:1516: checking for unistd.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for utime.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/audioio.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1522: sys/audioio.h: No such file or directory
configure: failed program was:
#line 1521 "configure"
#include "confdefs.h"
#include <sys/audioio.h>
configure:1516: checking for sys/file.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/lock.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1522: sys/lock.h: No such file or directory
configure: failed program was:
#line 1521 "configure"
#include "confdefs.h"
#include <sys/lock.h>
configure:1516: checking for sys/param.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/select.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/time.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/times.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/un.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/utsname.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1516: checking for sys/wait.h
configure:1526: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1557: checking for dirent.h that defines DIR
configure:1570: gcc -c -g -O2  conftest.c 1>&5
configure:1595: checking for opendir in -ldir
configure:1614: gcc -o conftest -g -O2   conftest.c -ldir   1>&5
ld: cannot open -ldir: No such file or directory
configure: failed program was:
#line 1603 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:1681: checking for clock_t in time.h
configure:1710: checking for mode_t
configure:1743: checking for off_t
configure:1776: checking for pid_t
configure:1809: checking return type of signal handlers
configure:1831: gcc -c -g -O2  conftest.c 1>&5
configure:1850: checking for size_t
configure:1883: checking for uid_t in sys/types.h
configure:1918: checking size of int
configure:1937: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1957: checking size of long
configure:1976: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1996: checking size of void *
configure:2015: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2036: checking for long long support
configure:2046: gcc -c -g -O2  conftest.c 1>&5
configure:2060: checking size of long long
configure:2079: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2102: checking size of off_t
configure:2122: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2144: checking whether to enable large file support
configure:2170: checking for --with-next-framework
configure:2187: checking for --with-dyld
configure:2213: checking SO
configure:2227: checking LDSHARED
configure:2267: checking CCSHARED
configure:2289: checking LINKFORSHARED
configure:2324: checking for dlopen in -ldl
configure:2343: gcc -o conftest -g -O2   conftest.c -ldl   1>&5
configure:2371: checking for shl_load in -ldld
configure:2390: gcc -o conftest -g -O2   conftest.c -ldld  -ldl  1>&5
ld: cannot open -ldld: No such file or directory
configure: failed program was:
#line 2379 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_load();

int main() {
shl_load()
; return 0; }
configure:2424: checking for t_open in -lnsl
configure:2443: gcc -o conftest -g -O2   conftest.c -lnsl  -ldl  1>&5
/tmp/cca058591.o: In function `main':
/usr/local/Python-1.5.2/configure:2439: undefined reference to `t_open'
configure: failed program was:
#line 2432 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char t_open();

int main() {
t_open()
; return 0; }
configure:2464: checking for socket in -lsocket
configure:2483: gcc -o conftest -g -O2   conftest.c -lsocket -ldl  -ldl  1>&5
ld: cannot open -lsocket: No such file or directory
configure: failed program was:
#line 2472 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:2504: checking for socket in -lnet
configure:2523: gcc -o conftest -g -O2   conftest.c -lnet -ldl  -ldl  1>&5
ld: cannot open -lnet: No such file or directory
configure: failed program was:
#line 2512 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:2547: checking for --with-libs
configure:2561: checking for --with(out)-readline
configure:2576: checking for --with-dec-threads
configure:2592: checking for --with-threads
configure:2606: checking for --with-thread
configure:3113: checking for --with-sgi-dl
configure:3136: checking for --with-dl-dld
configure:3169: checking for alarm
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for chown
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for clock
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for dlopen
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for execv
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for flock
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for fork
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for fsync
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for fdatasync
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for ftime
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for ftruncate
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for getpeername
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for getpgrp
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for getpid
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for getpwent
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for gettimeofday
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for getwd
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca061601.o: In function `main':
/usr/local/Python-1.5.2/configure:3191: the `getwd' function is dangerous and should not be used.
configure:3169: checking for kill
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for link
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for lstat
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for mkfifo
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for mktime
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for nice
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for pause
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for plock
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca062881.o: In function `main':
/usr/local/Python-1.5.2/configure:3191: undefined reference to `plock'
configure: failed program was:
#line 3174 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char plock(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char plock();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_plock) || defined (__stub___plock)
choke me
#else
plock();
#endif

; return 0; }
configure:3169: checking for pthread_init
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca063011.o: In function `main':
/usr/local/Python-1.5.2/configure:3191: undefined reference to `pthread_init'
configure: failed program was:
#line 3174 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_init(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_init();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_pthread_init) || defined (__stub___pthread_init)
choke me
#else
pthread_init();
#endif

; return 0; }
configure:3169: checking for putenv
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for readlink
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for select
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setgid
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setlocale
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setuid
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setsid
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setpgid
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setpgrp
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for setvbuf
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for sigaction
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for siginterrupt
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for sigrelse
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca065061.o: In function `main':
/usr/local/Python-1.5.2/configure:3191: undefined reference to `sigrelse'
configure: failed program was:
#line 3174 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sigrelse(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sigrelse();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sigrelse) || defined (__stub___sigrelse)
choke me
#else
sigrelse();
#endif

; return 0; }
configure:3169: checking for strftime
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for strptime
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for symlink
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for tcgetpgrp
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for tcsetpgrp
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for timegm
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for times
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for truncate
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for uname
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3169: checking for waitpid
configure:3197: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3226: checking for fseek64
configure:3254: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca066791.o: In function `main':
/usr/local/Python-1.5.2/configure:3248: undefined reference to `fseek64'
configure: failed program was:
#line 3231 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fseek64(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fseek64();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fseek64) || defined (__stub___fseek64)
choke me
#else
fseek64();
#endif

; return 0; }
configure:3226: checking for fseeko
configure:3254: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca066921.o: In function `main':
/usr/local/Python-1.5.2/configure:3248: undefined reference to `fseeko'
configure: failed program was:
#line 3231 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fseeko(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fseeko();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fseeko) || defined (__stub___fseeko)
choke me
#else
fseeko();
#endif

; return 0; }
configure:3226: checking for fstatvfs
configure:3254: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca067051.o: In function `main':
/usr/local/Python-1.5.2/configure:3248: undefined reference to `fstatvfs'
configure: failed program was:
#line 3231 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fstatvfs(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fstatvfs();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_fstatvfs) || defined (__stub___fstatvfs)
choke me
#else
fstatvfs();
#endif

; return 0; }
configure:3226: checking for ftell64
configure:3254: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca067181.o: In function `main':
/usr/local/Python-1.5.2/configure:3248: undefined reference to `ftell64'
configure: failed program was:
#line 3231 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char ftell64(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ftell64();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_ftell64) || defined (__stub___ftell64)
choke me
#else
ftell64();
#endif

; return 0; }
configure:3226: checking for ftello
configure:3254: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca067311.o: In function `main':
/usr/local/Python-1.5.2/configure:3248: undefined reference to `ftello'
configure: failed program was:
#line 3231 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char ftello(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ftello();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_ftello) || defined (__stub___ftello)
choke me
#else
ftello();
#endif

; return 0; }
configure:3226: checking for statvfs
configure:3254: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
/tmp/cca067441.o: In function `main':
/usr/local/Python-1.5.2/configure:3248: undefined reference to `statvfs'
configure: failed program was:
#line 3231 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char statvfs(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char statvfs();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_statvfs) || defined (__stub___statvfs)
choke me
#else
statvfs();
#endif

; return 0; }
configure:3282: checking for dup2
configure:3310: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3282: checking for getcwd
configure:3310: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3282: checking for strdup
configure:3310: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3282: checking for strerror
configure:3310: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3282: checking for memmove
configure:3310: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:3337: checking for getpgrp
configure:3387: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:3383: too many arguments to function `getpgrp'
configure: failed program was:
#line 3380 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
getpgrp(0);
; return 0; }
configure:3403: checking for setpgrp
configure:3453: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:3449: too many arguments to function `setpgrp'
configure: failed program was:
#line 3446 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
setpgrp(0,0);
; return 0; }
configure:3469: checking for gettimeofday
configure:3519: gcc -c -g -O2  conftest.c 1>&5
configure:3538: checking whether time.h and sys/time.h may both be included
configure:3552: gcc -c -g -O2  conftest.c 1>&5
configure:3573: checking whether struct tm is in sys/time.h or time.h
configure:3586: gcc -c -g -O2  conftest.c 1>&5
configure:3607: checking for tm_zone in struct tm
configure:3620: gcc -c -g -O2  conftest.c 1>&5
configure:3678: checking for time.h that defines altzone
configure:3690: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:3686: `altzone' undeclared (first use this function)
configure:3686: (Each undeclared identifier is reported only once
configure:3686: for each function it appears in.)
configure: failed program was:
#line 3683 "configure"
#include "confdefs.h"
#include <time.h>
int main() {
return altzone;
; return 0; }
configure:3712: checking whether sys/select.h and sys/time.h may both be included
configure:3725: gcc -c -g -O2  conftest.c 1>&5
configure:3741: checking whether char is unsigned
configure:3805: checking for working const
configure:3859: gcc -c -g -O2  conftest.c 1>&5
configure:3882: checking for working volatile
configure:3891: gcc -c -g -O2  conftest.c 1>&5
configure:3908: checking for working signed char
configure:3917: gcc -c -g -O2  conftest.c 1>&5
configure:3934: checking for prototypes
configure:3943: gcc -c -g -O2  conftest.c 1>&5
configure:3958: checking for variable length prototypes and stdarg.h
configure:3977: gcc -c -g -O2  conftest.c 1>&5
configure:3993: checking for bad exec* prototypes
configure:4002: gcc -c -g -O2  conftest.c 1>&5
configure:4019: checking for bad static forward
configure:4040: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:4059: checking whether va_list is an array
configure:4074: gcc -c -g -O2  conftest.c 1>&5
configure:4090: checking for gethostbyname_r
configure:4118: gcc -o conftest -g -O2   conftest.c -ldl  1>&5
configure:4138: checking gethostbyname_r with 6 args
configure:4159: gcc -c -g -O2     conftest.c 1>&5
configure:4333: checking for __fpu_control in -lieee
configure:4352: gcc -o conftest -g -O2   conftest.c -lieee  -ldl  1>&5
configure:4382: checking for --with-fpectl
configure:4405: checking for --with-libm=STRING
configure:4426: checking for --with-libc=STRING
configure:4450: checking for hypot
configure:4478: gcc -o conftest -g -O2   conftest.c -lieee -ldl  -lm 1>&5
configure:4505: checking for hypot
configure:4563: checking for genuine getopt
configure:4583: gcc -o conftest -g -O2   conftest.c -lieee -ldl  1>&5
configure: failed program was:
#line 4571 "configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
extern char* optarg;
int main() {
	char* av[] = { "testprog", "parameter", "-fFlag", NULL };
	opterr = 0;
	if (getopt(3, av, "f:") == 'f') { exit(1); }
	exit(0);
}
configure:4601: checking what malloc(0) returns
configure:4628: gcc -o conftest -g -O2   conftest.c -lieee -ldl  1>&5


More information about the Python-list mailing list