This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:612: checking host system type configure:1033: checking for gcc configure:1146: checking whether the C compiler (cc ) works configure:1162: cc -o conftest conftest.c 1>&5 configure:1188: checking whether the C compiler (cc ) is a cross-compiler configure:1193: checking whether we are using GNU C configure:1202: cc -E conftest.c configure:1221: checking whether cc accepts -g configure:1258: checking whether large file support needs explicit enabling configure:1359: checking how to run the C preprocessor configure:1380: cc -E conftest.c >/dev/null 2>conftest.out configure:1484: checking for working const configure:1538: cc -c -O conftest.c 1>&5 configure:1559: checking for Cygwin environment configure:1575: cc -c -O conftest.c 1>&5 "configure", line 1571.8: 1506-045 (S) Undeclared identifier __CYGWIN32__. configure: failed program was: #line 1564 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:1592: checking for mingw32 environment configure:1604: cc -c -O conftest.c 1>&5 "configure", line 1600.8: 1506-045 (S) Undeclared identifier __MINGW32__. configure: failed program was: #line 1597 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:1623: checking for executable suffix configure:1633: cc -o conftest -O conftest.c 1>&5 configure:1654: checking for cc option to accept ANSI C configure:1685: cc -c -O conftest.c 1>&5 "configure", line 1675.1: 1506-166 (S) Definition of function choke requires parentheses. "configure", line 1675.7: 1506-276 (S) Syntax error: possible missing '{'? configure: failed program was: #line 1673 "configure" #include "confdefs.h" #ifndef __STDC__ choke me #endif int main() { int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; ; return 0; } configure:1685: cc -c -O -qlanglvl=ansi conftest.c 1>&5 configure:1705: checking whether to use prototypes configure:1732: checking for working alloca.h configure:1744: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 "configure", line 1738.10: 1506-296 (S) #include file not found. "configure", line 1740.9: 1506-196 (S) Initialization between types "void*" and "int" is not allowed. configure: failed program was: #line 1737 "configure" #include "confdefs.h" #include int main() { void *p = alloca(2 * sizeof(int)); ; return 0; } configure:1765: checking for alloca configure:1798: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 configure:1964: checking if the compiler supports union initialisation configure:1976: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:1997: checking if signed to unsigned casting is broken configure:2009: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 configure: failed program was: #line 2005 "configure" #include "confdefs.h" main(){return((int)(unsigned char)((char) -1) == 255);} configure:2032: checking if the compiler supports variable-length arrays configure:2044: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 2040.7: 1506-195 (S) Integral constant expression with a value greater than zero is required. "configure", line 2040.17: 1506-195 (S) Integral constant expression with a value greater than zero is required. configure: failed program was: #line 2037 "configure" #include "confdefs.h" int foo(), n; int main() { int i[foo()], a[n+1]; ; return 0; } configure:2065: checking what to set MAXJOB to configure:2131: checking whether make sets ${MAKE} configure:2168: checking for a BSD compatible install configure:2224: checking for mawk configure:2224: checking for gawk configure:2253: checking whether ln works configure:2279: checking for yodl configure:2315: checking for dirent.h that defines DIR configure:2328: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:2353: checking for opendir in -ldir configure:2372: cc -qlanglvl=ansi -o conftest -O conftest.c -ldir 1>&5 ld: 0706-006 Cannot find or open library file: -l dir ld:open(): No such file or directory configure: failed program was: #line 2361 "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:2436: checking for ANSI C header files configure:2449: cc -E conftest.c >/dev/null 2>conftest.out configure:2516: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 configure:2540: checking whether time.h and sys/time.h may both be included configure:2554: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:2575: checking whether stat file-mode macros are broken configure:2631: checking for sys/wait.h that is POSIX.1 compatible configure:2652: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:2681: checking for sys/time.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/times.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/select.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for termcap.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out "configure", line 2687.10: 1506-296 (S) #include file not found. configure: failed program was: #line 2686 "configure" #include "confdefs.h" #include configure:2681: checking for termio.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for termios.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/param.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/filio.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out "configure", line 2687.10: 1506-296 (S) #include file not found. configure: failed program was: #line 2686 "configure" #include "confdefs.h" #include configure:2681: checking for string.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for memory.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for limits.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for fcntl.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for libc.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out "configure", line 2687.10: 1506-296 (S) #include file not found. configure: failed program was: #line 2686 "configure" #include "confdefs.h" #include configure:2681: checking for sys/utsname.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/resource.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for locale.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for errno.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for stdlib.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for unistd.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/capability.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out "configure", line 2687.10: 1506-296 (S) #include file not found. configure: failed program was: #line 2686 "configure" #include "confdefs.h" #include configure:2681: checking for utmp.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for utmpx.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/types.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for pwd.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for grp.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for poll.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for sys/mman.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2681: checking for netinet/in_systm.h configure:2691: cc -E conftest.c >/dev/null 2>conftest.out configure:2722: checking for dlfcn.h configure:2732: cc -E conftest.c >/dev/null 2>conftest.out configure:2762: checking for dl.h configure:2772: cc -E conftest.c >/dev/null 2>conftest.out "configure", line 2768.10: 1506-296 (S) #include file not found. configure: failed program was: #line 2767 "configure" #include "confdefs.h" #include configure:2802: checking for conflicts in sys/time.h and sys/select.h configure:2815: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:2837: checking POSIX termios configure:2852: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 configure:2868: checking TIOCGWINSZ in termios.h configure:2881: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 "configure", line 2877.9: 1506-045 (S) Undeclared identifier TIOCGWINSZ. configure: failed program was: #line 2873 "configure" #include "confdefs.h" #include #include int main() { int x = TIOCGWINSZ; ; return 0; } configure:2900: checking TIOCGWINSZ in sys/ioctl.h configure:2913: cc -qlanglvl=ansi -o conftest -O conftest.c 1>&5 configure:2936: checking for sys/ptem.h configure:2946: cc -E conftest.c >/dev/null 2>conftest.out "configure", line 2942.10: 1506-296 (S) #include file not found. configure: failed program was: #line 2941 "configure" #include "confdefs.h" #include configure:2973: checking for printf in -lc configure:2992: cc -qlanglvl=ansi -o conftest -O conftest.c -lc 1>&5 configure:3014: checking for pow in -lm configure:3033: cc -qlanglvl=ansi -o conftest -O conftest.c -lm -lc 1>&5 configure:3141: checking for library containing tgetent configure:3159: cc -qlanglvl=ansi -o conftest -O conftest.c -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .tgetent ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3148 "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 tgetent(); int main() { tgetent() ; return 0; } configure:3181: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 configure:3207: checking for curses.h configure:3217: cc -E conftest.c >/dev/null 2>conftest.out configure:3281: checking for term.h configure:3291: cc -E conftest.c >/dev/null 2>conftest.out configure:3312: checking if term.h needs curses.h configure:3321: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "/usr/include/term.h", line 1209.9: 1506-046 (S) Syntax error. "/usr/include/term.h", line 1239.9: 1506-046 (S) Syntax error. "/usr/include/term.h", line 1256.9: 1506-046 (S) Syntax error. "/usr/include/term.h", line 1267.9: 1506-046 (S) Syntax error. "/usr/include/term.h", line 1279.9: 1506-046 (S) Syntax error. "/usr/include/term.h", line 1281.9: 1506-046 (S) Syntax error. "/usr/include/term.h", line 1285.9: 1506-046 (S) Syntax error. configure: failed program was: #line 3314 "configure" #include "confdefs.h" #include int main() { char **test = boolcodes; ; return 0; } configure:3340: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:3362: checking if boolcodes is available configure:3374: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: boolcodes ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3364 "configure" #include "confdefs.h" #ifdef TERM_H_NEEDS_CURSES_H #include #endif #include int main() { char **test = boolcodes; printf(*test); ; return 0; } configure:3389: checking if numcodes is available configure:3401: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: numcodes ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3391 "configure" #include "confdefs.h" #ifdef TERM_H_NEEDS_CURSES_H #include #endif #include int main() { char **test = numcodes; printf(*test); ; return 0; } configure:3416: checking if strcodes is available configure:3428: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: strcodes ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3418 "configure" #include "confdefs.h" #ifdef TERM_H_NEEDS_CURSES_H #include #endif #include int main() { char **test = strcodes; printf(*test); ; return 0; } configure:3443: checking if boolnames is available configure:3453: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: boolnames ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3445 "configure" #include "confdefs.h" #include #include int main() { char **test = boolnames; printf(*test); ; return 0; } configure:3468: checking if numnames is available configure:3478: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: numnames ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3470 "configure" #include "confdefs.h" #include #include int main() { char **test = numnames; printf(*test); ; return 0; } configure:3493: checking if strnames is available configure:3503: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: strnames ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 3495 "configure" #include "confdefs.h" #include #include int main() { char **test = strnames; printf(*test); ; return 0; } configure:3528: checking for library containing yp_all configure:3546: cc -qlanglvl=ansi -o conftest -O conftest.c -lcurses -lm -lc 1>&5 configure:3595: checking for dlopen in -ldl configure:3614: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:3644: checking for cap_get_proc in -lcap configure:3663: cc -qlanglvl=ansi -o conftest -O conftest.c -lcap -ldl -lcurses -lm -lc 1>&5 ld: 0706-006 Cannot find or open library file: -l cap ld:open(): No such file or directory configure: failed program was: #line 3652 "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 cap_get_proc(); int main() { cap_get_proc() ; return 0; } configure:3692: checking for socket in -lsocket configure:3711: cc -qlanglvl=ansi -o conftest -O conftest.c -lsocket -ldl -lcurses -lm -lc 1>&5 ld: 0706-006 Cannot find or open library file: -l socket ld:open(): No such file or directory configure: failed program was: #line 3700 "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:3740: checking if an include file defines ospeed configure:3758: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 "configure", line 3754.1: 1506-045 (S) Undeclared identifier ospeed. configure: failed program was: #line 3745 "configure" #include "confdefs.h" #include #if HAVE_TERMIOS_H #include #endif #if HAVE_TERMCAP_H #include #endif int main() { ospeed = 0; ; return 0; } configure:3774: checking if you must define ospeed configure:3786: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:3819: checking return type of signal handlers configure:3841: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:3860: checking for pid_t configure:3893: checking for off_t configure:3926: checking for ino_t configure:3959: checking for mode_t configure:3992: checking for uid_t in sys/types.h configure:4026: checking for size_t configure:4060: checking if long is 64 bits configure:4072: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 4068 "configure" #include "confdefs.h" int main() { return sizeof(long) < 8; } configure:4095: checking if off_t is 64 bit configure:4111: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 4103 "configure" #include "confdefs.h" #include main() { return sizeof(off_t) < 8; } configure:4134: checking if ino_t is 64 bit configure:4150: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 4142 "configure" #include "confdefs.h" #include main() { return sizeof(ino_t) < 8; } configure:4175: checking if compiler has a 64 bit type configure:4240: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:4379: checking for a corresponding unsigned 64 bit type configure:4406: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:4471: checking for sigset_t configure:4484: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4505: checking for struct timezone configure:4521: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4544: checking for struct utmp configure:4563: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4585: checking for struct utmpx configure:4604: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4627: checking for ut_host in struct utmp configure:4646: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4668: checking for ut_host in struct utmpx configure:4687: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4709: checking for ut_xtime in struct utmpx configure:4728: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 4724.31: 1506-022 (S) "ut_xtime" is not a member of "struct utmpx". configure: failed program was: #line 4714 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_UTMPX_H # include #endif int main() { struct utmpx testvar; testvar.ut_xtime; ; return 0; } configure:4750: checking for ut_tv in struct utmpx configure:4769: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4792: checking for d_ino in struct dirent configure:4811: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:4833: checking for d_stat in struct dirent configure:4852: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 4848.32: 1506-022 (S) "d_stat" is not a member of "struct dirent". configure: failed program was: #line 4838 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_DIRENT_H # include #endif int main() { struct dirent testvar; testvar.d_stat; ; return 0; } configure:4874: checking for d_ino in struct direct configure:4899: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 4895.8: 1506-007 (S) "struct direct" is undefined. configure: failed program was: #line 4879 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_NDIR_H # include #endif #ifdef HAVE_SYS_DIR_H # include #endif #ifdef HAVE_NDIR_H # include #endif int main() { struct direct testvar; testvar.d_ino; ; return 0; } configure:4921: checking for d_stat in struct direct configure:4946: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 4942.8: 1506-007 (S) "struct direct" is undefined. configure: failed program was: #line 4926 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_NDIR_H # include #endif #ifdef HAVE_SYS_DIR_H # include #endif #ifdef HAVE_NDIR_H # include #endif int main() { struct direct testvar; testvar.d_stat; ; return 0; } configure:4969: checking for sin6_scope_id in struct sockaddr_in6 configure:4986: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 4982.38: 1506-022 (S) "sin6_scope_id" is not a member of "struct sockaddr_in6". configure: failed program was: #line 4974 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H # include #endif #include int main() { struct sockaddr_in6 testvar; testvar.sin6_scope_id; ; return 0; } configure:5009: checking if we need our own h_errno configure:5021: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for strftime configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for difftime configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for gettimeofday configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for select configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for poll configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for readlink configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for lstat configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for lchown configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for faccessx configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for fchdir configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for ftruncate configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for fseeko configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for ftello configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for mkfifo configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for _mktemp configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: ._mktemp ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _mktemp(); below. */ #include /* 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 _mktemp(); 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__mktemp) || defined (__stub____mktemp) choke me #else _mktemp(); #endif ; return 0; } configure:5069: checking for waitpid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for wait3 configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sigaction configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sigblock configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sighold configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sigrelse configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sigsetmask configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sigprocmask configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for killpg configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for setpgid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for setpgrp configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for tcsetpgrp configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for tcgetattr configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for nice configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for gethostname configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for gethostbyname2 configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getipnodebyname configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .getipnodebyname ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getipnodebyname(); below. */ #include /* 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 getipnodebyname(); 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_getipnodebyname) || defined (__stub___getipnodebyname) choke me #else getipnodebyname(); #endif ; return 0; } configure:5069: checking for inet_aton configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for inet_pton configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for inet_ntop configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getlogin configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getpwent configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getpwnam configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getpwuid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getgrgid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getgrnam configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for initgroups configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for nis_list configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .nis_list ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char nis_list(); below. */ #include /* 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 nis_list(); 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_nis_list) || defined (__stub___nis_list) choke me #else nis_list(); #endif ; return 0; } configure:5069: checking for setuid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for seteuid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for setreuid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for setresuid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .setresuid ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char setresuid(); below. */ #include /* 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 setresuid(); 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_setresuid) || defined (__stub___setresuid) choke me #else setresuid(); #endif ; return 0; } configure:5069: checking for setsid configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for memcpy configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for memmove configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for strstr configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for strerror configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for cap_get_proc configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .cap_get_proc ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char cap_get_proc(); below. */ #include /* 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 cap_get_proc(); 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_cap_get_proc) || defined (__stub___cap_get_proc) choke me #else cap_get_proc(); #endif ; return 0; } configure:5069: checking for getrlimit configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for setlocale configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for uname configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for signgam configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .signgam ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5074 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char signgam(); below. */ #include /* 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 signgam(); 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_signgam) || defined (__stub___signgam) choke me #else signgam(); #endif ; return 0; } configure:5069: checking for putenv configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for getenv configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for brk configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sbrk configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for pathconf configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for sysconf configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for tgetent configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for tigetflag configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for tigetnum configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for tigetstr configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5069: checking for setupterm configure:5097: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5122: checking for working strcoll configure:5140: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5164: checking if tgetent accepts NULL configure:5188: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5218: checking for unistd.h configure:5257: checking for getpagesize configure:5285: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5310: checking for working mmap configure:5461: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 "configure", line 5392.6: 1506-343 (S) Redeclaration of malloc differs from previous declaration on line 173 of "/usr/include/stdlib.h". "configure", line 5392.6: 1506-050 (I) Return type "char*" in redeclaration is not compatible with the previous return type "void*". configure: failed program was: #line 5318 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the filesystem buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propogated back to all the places they're supposed to be. Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ #include #include #include #include #include #ifdef HAVE_UNISTD_H # include #endif /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif int main() { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize(); /* * First, make a file with some known garbage in it. */ data = (char*)malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd); /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = (char*)malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1); /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char*)malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); } configure:5543: checking whether getpgrp takes no argument configure:5606: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for dlopen configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for dlerror configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for dlsym configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for dlclose configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for load configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for loadquery configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for loadbind configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for unload configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5642: checking for shl_load configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .shl_load ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5647 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load(); below. */ #include /* 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() { /* 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_shl_load) || defined (__stub___shl_load) choke me #else shl_load(); #endif ; return 0; } configure:5642: checking for shl_unload configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .shl_unload ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5647 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_unload(); below. */ #include /* 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_unload(); 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_shl_unload) || defined (__stub___shl_unload) choke me #else shl_unload(); #endif ; return 0; } configure:5642: checking for shl_findsym configure:5670: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 ld: 0711-317 ERROR: Undefined symbol: .shl_findsym ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. configure: failed program was: #line 5647 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_findsym(); below. */ #include /* 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_findsym(); 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_shl_findsym) || defined (__stub___shl_findsym) choke me #else shl_findsym(); #endif ; return 0; } configure:5698: checking what style of signals to use configure:5731: checking where signal.h is located configure:5771: checking where the RLIMIT macros are located configure:5795: checking if rlim_t is longer than a long configure:5812: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 5803 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TIME_H #include #endif #include main(){struct rlimit r;exit(sizeof(r.rlim_cur) <= sizeof(long));} configure:5883: checking if the rlim_t is unsigned configure:5900: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:5925: checking for rlim_t configure:5942: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:5963: checking for /dev/fd filesystem configure:5981: checking for RFS superroot directory configure:5997: checking whether we should use the native getcwd configure:6016: checking for NIS configure:6033: checking for NIS+ configure:6051: checking for utmp file configure:6072: checking for wtmp file configure:6093: checking for utmpx file configure:6114: checking for wtmpx file configure:6136: checking for brk() prototype in configure:6149: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 6143.8: 1506-343 (S) Redeclaration of brk differs from previous declaration on line 571 of "/usr/include/unistd.h". "configure", line 6143.8: 1506-050 (I) Return type "double" in redeclaration is not compatible with the previous return type "int". configure: failed program was: #line 6141 "configure" #include "confdefs.h" #include double brk(); int main() { int i; ; return 0; } configure:6170: checking for sbrk() prototype in configure:6183: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 6177.8: 1506-343 (S) Redeclaration of sbrk differs from previous declaration on line 590 of "/usr/include/unistd.h". "configure", line 6177.8: 1506-050 (I) Return type "double" in redeclaration is not compatible with the previous return type "void*". configure: failed program was: #line 6175 "configure" #include "confdefs.h" #include double sbrk(); int main() { int i; ; return 0; } configure:6206: checking for ioctl prototype in configure:6219: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:6239: checking for mknod prototype in configure:6252: cc -qlanglvl=ansi -c -O conftest.c 1>&5 "configure", line 6246.8: 1506-343 (S) Redeclaration of mknod differs from previous declaration on line 281 of "/usr/include/sys/stat.h". "configure", line 6246.8: 1506-376 (I) Redeclaration of mknod has a different number of fixed parameters than the previous declaration. "configure", line 6246.8: 1506-377 (I) The type "double" of parameter 1 differs from the previous type "const char*". configure: failed program was: #line 6244 "configure" #include "confdefs.h" #include int mknod(double x); int main() { int i; ; return 0; } configure:6309: checking if named FIFOs work configure:6348: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6370: checking if echo in /bin/sh interprets escape sequences configure:6390: checking if link() works configure:6420: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6443: checking if kill(pid, 0) returns ESRCH correctly configure:6466: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6490: checking if POSIX sigsuspend() works configure:6527: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6552: checking if tcsetpgrp() actually works configure:6572: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6597: checking if getpwnam() is faked configure:6621: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6715: checking if your system use ELF binaries configure:6742: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 6723 "configure" #include "confdefs.h" /* Test for whether ELF binaries are produced */ #include #include main(argc, argv) int argc; char *argv[]; { char b[4]; int i = open(argv[0],O_RDONLY); if(i == -1) exit(1); /* fail */ if(read(i,b,4)==4 && b[0]==127 && b[1]=='E' && b[2]=='L' && b[3]=='F') exit(0); /* succeed (yes, it's ELF) */ else exit(1); /* fail */ } configure:6817: checking if your dlsym() needs a leading underscore configure:6824: cc -qlanglvl=ansi -c -O conftest.c 1>&5 configure:6825: ld -G -bexpall -lc -o conftest.so conftest.o 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:6886: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:6914: checking if environ is available in shared libraries configure:6934: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 "conftest1.c", line 9.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration. configure:6935: ld -o conftest1.so -G -bexpall -lc conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:6936: cc -qlanglvl=ansi -c -O conftest2.c 1>&5 "conftest2.c", line 9.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration. configure:6937: ld -o conftest2.so -G -bexpall -lc conftest2.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:6999: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:7022: checking if tgetent is available in shared libraries configure:7042: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 "conftest1.c", line 8.16: 1506-068 (E) Operation between types "void*" and "int(*)()" is not allowed. "conftest1.c", line 9.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration. configure:7043: ld -o conftest1.so -G -bexpall -lc conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7044: cc -qlanglvl=ansi -c -O conftest2.c 1>&5 "conftest2.c", line 8.16: 1506-068 (E) Operation between types "void*" and "int(*)()" is not allowed. "conftest2.c", line 9.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration. configure:7045: ld -o conftest2.so -G -bexpall -lc conftest2.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7107: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:7130: checking if tigetstr is available in shared libraries configure:7150: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 "conftest1.c", line 8.16: 1506-068 (E) Operation between types "void*" and "int(*)()" is not allowed. "conftest1.c", line 9.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration. configure:7151: ld -o conftest1.so -G -bexpall -lc conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7152: cc -qlanglvl=ansi -c -O conftest2.c 1>&5 "conftest2.c", line 8.16: 1506-068 (E) Operation between types "void*" and "int(*)()" is not allowed. "conftest2.c", line 9.2: 1506-137 (E) Declaration must declare at least one declarator, tag, or the members of an enumeration. configure:7153: ld -o conftest2.so -G -bexpall -lc conftest2.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7215: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:7240: checking if name clashes in shared objects are OK configure:7251: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 configure:7252: ld -o conftest1.so -G -bexpall -lc conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7253: cc -qlanglvl=ansi -c -O conftest2.c 1>&5 configure:7254: ld -o conftest2.so -G -bexpall -lc conftest2.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7306: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure:7333: checking for working RTLD_GLOBAL configure:7344: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 configure:7345: ld -o conftest1.so -G -bexpall -lc conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7346: cc -qlanglvl=ansi -c -O conftest2.c 1>&5 configure:7347: ld -o conftest2.so -G -bexpall -lc conftest2.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7397: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 7353 "configure" #include "confdefs.h" #ifdef HPUXDYNAMIC #include #define RTLD_LAZY BIND_DEFERRED #define RTLD_GLOBAL DYNAMIC_PATH char *zsh_gl_sym_addr ; #define dlopen(file,mode) (void *)shl_load((file), (mode), (long) 0) #define dlclose(handle) shl_unload((shl_t)(handle)) #define dlsym(handle,name) (zsh_gl_sym_addr=0,shl_findsym((shl_t *)&(handle),name,TYPE_UNDEFINED,&zsh_gl_sym_addr), (void *)zsh_gl_sym_addr) #define dlerror() 0 #else #ifdef HAVE_DLFCN_H #include #else #include #include #include #endif #endif #ifndef RTLD_LAZY #define RTLD_LAZY 1 #endif #ifndef RTLD_GLOBAL #define RTLD_GLOBAL 0 #endif main() { void *handle; int (*barneysym)(); handle = dlopen("./conftest1.so", RTLD_LAZY | RTLD_GLOBAL); if(!handle) exit(1); handle = dlopen("./conftest2.so", RTLD_LAZY | RTLD_GLOBAL); if(!handle) exit(1); barneysym = (int (*)()) dlsym(handle, "barney"); if(!barneysym) exit(1); exit((*barneysym)() != 69); } configure:7420: checking whether symbols in the executable are available configure:7430: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 configure:7431: ld -o conftest1.so -G -bexpall -lc conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7483: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5 configure: failed program was: #line 7439 "configure" #include "confdefs.h" #ifdef HPUXDYNAMIC #include #define RTLD_LAZY BIND_DEFERRED #define RTLD_GLOBAL DYNAMIC_PATH char *zsh_gl_sym_addr ; #define dlopen(file,mode) (void *)shl_load((file), (mode), (long) 0) #define dlclose(handle) shl_unload((shl_t)(handle)) #define dlsym(handle,name) (zsh_gl_sym_addr=0,shl_findsym((shl_t *)&(handle),name,TYPE_UNDEFINED,&zsh_gl_sym_addr), (void *)zsh_gl_sym_addr) #define dlerror() 0 #else #ifdef HAVE_DLFCN_H #include #else #include #include #include #endif #endif #ifndef RTLD_LAZY #define RTLD_LAZY 1 #endif #ifndef RTLD_GLOBAL #define RTLD_GLOBAL 0 #endif main() { void *handle; int (*barneysym)(); handle = dlopen("./conftest1.so", RTLD_LAZY | RTLD_GLOBAL); if(!handle) exit(1); barneysym = (int (*)()) dlsym(handle, "barney"); if(!barneysym) exit(1); exit((*barneysym)() != 69); } int fred () { return 42; } configure:7509: checking whether executables can be stripped configure:7597: checking whether libraries can be stripped configure:7607: cc -qlanglvl=ansi -c -O conftest1.c 1>&5 configure:7608: ld -o conftest1.so -G -bexpall -lc -s conftest1.o -ldl -lcurses -lm -lc 1>&5 ld: 0711-327 WARNING: Entry point not found: __start configure:7656: cc -qlanglvl=ansi -o conftest -O conftest.c -ldl -lcurses -lm -lc 1>&5