checking for xDBM support... no checking whether to enable DBA... no checking for gdbm_open in -lgdbm... yes checking for GDBM support... yes checking for dbm_open in -lndbm... yes checking for NDBM support... yes checking for db4 major version... configure: error: Header contains different version !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/php-4.3.10/work/php-4.3.10/config.log !!! ERROR: dev-php/php-4.3.10 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. $ cat /var/tmp/portage/php-4.3.10/work/php-4.3.10/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1638: checking host system type configure:1726: checking for gcc configure:1839: checking whether the C compiler (gcc -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib) works configure:1855: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:1881: checking whether the C compiler (gcc -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib) is a cross-compiler configure:1886: checking whether we are using GNU C configure:1895: gcc -E conftest.c configure:1914: checking whether gcc accepts -g configure:1947: checking whether gcc and cc understand -c and -o together configure:1962: gcc -c conftest.c -o conftest.o 1>&5 configure:1963: gcc -c conftest.c -o conftest.o 1>&5 configure:1968: cc -c conftest.c 1>&5 configure:1970: cc -c conftest.c -o conftest.o 1>&5 configure:1971: cc -c conftest.c -o conftest.o 1>&5 configure:1998: checking how to run the C preprocessor configure:2019: gcc -E conftest.c >/dev/null 2>conftest.out configure:2079: checking for AIX configure:2106: checking if compiler supports -R configure:2121: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -R /usr/lib -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-R' /usr/lib: file not recognized: Is a directory collect2: ld returned 1 exit status configure: failed program was: #line 2114 "configure" #include "confdefs.h" int main() { ; return 0; } configure:2139: checking if compiler supports -Wl,-rpath, configure:2154: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -Wl,-rpath,/usr/lib -lxmlparse -lxmltok 1>&5 configure:2180: checking for re2c configure:2211: checking for ranlib configure:2239: checking whether ln -s works configure:2264: checking for mawk configure:2264: checking for gawk configure:2298: checking for bison configure:2332: checking bison version configure:2342: checking for flex configure:2376: checking for yywrap in -lfl configure:2395: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lfl -lxmlparse -lxmltok 1>&5 configure:2419: checking lex output file root configure:2440: checking whether yytext is a pointer configure:2459: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok -lfl 1>&5 configure:2483: checking for working const configure:2537: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:2562: checking flex version configure:2706: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/ccY5KVIf.o(.text+0x1c): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/ccY5KVIf.o(.text+0x3e): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2688 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2726: checking for pthreads_cflags configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -kthread -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-kthread' /var/tmp/portage/php-4.3.10/temp/ccqCjity.o(.text+0x1c): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/ccqCjity.o(.text+0x3e): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -pthread -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 /lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -pthreads -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-pthreads' /var/tmp/portage/php-4.3.10/temp/cccELWQc.o(.text+0x1c): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/cccELWQc.o(.text+0x3e): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -mthreads -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 cc1: error: invalid option `threads' configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -Kthread -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-Kthread' /var/tmp/portage/php-4.3.10/temp/cctcUS1l.o(.text+0x1c): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/cctcUS1l.o(.text+0x3e): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -threads -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-threads' /var/tmp/portage/php-4.3.10/temp/cc8Q6xGE.o(.text+0x1c): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/cc8Q6xGE.o(.text+0x3e): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -mt -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 cc1: error: invalid option `t' configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2759: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -qthreaded -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-qthreaded' /var/tmp/portage/php-4.3.10/temp/ccAvJBV1.o(.text+0x1c): In function `main': : undefined reference to `pthread_mutexattr_init' /var/tmp/portage/php-4.3.10/temp/ccAvJBV1.o(.text+0x3e): In function `main': : undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 2741 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2789: checking for pthreads_lib configure:2822: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok -lpthread 1>&5 /lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status configure: failed program was: #line 2804 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2822: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok -lpthreads 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure: failed program was: #line 2804 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2822: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok -lc_r 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc_r collect2: ld returned 1 exit status configure: failed program was: #line 2804 "configure" #include "confdefs.h" #include <pthread.h> #include <stddef.h> void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:2915: checking for AOLserver support configure:3135: checking for Apache 1.x module support via DSO through APXS configure:3418: checking for Apache 1.x module support configure:4199: checking for member fd in BUFF * configure:4218: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:4212:19: httpd.h: No such file or directory configure: In function `main': configure:4214: error: `conn_rec' undeclared (first use in this function) configure:4214: error: (Each undeclared identifier is reported only once configure:4214: error: for each function it appears in.) configure:4214: error: `c' undeclared (first use in this function) configure: failed program was: #line 4211 "configure" #include "confdefs.h" #include <httpd.h> int main() { conn_rec *c; int fd = c->client->fd; ; return 0; } configure:4242: checking for mod_charset compatibility option configure:4309: checking for Apache 2.0 filter-module support via DSO through APXS configure:5051: checking for Apache 2.0 handler-module support via DSO through APXS configure:5794: checking for Caudium support configure:6104: checking for CLI build configure:6164: checking for embedded SAPI library support configure:6347: checking for Zeus ISAPI support configure:6557: checking for NSAPI support configure:6878: checking for PHTTPD support configure:7087: checking for Pi3Web support configure:7396: checking for Roxen/Pike support configure:7645: checking for Servlet support configure:8123: checking for thttpd configure:8329: checking for TUX configure:8543: checking for webjames configure:8617: checking for CGI build configure:8944: checking for chosen SAPI module configure:9849: checking for missing declarations of reentrant functions configure:9858: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:9883: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:9908: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:9933: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:9958: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:9982: checking for sendmail configure:10023: checking whether system uses EBCDIC configure:10042: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure: failed program was: #line 10034 "configure" #include "confdefs.h" int main(void) { return (unsigned char)'A' != (unsigned char)0xC1; } configure:10116: checking for socket configure:10144: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:10373: checking for htonl configure:10401: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:10630: checking for gethostname configure:10658: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:10887: checking for gethostbyaddr configure:10915: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:11144: checking for yp_get_default_domain configure:11172: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:11402: checking for dlopen configure:11430: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lxmlparse -lxmltok 1>&5 configure:11660: checking for sin in -lm configure:11679: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm -lxmlparse -lxmltok 1>&5 configure:11672: warning: conflicting types for built-in function `sin' configure:11713: checking for res_search configure:11741: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/cchCa6V5.o(.text+0xa): In function `main': : undefined reference to `res_search' collect2: ld returned 1 exit status configure: failed program was: #line 11718 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_search(); 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 res_search(); 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_res_search) || defined (__stub___res_search) choke me #else res_search(); #endif ; return 0; } configure:11759: checking for __res_search configure:11787: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/ccF1sU3d.o(.text+0xa): In function `main': : undefined reference to `__res_search' collect2: ld returned 1 exit status configure: failed program was: #line 11764 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __res_search(); 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 __res_search(); 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___res_search) || defined (__stub_____res_search) choke me #else __res_search(); #endif ; return 0; } configure:11825: checking for res_search in -lresolv configure:11844: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:11919: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lm -lxmlparse -lxmltok -lresolv 1>&5 configure:12249: checking for inet_aton configure:12277: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:12645: checking for dn_skipname configure:12673: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/cc2LlzBc.o(.text+0xa): In function `main': : undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure: failed program was: #line 12650 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dn_skipname(); 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 dn_skipname(); 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_dn_skipname) || defined (__stub___dn_skipname) choke me #else dn_skipname(); #endif ; return 0; } configure:12691: checking for __dn_skipname configure:12719: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13039: checking for ANSI C header files configure:13052: gcc -E conftest.c >/dev/null 2>conftest.out configure:13119: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13147: checking for dirent.h that defines DIR configure:13160: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13185: checking for opendir in -ldir configure:13204: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -ldir -lresolv -lm -lxmlparse -lxmltok 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldir collect2: ld returned 1 exit status configure: failed program was: #line 13193 "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:13270: checking for fclose declaration configure:13279: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13355: checking for dirent.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for ApplicationServices/ApplicationServices.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13361:53: ApplicationServices/ApplicationServices.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <ApplicationServices/ApplicationServices.h> configure:13355: checking for sys/param.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/types.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/time.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for netinet/in.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for alloca.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for arpa/inet.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for arpa/nameser.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for assert.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for crypt.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for fcntl.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for grp.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for ieeefp.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13361:20: ieeefp.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <ieeefp.h> configure:13355: checking for langinfo.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for limits.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for locale.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for monetary.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for mach-o/dyld.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13361:25: mach-o/dyld.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <mach-o/dyld.h> configure:13355: checking for netdb.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for pwd.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for resolv.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for signal.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for stdarg.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for stdlib.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for string.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for syslog.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sysexits.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/bitypes.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/file.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/mman.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/mount.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/poll.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/resource.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/select.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/socket.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/statfs.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/statvfs.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/vfs.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/sysexits.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13361:26: sys/sysexits.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <sys/sysexits.h> configure:13355: checking for sys/varargs.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13361:25: sys/varargs.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <sys/varargs.h> configure:13355: checking for sys/wait.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for unistd.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for unix.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13361:18: unix.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <unix.h> configure:13355: checking for utime.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/utsname.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/ipc.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13355: checking for dlfcn.h configure:13365: gcc -E conftest.c >/dev/null 2>conftest.out configure:13394: checking for fopencookie configure:13422: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13453: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13505: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13566: checking for broken getcwd configure:13581: checking for broken libc stdio configure:13642: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13670: checking whether struct tm is in sys/time.h or time.h configure:13683: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13704: checking for tm_zone in struct tm configure:13717: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13776: checking for tm_gmtoff in struct tm configure:13789: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13812: checking for struct flock configure:13827: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13854: checking for socklen_t configure:13871: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:13897: checking size of long configure:13916: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13936: checking size of int configure:13955: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:13976: checking for st_blksize in struct stat configure:13989: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:14011: checking for st_blocks in struct stat configure:14024: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:14051: checking for st_rdev in struct stat configure:14064: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:14086: checking for size_t configure:14119: checking for uid_t in sys/types.h configure:14154: checking for struct sockaddr_storage configure:14167: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:14199: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure: In function `main': configure:14195: error: structure has no member named `sa_len' configure: failed program was: #line 14189 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { static struct sockaddr sa; int n = (int) sa.sa_len; return n ; return 0; } configure:14212: checking for IPv6 support configure:14226: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14244: checking for vprintf configure:14272: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14256: warning: conflicting types for built-in function `vprintf' configure:14416: checking for alphasort configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for asctime_r configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for chroot configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for ctime_r configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for cuserid configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for crypt configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for flock configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for ftok configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for funopen configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/ccHp4BJT.o(.text+0xa): In function `main': : undefined reference to `funopen' collect2: ld returned 1 exit status configure: failed program was: #line 14421 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char funopen(); 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 funopen(); 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_funopen) || defined (__stub___funopen) choke me #else funopen(); #endif ; return 0; } configure:14416: checking for gai_strerror configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for gcvt configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for getlogin configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for getprotobyname configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for getprotobynumber configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for getservbyname configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for getservbyport configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for getrusage configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for gettimeofday configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for gmtime_r configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for isascii configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for link configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for localtime_r configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for lockf configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for lrand48 configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for memcpy configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14428: warning: conflicting types for built-in function `memcpy' configure:14416: checking for memmove configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for mkstemp configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for mmap configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for nl_langinfo configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for perror configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for poll configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for putenv configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for realpath configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for random configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for rand_r configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for regcomp configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for res_search configure:14416: checking for scandir configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for setitimer configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for setlocale configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for localeconv configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for setsockopt configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for setvbuf configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for shutdown configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for sin configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14428: warning: conflicting types for built-in function `sin' configure:14416: checking for snprintf configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14428: warning: conflicting types for built-in function `snprintf' configure:14416: checking for srand48 configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for srandom configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for statfs configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for statvfs configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for std_syslog configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/ccfgiBSo.o(.text+0xa): In function `main': : undefined reference to `std_syslog' collect2: ld returned 1 exit status configure: failed program was: #line 14421 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char std_syslog(); 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 std_syslog(); 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_std_syslog) || defined (__stub___std_syslog) choke me #else std_syslog(); #endif ; return 0; } configure:14416: checking for strcasecmp configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for strcoll configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for strdup configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for strerror configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for strftime configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for strstr configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14428: warning: conflicting types for built-in function `strstr' configure:14416: checking for strtok_r configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for symlink configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for tempnam configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/ccIWD0qN.o(.text+0xa): In function `main': : warning: the use of `tempnam' is dangerous, better use `mkstemp' configure:14416: checking for tzset configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for unsetenv configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for usleep configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for utime configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14416: checking for vsnprintf configure:14444: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14428: warning: conflicting types for built-in function `vsnprintf' configure:14470: checking for getaddrinfo configure:14482: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14528: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14560: checking for strlcat configure:14588: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/cc1OH7LT.o(.text+0xa): In function `main': : undefined reference to `strlcat' collect2: ld returned 1 exit status configure: failed program was: #line 14565 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strlcat(); 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 strlcat(); 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_strlcat) || defined (__stub___strlcat) choke me #else strlcat(); #endif ; return 0; } configure:14560: checking for strlcpy configure:14588: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 /var/tmp/portage/php-4.3.10/temp/cck3s7Mb.o(.text+0xa): In function `main': : undefined reference to `strlcpy' collect2: ld returned 1 exit status configure: failed program was: #line 14565 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char strlcpy(); 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 strlcpy(); 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_strlcpy) || defined (__stub___strlcpy) choke me #else strlcpy(); #endif ; return 0; } configure:14560: checking for getopt configure:14588: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14615: checking whether utime accepts a null argument configure:14636: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14662: checking for working alloca.h configure:14695: checking for alloca configure:14728: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:14895: checking for declared timezone configure:14916: gcc -c -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe conftest.c 1>&5 configure:14942: checking for type of reentrant time-related functions configure:14971: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:14963: warning: assignment makes integer from pointer without a cast configure:14964: error: too many arguments to function `asctime_r' configure: failed program was: #line 14953 "configure" #include "confdefs.h" #include <time.h> main() { char buf[27]; struct tm t; time_t old = 0; int r, s; s = gmtime_r(&old, &t); r = (int) asctime_r(&t, buf, 26); if (r == s && s == 0) return (0); return (1); } configure:15001: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure: In function `main': configure:14994: error: too many arguments to function `asctime_r' configure: failed program was: #line 14985 "configure" #include "confdefs.h" #include <time.h> main() { struct tm t, *s; time_t old = 0; char buf[27], *p; s = gmtime_r(&old, &t); p = asctime_r(&t, buf, 26); if (p == buf && s == &t) return (0); return (1); } configure:15039: checking for readdir_r configure:15067: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15089: checking for type of readdir_r configure:15125: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:15243: checking whether to include debugging symbols configure:15276: checking layout of installed files configure:15310: checking path to configuration file configure:15346: checking directory to be scanned for configuration files configure:15376: checking whether to enable safe mode by default configure:15411: checking for safe mode exec dir configure:15452: checking whether to enable PHP's own SIGCHLD handler configure:15489: checking whether to enable magic quotes by default configure:15526: checking whether to enable runpaths configure:15551: checking whether to explicitly link against libgcc configure:15630: checking whether to enable short tags by default configure:15667: checking whether to enable dmalloc configure:15755: checking whether to enable IPv6 support configure:15785: checking whether to enable versioning configure:15837: checking for OpenSSL support configure:15890: checking for pkg-config configure:16077: checking for OpenSSL version configure:16217: checking for CRYPTO_free in -lcrypto configure:16236: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:16376: checking for SSL_CTX_set_ssl_version in -lssl configure:16395: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok -lcrypto 1>&5 configure:16735: checking for ZLIB support configure:16781: checking if the location of ZLIB install directory is defined configure:17122: checking for gzgets in -lz configure:17141: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:17279: checking whether to enable bc style precision math functions configure:17561: checking for BZip2 support configure:17705: checking for BZ2_bzerror in -lbz2 configure:17724: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:18107: checking whether to enable calendar conversion support configure:18372: checking for cpdflib support configure:19409: checking for CRACKlib support configure:19820: checking whether to enable ctype functions configure:20083: checking for CURL support configure:20862: checking for cyrus imap support configure:21775: checking for xDBM support configure:22394: checking whether to enable DBA configure:22534: checking for gdbm_open in -lgdbm configure:22553: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:22720: checking for GDBM support configure:22835: checking for dbm_open in -lndbm configure:22854: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 configure:23025: checking for NDBM support configure:23093: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/lib -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -ldb-4.1 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 /lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status configure: failed program was: #line 23082 "configure" #include "confdefs.h" #include "/usr/include/db.h" int main() { (void)db_create((DB**)0, (DB_ENV*)0, 0); ; return 0; } configure:23093: gcc -o conftest -O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe -L/usr/lib -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -ldb -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok 1>&5 /lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE' /lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE' collect2: ld returned 1 exit status configure: failed program was: #line 23082 "configure" #include "confdefs.h" #include "/usr/include/db.h" int main() { (void)db_create((DB**)0, (DB_ENV*)0, 0); ; return 0; } configure:23130: checking for db4 major version Reproducible: Always Steps to Reproduce: emerge php Actual Results: fails in .configure Expected Results: Should compile and install properly. $ emerge info Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r1 i686) ================================================================= System uname: 2.6.11-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 15:07:46)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -msse -msse2 -mmmx -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X X509 apache2 apm arts avi berkdb bitmap-fonts crypt emboss encode font-server foomaticdb fortran gd gdbm gif gpm gtk gtk2 imap imlib innodb ipv6 java jikes jpeg junit ldap libg++ libwww mad mikmod mmap motif mozilla mp3 mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl oggvorbis opengl oss pam pcre pdflib perl php pic pie png python qt quicktime readline rrdtool samba sdl session sftplogging shared snmp spell sse sse2 ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts userlocales wxwindows xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Also, after updating glibc, php cronjobs started to fail with: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20020429/java.so' - /usr/lib/php/extensions/no-debug-non-zts-20020429/java.so: cannot open shared object file: No such file or directory in Unknown on line 0 This was actually what I was trying to fix.
This does not look like a PHP bug but rather like a problem with your system.
Oh I have forgotten about this. This was actually a problem with libtool. There was another bug on it somewhere, fixed it a long time ago.