LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 719|回复: 1

php5编译问题!!!!在线等!!那位老大帮帮小弟!!

[复制链接]
发表于 2006-10-5 10:06:22 | 显示全部楼层 |阅读模式
这是./configure最后一部分:
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/share/doc/libxml2-2.6.23
checking for xml2-config path... /usr/local/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed.  Please check the config.log for details.


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

configure:2162: checking for Cygwin environment
configure:2178: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:2174: error: '__CYGWIN32__' undeclared (first use in this function)
configure:2174: error: (Each undeclared identifier is reported only once
configure:2174: error: for each function it appears in.)
configure: failed program was:
#line 2167 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:2195: checking for mingw32 environment
configure:2207: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:2203: error: '__MINGW32__' undeclared (first use in this function)
configure:2203: error: (Each undeclared identifier is reported only once
configure:2203: error: for each function it appears in.)
configure: failed program was:
#line 2200 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:2226: checking for egrep
configure:2241: checking for a sed that does not truncate output
configure:2361: checking host system type
configure:2382: checking target system type
configure:2480: checking for gcc
configure:2593: checking whether the C compiler (gcc  ) works
configure:2609: gcc -o conftest    conftest.c  1>&5
configure:2635: checking whether the C compiler (gcc  ) is a cross-compiler
configure:2640: checking whether we are using GNU C
configure:2649: gcc -E conftest.c
configure:2668: checking whether gcc accepts -g
configure:2701: checking whether gcc and cc understand -c and -o together
configure:2716: gcc -c conftest.c -o conftest.o 1>&5
configure:2717: gcc -c conftest.c -o conftest.o 1>&5
configure:2722: cc -c conftest.c 1>&5
configure:2724: cc -c conftest.c -o conftest.o 1>&5
configure:2725: cc -c conftest.c -o conftest.o 1>&5
configure:2752: checking how to run the C preprocessor
configure:2773: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2832: checking for AIX
configure:2856: checking whether ln -s works
configure:2888: checking if compiler supports -R
configure:2903: gcc -o conftest -g -O2   conftest.c -R /usr/lib  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 2896 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2921: checking if compiler supports -Wl,-rpath,
configure:2936: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  1>&5
configure:2962: checking for re2c
configure:3022: checking for gawk
configure:3082: checking for bison
configure:3122: checking for bison version
configure:3163: checking for flex
configure:3197: checking for yywrap in -lfl
configure:3216: gcc -o conftest -g -O2   conftest.c -lfl   1>&5
configure:3240: checking lex output file root
configure:3261: checking whether yytext is a pointer
configure:3280: gcc -o conftest -g -O2   conftest.c  -lfl 1>&5
configure:3304: checking for working const
configure:3358: gcc -c -g -O2  conftest.c 1>&5
configure:3384: checking for flex version
configure:3607: checking whether to force non-PIC code in shared modules
configure:3703: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccYamG1f.o: In function `main':
/usr/software/php-5.1.2/configure:3698: undefined reference to `pthread_mutexattr_init'
/usr/software/php-5.1.2/configure:3699: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3685 "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:3723: checking for pthreads_cflags
configure:3763: gcc -o conftest -g -O2 -kthread   conftest.c  1>&5
gcc: unrecognized option '-kthread'
/tmp/cc27kURl.o: In function `main':
/usr/software/php-5.1.2/configure:3758: undefined reference to `pthread_mutexattr_init'
/usr/software/php-5.1.2/configure:3759: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3745 "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:3763: gcc -o conftest -g -O2 -pthread   conftest.c  1>&5
configure:3793: checking for pthreads_lib
configure:3930: checking for AOLserver support
configure:4173: checking for Apache 1.x module support via DSO through APXS
configure:4478: checking for Apache 1.x module support
configure:5321: checking for mod_charset compatibility option
configure:5458: checking for Apache 2.0 filter-module support via DSO through APXS
configure:6288: checking for Apache 2.0 handler-module support via DSO through APXS
configure:7119: checking for Apache 1.x (hooks) module support via DSO through APXS
configure:7424: checking for Apache 1.x (hooks) module support
configure:8267: checking for mod_charset compatibility option
configure:8405: checking for Caudium support
configure:8737: checking for CLI build
configure:8795: checking for Continuity support
configure:9042: checking for embedded SAPI library support
configure:9265: checking for Zeus ISAPI support
configure:9497: checking for Milter support
configure:9772: checking for NSAPI support
configure:10115: checking for PHTTPD support
configure:10346: checking for Pi3Web support
configure:10677: checking for Roxen/Pike support
configure:11188: checking for thttpd
configure:11416: checking for TUX
configure:11652: checking for webjames
configure:12080: checking for chosen SAPI module
configure:12987: checking for sendmail
configure:13032: checking whether system uses EBCDIC
configure:13051: gcc -o conftest -g -O2   conftest.c  1>&5
configure: failed program was:
#line 13043 "configure"
#include "confdefs.h"

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

