Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108473 - dev-php/php-4.4.0-r1 compilation error
Summary: dev-php/php-4.4.0-r1 compilation error
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-08 03:42 UTC by Giovanni Aloisio
Modified: 2005-10-08 04:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Aloisio 2005-10-08 03:42:51 UTC
I am trying to install php un my gentoo using emerge dev-php/php.
Someting goes wrong.I find:

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/php-4.4.0-r1/work/php-4.4.0/config.log

!!! ERROR: dev-php/php-4.4.0-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

I'll cut and paste the log file in the Additional information.
Sorry for my English :-)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




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

configure:1656: checking host system type
configure:1756: checking for gcc
configure:1869: checking whether the C compiler (gcc -O2 -march=i686 -pipe 
-L/usr/X11R6/lib -ltiff -L/usr/lib) works
configure:1885: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:1911: checking whether the C compiler (gcc -O2 -march=i686 -pipe 
-L/usr/X11R6/lib -ltiff -L/usr/lib) is a cross-compiler
configure:1916: checking whether we are using GNU C
configure:1925: gcc -E conftest.c
configure:1944: checking whether gcc accepts -g
configure:1977: checking whether gcc and cc understand -c and -o together
configure:1992: gcc -c conftest.c -o conftest.o 1>&5
configure:1993: gcc -c conftest.c -o conftest.o 1>&5
configure:1998: cc -c conftest.c 1>&5
configure:2000: cc -c conftest.c -o conftest.o 1>&5
configure:2001: cc -c conftest.c -o conftest.o 1>&5
configure:2028: checking how to run the C preprocessor
configure:2049: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2109: checking for AIX
configure:2136: checking if compiler supports -R
configure:2151: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -R /usr/lib  -lxmlparse -lxmltok 1>&5
gcc: unrecognized option `-R'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld:
/usr/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 2144 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2169: checking if compiler supports -Wl,-rpath,
configure:2184: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -Wl,-rpath,/usr/lib  -lxmlparse -lxmltok 1>&5
configure:2210: checking for re2c
configure:2239: checking whether ln -s works
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=i686 -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=i686 -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=i686 -pipe  conftest.c 1>&5
configure:2562: checking flex version
configure:2578: checking whether byte ordering is bigendian
configure:2604: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure: failed program was:
#line 2588 "configure"
#include "confdefs.h"

int main(void)
{
	short one = 1;
	char *cp = (char *)&one;

	if (*cp == 0) {
		return(0);
	} else {
		return(1);
	}
}
  
configure:2671: checking whether to force non-PIC code in shared modules
configure:2788: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/ccdrYabg.o(.text+0x27): In function `main':
: undefined reference to `pthread_mutexattr_init'
/var/tmp/portage/php-4.4.0-r1/temp/ccdrYabg.o(.text+0x48): In function `main':
: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2770 "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:2808: checking for pthreads_cflags
configure:2841: gcc -o conftest -O2 -march=i686 -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.4.0-r1/temp/ccU7Zjjj.o(.text+0x27): In function `main':
: undefined reference to `pthread_mutexattr_init'
/var/tmp/portage/php-4.4.0-r1/temp/ccU7Zjjj.o(.text+0x48): In function `main':
: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2823 "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:2841: gcc -o conftest -O2 -march=i686 -pipe -pthread  
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:2871: checking for pthreads_lib
configure:3002: checking for AOLserver support
configure:3243: checking for Apache 1.x module support via DSO through APXS
configure:3546: checking for Apache 1.x module support
configure:4381: checking for mod_charset compatibility option
configure:4518: checking for Apache 2.0 filter-module support via DSO through APXS
configure:5340: checking for Apache 2.0 handler-module support via DSO through APXS
configure:6163: checking for Caudium support
configure:6493: checking for CLI build
configure:6553: checking for embedded SAPI library support
configure:6756: checking for Zeus ISAPI support
configure:6986: checking for NSAPI support
configure:7327: checking for PHTTPD support
configure:7556: checking for Pi3Web support
configure:7885: checking for Roxen/Pike support
configure:8154: checking for Servlet support
configure:8672: checking for thttpd
configure:8898: checking for TUX
configure:9132: checking for webjames
configure:9206: checking for CGI build
configure:9553: checking for chosen SAPI module
configure:10458: checking for missing declarations of reentrant functions
configure:10467: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:10492: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:10517: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:10542: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:10567: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:10591: checking for sendmail
configure:10632: checking whether system uses EBCDIC
configure:10651: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure: failed program was:
#line 10643 "configure"
#include "confdefs.h"

int main(void) { 
  return (unsigned char)'A' != (unsigned char)0xC1; 
} 

configure:10724: checking for socket
configure:10752: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:10981: checking for htonl
configure:11009: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:11238: checking for gethostname
configure:11266: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:11495: checking for gethostbyaddr
configure:11523: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:11752: checking for yp_get_default_domain
configure:11780: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:12010: checking for dlopen
configure:12038: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
configure:12268: checking for sin in -lm
configure:12287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lm   -lxmlparse -lxmltok 1>&5
configure:12280: warning: conflicting types for built-in function `sin'
configure:12321: checking for res_search
configure:12349: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/ccoN6E5F.o(.text+0xa): In function `main':
: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12326 "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:12367: checking for __res_search
configure:12395: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/cc5GDNRM.o(.text+0xa): In function `main':
: undefined reference to `__res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12372 "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:12433: checking for res_search in -lresolv
configure:12452: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>&5
configure:12527: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lm  -lxmlparse -lxmltok -lresolv 1>&5
configure:12857: checking for inet_aton
configure:12885: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:13253: checking for dn_skipname
configure:13281: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/ccLB9Hnc.o(.text+0xa): In function `main':
: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13258 "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:13299: checking for __dn_skipname
configure:13327: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:13647: checking for ANSI C header files
configure:13660: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13727: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:13755: checking for dirent.h that defines DIR
configure:13768: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:13793: checking for opendir in -ldir
configure:13812: gcc -o conftest -O2 -march=i686 -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.6/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 13801 "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:13878: checking for fclose declaration
configure:13887: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:13964: checking for inttypes.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdint.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for dirent.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for ApplicationServices/ApplicationServices.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:53: ApplicationServices/ApplicationServices.h: No such file or
directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:13964: checking for sys/param.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/types.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/time.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for netinet/in.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for alloca.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for arpa/inet.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for arpa/nameser.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for assert.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for crypt.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for fcntl.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for grp.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for ieeefp.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:13964: checking for langinfo.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for limits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for locale.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for monetary.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for mach-o/dyld.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:25: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:13964: checking for netdb.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for pwd.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for resolv.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for signal.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdarg.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdlib.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for string.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for syslog.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sysexits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/file.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/mman.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/mount.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/poll.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/resource.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/select.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/socket.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/statfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/statvfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/vfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/sysexits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:26: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:13964: checking for sys/varargs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:25: sys/varargs.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:13964: checking for sys/wait.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for unistd.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for unix.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:18: unix.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <unix.h>
configure:13964: checking for utime.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/utsname.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/ipc.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for dlfcn.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:14003: checking for fopencookie
configure:14031: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14062: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14114: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14175: checking for broken getcwd
configure:14190: checking for broken libc stdio
configure:14251: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure: failed program was:
#line 14223 "configure"
#include "confdefs.h"