configure:13079: checking whether byte ordering is bigendian
configure:13105: gcc -o conftest -g -O2   conftest.c  1>&5
configure: failed program was:
#line 13089 "configure"
#include "confdefs.h"

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

  if (*cp == 0) {
    return(0);
  } else {
    return(1);
  }
}
  
configure:13176: checking for socket
configure:13204: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13433: checking for socketpair
configure:13461: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13690: checking for htonl
configure:13718: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13947: checking for gethostname
configure:13975: gcc -o conftest -g -O2   conftest.c  1>&5
configure:14204: checking for gethostbyaddr
configure:14232: gcc -o conftest -g -O2   conftest.c  1>&5
configure:14461: checking for yp_get_default_domain
configure:14489: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/cc7UU8bk.o: In function `main':
/usr/software/php-5.1.2/configure:14483: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14466 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char yp_get_default_domain(); 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 yp_get_default_domain();

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_yp_get_default_domain) || defined (__stub___yp_get_default_domain)
choke me
#else
yp_get_default_domain();
#endif

; return 0; }
configure:14507: checking for __yp_get_default_domain
configure:14535: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccqMjZzq.o: In function `main':
/usr/software/php-5.1.2/configure:14529: undefined reference to `__yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14512 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __yp_get_default_domain(); 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 __yp_get_default_domain();

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___yp_get_default_domain) || defined (__stub_____yp_get_default_domain)
choke me
#else
__yp_get_default_domain();
#endif

; return 0; }
configure:14573: checking for yp_get_default_domain in -lnsl
configure:14592: gcc -o conftest -g -O2   conftest.c -lnsl   1>&5
configure:14667: gcc -o conftest -g -O2   conftest.c  -lnsl 1>&5
configure:14719: checking for dlopen
configure:14747: gcc -o conftest -g -O2   conftest.c -lnsl  1>&5
/tmp/cc47k9Rh.o: In function `main':
/usr/software/php-5.1.2/configure:14741: undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14724 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dlopen(); 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 dlopen();

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_dlopen) || defined (__stub___dlopen)
choke me
#else
dlopen();
#endif

; return 0; }
configure:14765: checking for __dlopen
configure:14793: gcc -o conftest -g -O2   conftest.c -lnsl  1>&5
/tmp/ccSIzcwB.o: In function `main':
/usr/software/php-5.1.2/configure:14787: undefined reference to `__dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 14770 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __dlopen(); 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 __dlopen();

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___dlopen) || defined (__stub_____dlopen)
choke me
#else
__dlopen();
#endif