#include <stdio.h>
int main(int argc, char *argv[])
{
  FILE *fp;
  long position;
  char *filename = "/tmp/phpglibccheck";
  
  fp = fopen(filename, "w");
  if (fp == NULL) {
	  perror("fopen");
	  exit(2);
  }
  fputs("foobar", fp);
  fclose(fp);

  fp = fopen(filename, "a+");
  position = ftell(fp);
  fclose(fp);
  unlink(filename);
  if (position == 0)
	return 1;
  return 0;
}

configure:14279: checking whether struct tm is in sys/time.h or time.h
configure:14292: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14313: checking for tm_zone in struct tm
configure:14326: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14385: checking for tm_gmtoff in struct tm
configure:14398: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14421: checking for struct flock
configure:14436: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14463: checking for socklen_t
configure:14480: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14506: checking size of intmax_t
configure:14525: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure: In function `main':
configure:14520: error: `intmax_t' undeclared (first use in this function)
configure:14520: error: (Each undeclared identifier is reported only once
configure:14520: error: for each function it appears in.)
configure: failed program was:
#line 14514 "configure"
#include "confdefs.h"
#include <stdio.h>
int main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) return(1);
  fprintf(f, "%d\n", sizeof(intmax_t));
  return(0);
}
configure:14545: checking size of size_t
configure:14564: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14584: checking size of ssize_t
configure:14603: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure: In function `main':
configure:14598: error: `ssize_t' undeclared (first use in this function)
configure:14598: error: (Each undeclared identifier is reported only once
configure:14598: error: for each function it appears in.)
configure: failed program was:
#line 14592 "configure"
#include "confdefs.h"
#include <stdio.h>
int main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) return(1);
  fprintf(f, "%d\n", sizeof(ssize_t));
  return(0);
}
configure:14623: checking size of ptrdiff_t
configure:14642: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure: In function `main':
configure:14637: error: `ptrdiff_t' undeclared (first use in this function)
configure:14637: error: (Each undeclared identifier is reported only once
configure:14637: error: for each function it appears in.)
configure: failed program was:
#line 14631 "configure"
#include "confdefs.h"
#include <stdio.h>
int main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) return(1);
  fprintf(f, "%d\n", sizeof(ptrdiff_t));
  return(0);
}
configure:14662: checking size of long long
configure:14681: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14701: checking size of long long int
configure:14720: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14740: checking size of long
configure:14759: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14779: checking size of int
configure:14798: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:14819: checking for st_blksize in struct stat
configure:14832: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14854: checking for st_blocks in struct stat
configure:14867: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14894: checking for st_rdev in struct stat
configure:14907: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:14929: checking for size_t
configure:14962: checking for uid_t in sys/types.h
configure:14997: checking for struct sockaddr_storage
configure:15010: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:15042: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure: In function `main':
configure:15038: error: structure has no member named `sa_len'
configure: failed program was:
#line 15032 "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:15055: checking for IPv6 support
configure:15069: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15087: checking for vprintf
configure:15115: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15099: warning: conflicting types for built-in function `vprintf'
configure:15259: checking for alphasort
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for asctime_r
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for chroot
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for ctime_r
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for cuserid
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for crypt
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for flock
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for ftok
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for funopen
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/cc81lAMk.o(.text+0xa): In function `main':
: undefined reference to `funopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15264 "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:15259: checking for gai_strerror
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for gcvt
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for getlogin
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for getprotobyname
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for getprotobynumber
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for getservbyname
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for getservbyport
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for getrusage
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for gettimeofday
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for gmtime_r
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for isascii
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for link
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for localtime_r
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for lockf
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for lrand48
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for memcpy
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15271: warning: conflicting types for built-in function `memcpy'
configure:15259: checking for memmove
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for mkstemp
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for mmap
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for nl_langinfo
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for perror
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for poll
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for putenv
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for realpath
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for random
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for rand_r
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for regcomp
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for res_search
configure:15259: checking for scandir
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for setitimer
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for setlocale
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for localeconv
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for setsockopt
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for setvbuf
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for shutdown
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for sin
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15271: warning: conflicting types for built-in function `sin'
configure:15259: checking for snprintf
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15271: warning: conflicting types for built-in function `snprintf'
configure:15259: checking for srand48
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for srandom
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for statfs
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for statvfs
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for std_syslog
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/ccKGdoik.o(.text+0xa): In function `main':
: undefined reference to `std_syslog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15264 "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:15259: checking for strcasecmp
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for strcoll
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for strdup
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for strerror
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for strftime
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for strstr
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15271: warning: conflicting types for built-in function `strstr'
configure:15259: checking for strtok_r
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for symlink
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for tempnam
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/cc6jJs5f.o(.text+0xa): In function `main':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
configure:15259: checking for tzset
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for unsetenv
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for usleep
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for utime
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15259: checking for vsnprintf
configure:15287: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15271: warning: conflicting types for built-in function `vsnprintf'
configure:15313: checking for getaddrinfo
configure:15325: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15371: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15403: checking for strlcat
configure:15431: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/ccD7Xzid.o(.text+0xa): In function `main':
: undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15408 "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:15403: checking for strlcpy
configure:15431: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
/var/tmp/portage/php-4.4.0-r1/temp/ccf0Hepb.o(.text+0xa): In function `main':
: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15408 "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:15403: checking for getopt
configure:15431: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15458: checking whether utime accepts a null argument
configure:15479: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15505: checking for working alloca.h
configure:15538: checking for alloca
configure:15571: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15738: checking for declared timezone
configure:15759: gcc -c -O2 -march=i686 -pipe  conftest.c 1>&5
configure:15785: checking for type of reentrant time-related functions
configure:15814: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure: In function `main':
configure:15806: warning: assignment makes integer from pointer without a cast
configure:15807: error: too many arguments to function `asctime_r'
configure: failed program was:
#line 15796 "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:15844: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure: In function `main':
configure:15837: error: too many arguments to function `asctime_r'
configure: failed program was:
#line 15828 "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:15882: checking for readdir_r
configure:15910: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:15932: checking for type of readdir_r
configure:15968: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:16086: checking whether to include debugging symbols
configure:16119: checking layout of installed files
configure:16153: checking path to configuration file
configure:16189: checking directory to be scanned for configuration files
configure:16219: checking whether to enable safe mode by default
configure:16254: checking for safe mode exec dir
configure:16295: checking whether to enable PHP's own SIGCHLD handler
configure:16332: checking whether to enable magic quotes by default
configure:16369: checking whether to enable runpaths
configure:16394: checking whether to explicitly link against libgcc
configure:16473: checking whether to enable short tags by default
configure:16510: checking whether to enable dmalloc
configure:16598: checking whether to enable IPv6 support
configure:16628: checking whether to enable versioning
configure:16680: checking for OpenSSL support
configure:16726: checking for Kerberos support
configure:17343: checking for pkg-config
configure:17531: checking for OpenSSL version
configure:17671: checking for CRYPTO_free in -lcrypto
configure:17690: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lcrypto  -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:17830: checking for SSL_CTX_set_ssl_version in -lssl
configure:17849: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lssl  -lcrypto -lresolv -lm  -lxmlparse -lxmltok -lcrypto
1>&5
configure:17975: checking for ZLIB support
configure:18021: checking if the location of ZLIB install directory is defined
configure:18374: checking for gzgets in -lz
configure:18393: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lz  -lssl -lcrypto -lresolv -lm  -lxmlparse -lxmltok 1>&5
configure:18531: checking whether to enable bc style precision math functions
configure:18825: checking for BZip2 support
configure:18969: checking for BZ2_bzerror in -lbz2
configure:18988: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib conftest.c -lbz2  -lz -lssl -lcrypto -lresolv -lm  -lxmlparse
-lxmltok 1>&5
configure:19383: checking whether to enable calendar conversion support
configure:19662: checking for cpdflib support
configure:20841: checking for CRACKlib support
configure:21265: checking whether to enable ctype functions
configure:21540: checking for CURL support
configure:21607: checking for cURL 7.9.8 or greater
configure:21907: checking for curl_easy_perform in -lcurl
configure:21926: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib -lcurl -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz conftest.c -lcurl
 -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm  -lxmlparse -lxmltok -lcurl -lssl
-lcrypto -ldl -lssl -lcrypto -ldl -lz 1>&5
configure:22045: checking for curl_version_info in -lcurl
configure:22064: gcc -o conftest -O2 -march=i686 -pipe   -L/usr/X11R6/lib -ltiff
-L/usr/lib -lcurl -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz conftest.c -lcurl
 -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm  -lxmlparse -lxmltok -lcurl -lssl
-lcrypto -ldl -lssl -lcrypto -ldl -lz 1>&5
configure:22331: checking for cyrus imap support
configure:23256: checking for xDBM support
configure:23887: checking whether to enable DBA
Comment 1 Giovanni Aloisio 2005-10-08 03:44:19 UTC
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 crypt cups
curl dvd eds emboss encode esd fam foomaticdb fortran gd gdbm gif gmail gnome
gphoto2 gpm gstreamer gtk gtk2 icq imap imlib java jpeg libg++ libwww mad mikmod
motif mozilla mp3 mpeg mysql ncurses nls oci8 ogg oggvorbis opengl oracle oss
pam pcmcia pdflib perl php png python quicktime readline samba sdl spell sse ssl
tcpd tiff truetype truetype-fonts type1-fonts usb vorbis x xine xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-08 04:06:25 UTC
run revdep-rebuild and report back.