; return 0; }
configure:14831: checking for dlopen in -ldl
configure:14850: gcc -o conftest -g -O2   conftest.c -ldl  -lnsl  1>&5
configure:14925: gcc -o conftest -g -O2   conftest.c -lnsl  -ldl 1>&5
configure:14977: checking for sin in -lm
configure:14996: gcc -o conftest -g -O2   conftest.c -lm  -ldl -lnsl  1>&5
configure:14989: warning: conflicting types for built-in function 'sin'
configure:15030: checking for res_search
configure:15058: gcc -o conftest -g -O2   conftest.c -lm -ldl -lnsl  1>&5
/tmp/cc4GvtFB.o: In function `main':
/usr/software/php-5.1.2/configure:15052: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15035 "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:15076: checking for __res_search
configure:15104: gcc -o conftest -g -O2   conftest.c -lm -ldl -lnsl  1>&5
/tmp/ccmBHPhV.o: In function `main':
/usr/software/php-5.1.2/configure:15098: undefined reference to `__res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15081 "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:15142: checking for res_search in -lresolv
configure:15161: gcc -o conftest -g -O2   conftest.c -lresolv  -lm -ldl -lnsl  1>&5
configure:15236: gcc -o conftest -g -O2   conftest.c -lm -ldl -lnsl  -lresolv 1>&5
configure:15566: checking for inet_aton
configure:15594: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:15962: checking for dn_skipname
configure:15990: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/cc4naGid.o: In function `main':
/usr/software/php-5.1.2/configure:15984: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15967 "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:16008: checking for __dn_skipname
configure:16036: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:16356: checking for ANSI C header files
configure:16369: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16436: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:16431: warning: incompatible implicit declaration of built-in function 'exit'
configure:16464: checking for dirent.h that defines DIR
configure:16477: gcc -c -g -O2  conftest.c 1>&5
configure:16502: checking for opendir in -ldir
configure:16521: gcc -o conftest -g -O2   conftest.c -ldir  -lresolv -lm -ldl -lnsl  1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 16510 "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:16642: checking for inttypes.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for stdint.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for dirent.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for ApplicationServices/ApplicationServices.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16648:53: error: ApplicationServices/ApplicationServices.h: No such file or directory
configure: failed program was:
#line 16647 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:16642: checking for sys/param.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/types.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/time.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for netinet/in.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for alloca.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for arpa/inet.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for arpa/nameser.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for assert.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for crypt.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for fcntl.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for grp.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for ieeefp.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16648:20: error: ieeefp.h: No such file or directory
configure: failed program was:
#line 16647 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:16642: checking for langinfo.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for limits.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for locale.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for monetary.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for mach-o/dyld.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16648:25: error: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 16647 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:16642: checking for netdb.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for pwd.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for resolv.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for signal.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for stdarg.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for stdlib.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for string.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for syslog.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sysexits.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/ioctl.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/file.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/mman.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/mount.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/poll.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/resource.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/select.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/socket.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/statfs.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/statvfs.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/vfs.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/sysexits.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16648:26: error: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 16647 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:16642: checking for sys/varargs.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16648:25: error: sys/varargs.h: No such file or directory
configure: failed program was:
#line 16647 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:16642: checking for sys/wait.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for termios.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for unistd.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for unix.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16648:18: error: unix.h: No such file or directory
configure: failed program was:
#line 16647 "configure"
#include "confdefs.h"
#include <unix.h>
configure:16642: checking for utime.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/utsname.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for sys/ipc.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for dlfcn.h
configure:16652: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16642: checking for assert.h
configure:16681: checking for fopencookie
configure:16709: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:16741: gcc -c -g -O2  conftest.c 1>&5
configure:16792: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:16785: warning: incompatible implicit declaration of built-in function 'exit'
configure:16856: checking for broken getcwd
configure:16871: checking for broken libc stdio
configure:16932: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:16916: warning: incompatible implicit declaration of built-in function 'exit'
configure: failed program was:
#line 16904 "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:16960: checking whether struct tm is in sys/time.h or time.h
configure:16973: gcc -c -g -O2  conftest.c 1>&5
configure:16994: checking for tm_zone in struct tm
configure:17007: gcc -c -g -O2  conftest.c 1>&5
configure:17066: checking for missing declarations of reentrant functions
configure:17075: gcc -c -g -O2  conftest.c 1>&5
configure:17100: gcc -c -g -O2  conftest.c 1>&5
configure:17125: gcc -c -g -O2  conftest.c 1>&5
configure:17150: gcc -c -g -O2  conftest.c 1>&5
configure:17175: gcc -c -g -O2  conftest.c 1>&5
configure:17196: checking for fclose declaration
configure:17205: gcc -c -g -O2  conftest.c 1>&5
configure:17231: checking for tm_gmtoff in struct tm
configure:17244: gcc -c -g -O2  conftest.c 1>&5
configure:17267: checking for struct flock
configure:17282: gcc -c -g -O2  conftest.c 1>&5
configure:17309: checking for socklen_t
configure:17326: gcc -c -g -O2  conftest.c 1>&5
configure:17352: checking size of intmax_t
configure:17371: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:17366: error: 'intmax_t' undeclared (first use in this function)
configure:17366: error: (Each undeclared identifier is reported only once
configure:17366: error: for each function it appears in.)
configure: failed program was:
#line 17360 "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:17391: checking size of size_t
configure:17410: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17430: checking size of ssize_t
configure:17449: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:17444: error: 'ssize_t' undeclared (first use in this function)
configure:17444: error: (Each undeclared identifier is reported only once
configure:17444: error: for each function it appears in.)
configure: failed program was:
#line 17438 "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:17469: checking size of ptrdiff_t
configure:17488: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:17483: error: 'ptrdiff_t' undeclared (first use in this function)
configure:17483: error: (Each undeclared identifier is reported only once
configure:17483: error: for each function it appears in.)
configure: failed program was:
#line 17477 "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:17508: checking size of long long
configure:17527: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17547: checking size of long long int
configure:17566: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17586: checking size of long
configure:17605: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17625: checking size of int
configure:17644: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17665: checking for st_blksize in struct stat
configure:17678: gcc -c -g -O2  conftest.c 1>&5
configure:17700: checking for st_blocks in struct stat
configure:17713: gcc -c -g -O2  conftest.c 1>&5
configure:17740: checking for st_rdev in struct stat
configure:17753: gcc -c -g -O2  conftest.c 1>&5
configure:17775: checking for size_t
configure:17808: checking for uid_t in sys/types.h
configure:17844: checking for struct sockaddr_storage
configure:17857: gcc -c -g -O2  conftest.c 1>&5
configure:17878: checking for field sa_len in struct sockaddr
configure:17892: gcc -c -g -O2  conftest.c 1>&5
configure: In function 'main':
configure:17888: error: 'struct sockaddr' has no member named 'sa_len'
configure: failed program was:
#line 17884 "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:17915: checking for IPv6 support
configure:17929: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17945: checking for vprintf
configure:17973: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:17957: warning: conflicting types for built-in function 'vprintf'
configure:18126: checking for alphasort
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for asctime_r
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for chroot
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for ctime_r
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for cuserid
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for crypt
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccuA78Px.o: In function `main':
/usr/software/php-5.1.2/configure:18148: undefined reference to `crypt'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18131 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char crypt(); 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 crypt();

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_crypt) || defined (__stub___crypt)
choke me
#else
crypt();
#endif

; return 0; }
configure:18126: checking for flock
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for ftok
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for funopen
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccrC954h.o: In function `main':
/usr/software/php-5.1.2/configure:18148: undefined reference to `funopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18131 "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:18126: checking for gai_strerror
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for gcvt
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for getlogin
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for getprotobyname
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for getprotobynumber
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for getservbyname
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for getservbyport
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for getrusage
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for gettimeofday
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for gmtime_r
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for grantpt
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for inet_ntoa
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for inet_ntop
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for inet_pton
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for isascii
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'isascii'
configure:18126: checking for link
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for localtime_r
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for lockf
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for lrand48
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for memcpy
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'memcpy'
configure:18126: checking for memmove
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'memmove'
configure:18126: checking for mkstemp
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for mmap
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for nl_langinfo
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for perror
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for poll
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for ptsname
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for putenv
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for realpath
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for random
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for rand_r
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for regcomp
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for res_search
configure:18126: checking for scandir
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for setitimer
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for setlocale
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for localeconv
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for setpgid
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for setsockopt
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for setvbuf
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for shutdown
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for sin
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'sin'
configure:18126: checking for snprintf
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'snprintf'
configure:18126: checking for srand48
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for srandom
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for statfs
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for statvfs
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for std_syslog
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccwKxG4J.o: In function `main':
/usr/software/php-5.1.2/configure:18148: undefined reference to `std_syslog'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18131 "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:18126: checking for strcasecmp
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'strcasecmp'
configure:18126: checking for strcoll
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for strdup
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'strdup'
configure:18126: checking for strerror
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for strftime
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'strftime'
configure:18126: checking for strptime
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for strstr
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'strstr'
configure:18126: checking for strtok_r
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for symlink
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for tempnam
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccWzTQXp.o: In function `main':
/usr/software/php-5.1.2/configure:18148: warning: the use of `tempnam' is dangerous, better use `mkstemp'
configure:18126: checking for tzset
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for unlockpt
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for unsetenv
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for usleep
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for nanosleep
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for utime
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18126: checking for vsnprintf
configure:18154: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18138: warning: conflicting types for built-in function 'vsnprintf'
configure:18180: checking for getaddrinfo
configure:18192: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18238: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:18208: warning: incompatible implicit declaration of built-in function 'memset'
configure:18212: warning: incompatible implicit declaration of built-in function 'exit'
configure:18216: warning: incompatible implicit declaration of built-in function 'exit'
configure:18224: warning: incompatible implicit declaration of built-in function 'exit'
configure:18228: warning: incompatible implicit declaration of built-in function 'exit'
configure:18233: warning: incompatible implicit declaration of built-in function 'exit'
configure:18270: checking for strlcat
configure:18298: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccCn85Bq.o: In function `main':
/usr/software/php-5.1.2/configure:18292: undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18275 "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:18270: checking for strlcpy
configure:18298: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
/tmp/ccOUSbWM.o: In function `main':
/usr/software/php-5.1.2/configure:18292: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 18275 "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:18270: checking for getopt
configure:18298: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18325: checking whether utime accepts a null argument
configure:18346: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:18340: warning: incompatible implicit declaration of built-in function 'exit'
configure:18372: checking for working alloca.h
configure:18405: checking for alloca
configure:18438: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18605: checking for declared timezone
configure:18626: gcc -c -g -O2  conftest.c 1>&5
configure:18652: checking for type of reentrant time-related functions
configure:18681: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:18673: warning: assignment makes integer from pointer without a cast
configure:18674: error: too many arguments to function 'asctime_r'
configure: failed program was:
#line 18663 "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:18713: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:18706: error: too many arguments to function 'asctime_r'
configure: failed program was:
#line 18697 "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:18751: checking for readdir_r
configure:18779: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure:18801: checking for type of readdir_r
configure:18837: gcc -o conftest -g -O2   conftest.c -lresolv -lm -ldl -lnsl  1>&5
configure: In function 'main':
configure:18829: warning: incompatible implicit declaration of built-in function 'exit'
configure:18900: checking for in_addr_t
configure:18956: checking whether to include gcov symbols
configure:19116: checking whether to include debugging symbols
configure:19149: checking layout of installed files
configure:19183: checking path to configuration file
configure:19219: checking where to scan for configuration files
configure:19249: checking whether to enable safe mode by default
configure:19284: checking for safe mode exec dir
configure:19325: checking whether to enable PHP's own SIGCHLD handler
configure:19362: checking whether to enable magic quotes by default
configure:19399: checking whether to enable runpaths
configure:19424: checking whether to explicitly link against libgcc
configure:19503: checking whether to enable short tags by default
configure:19540: checking whether to enable dmalloc
configure:19628: checking whether to enable IPv6 support
configure:19658: checking how big to make fd sets
configure:19678: checking whether to enable versioning
configure:19726: checking whether to enable LIBXML support
configure:19773: checking libxml2 install dir
configure:19802: checking for xml2-config path
configure:19959: checking whether libxml build works
configure:19986: gcc -o conftest -g -O2   -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c
         
         -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm 1>&5
configure: failed program was:
#line 19975 "configure"
#include "confdefs.h"

   
    char xmlInitParser();
    int main() {
      xmlInitParser();
      return 0;
    }
发表于 2006-10-5 13:10:46 | 显示全部楼层
你有没有装 libxml、libxml-devel?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表