From: [EMAIL PROTECTED] Operating system: sparc-sun-solaris2.7 PHP version: 4.0.5 PHP Bug Type: Compile Failure Bug description: Compile faliure I got the error when I compile php: docent@hbsp-test% ./configure -with-nsapi=/export/home/netscape/server4 -with-oci8=/oracle/product/8.1.6 -enable-track-vars -enable-libgcc loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... sparc-sun-solaris2.7 checking for gawk... (cached) nawk checking for bison... (cached) bison -y checking bison version... 1.28 (ok) checking for gcc... (cached) /usr/local/bin/gcc checking whether the C compiler (/usr/local/bin/gcc ) works... yes checking whether the C compiler (/usr/local/bin/gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether /usr/local/bin/gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) /usr/local/bin/gcc -E checking for AIX... no checking for /usr/local/bin/gcc option to accept ANSI C... (cached) none needed checking for ranlib... (cached) ranlib checking whether /usr/local/bin/gcc and cc understand -c and -o together... (cached) yes checking whether ln -s works... (cached) yes checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking lex output file root... (cached) lex.yy checking whether yytext is a pointer... (cached) yes checking for working const... (cached) yes checking for pthreads_cflags... (cached) checking for pthreads_lib... (cached) pthread [1mConfiguring SAPI modules[m checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... no checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking whether to force Apache CGI redirect... no checking whether to discard path_info + path_translated... no checking for fhttpd module support... no checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... /export/home/netscape/server4 checking for NSAPI include files... iPlanet/4.x style checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for chosen SAPI module... nsapi [1mRunning system checks[m checking for missing declarations of reentrant functions... done checking whether compiler supports -R... (cached) yes checking for sendmail... (cached) /usr/lib/sendmail checking whether system uses EBCDIC... (cached) no checking for socket in -lsocket... (cached) yes checking for yp_get_default_domain... no checking for gethostname in -lnsl... (cached) yes checking for crypt in -lcrypt... (cached) yes checking for dlopen in -ldl... (cached) yes checking for sin in -lm... (cached) yes checking for inet_aton in -lresolv... (cached) yes checking for res_search in -lsocket... (cached) yes checking for dn_skipname in -lresolv... (cached) no checking for __dn_skipname in -lresolv... (cached) yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for fclose declaration... ok checking for alloca.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking for crypt.h... (cached) yes checking for fcntl.h... (cached) yes checking for grp.h... (cached) yes checking for ieeefp.h... (cached) yes checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for netinet/in.h... (cached) yes checking for pwd.h... (cached) yes checking for resolv.h... (cached) yes checking for signal.h... (cached) yes checking for stdarg.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... (cached) yes checking for sysexits.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/mman.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/statfs.h... (cached) yes checking for sys/statvfs.h... (cached) yes checking for sys/sysexits.h... (cached) no checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/varargs.h... (cached) yes checking for sys/wait.h... (cached) yes checking for unistd.h... (cached) yes checking for unix.h... (cached) no checking for utime.h... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for tm_zone in struct tm... (cached) no checking for tzname... (cached) yes checking for tm_gmtoff in struct tm... (cached) no checking for struct flock... (cached) yes checking for socklen_t... (cached) yes checking size of long... (cached) 4 checking size of int... (cached) 4 checking for st_blksize in struct stat... (cached) yes checking for st_blocks in struct stat... (cached) yes checking for st_rdev in struct stat... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for IPv6 support... (cached) no checking for vprintf... (cached) yes checking for asctime_r... (cached) yes checking for chroot... (cached) yes checking for crypt... (cached) yes checking for ctime_r... (cached) yes checking for cuserid... (cached) yes checking for flock... (cached) no checking for gai_strerror... (cached) no checking for gcvt... (cached) yes checking for getlogin... (cached) yes checking for gethostbyaddr... (cached) yes checking for getprotobyname... (cached) yes checking for getprotobynumber... (cached) yes checking for getrusage... (cached) yes checking for gettimeofday... (cached) yes checking for gmtime_r... (cached) yes checking for inet_aton... (cached) yes checking for isascii... (cached) yes checking for link... (cached) yes checking for localtime_r... (cached) yes checking for lockf... (cached) yes checking for lrand48... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for mkstemp... (cached) yes checking for mmap... (cached) yes checking for putenv... (cached) yes checking for random... (cached) yes checking for rand_r... (cached) yes checking for regcomp... (cached) yes checking for res_search... (cached) yes checking for setitimer... (cached) yes checking for setlocale... (cached) yes checking for localeconv... (cached) yes checking for setsockopt... (cached) yes checking for setvbuf... (cached) yes checking for shutdown... (cached) yes checking for sin... (cached) yes checking for snprintf... (cached) yes checking for srand48... (cached) yes checking for srandom... (cached) yes checking for statfs... (cached) yes checking for statvfs... (cached) yes checking for std_syslog... (cached) no checking for strcasecmp... (cached) yes checking for strcoll... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strftime... (cached) yes checking for strstr... (cached) yes checking for strtok_r... (cached) yes checking for symlink... (cached) yes checking for tempnam... (cached) yes checking for tzset... (cached) yes checking for unsetenv... (cached) no checking for usleep... (cached) yes checking for utime... (cached) yes checking for vsnprintf... (cached) yes checking for getaddrinfo... (cached) no checking for strlcat... (cached) no checking for strlcpy... (cached) no checking for getopt... (cached) yes checking whether utime accepts a null argument... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking whether sprintf is broken... (cached) no checking for declared timezone... (cached) yes checking for type of reentrant time-related functions... (cached) POSIX checking for readdir_r... (cached) yes checking for type of readdir_r... (cached) POSIX checking whether to use a configuration file... yes checking whether to include debugging symbols... no checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/local/php/bin checking for OpenSSL support... no checking whether to enable PHP's own SIGCHLD handler... no checking whether to enable magic quotes by default... no checking whether to enable runpaths... yes checking whether to explicitly link against libgcc... yes checking whether to enable short tags by default... yes checking whether to enable PIC for shared objects... yes checking whether to enable dmalloc... no checking whether to install PEAR... yes [1mConfiguring extensions[m checking for ASPELL support... no checking for bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking CCVS Support... no checking whether to include cpdflib support... no checking whether to include crack support... no checking whether to enable ctype support... no checking for CURL support... no checking for CyberCash support... no checking for cybermut support... no checking whether to include old xDBM support... no checking whether to enable DBA... no checking for GDBM support... no checking for NDBM support... no checking for Berkeley DB2 support... no checking for Berkeley DB3 support... no checking for DBM support... no checking for CDB support... no checking whether to enable DBA interface... no checking whether to enable the bundled dbase library... no checking for DOM support... no checking whether to enable exif support... no checking for fdftk support... no checking whether to enable the bundled filePro support... no checking whether to add fribidi support... no checking whether to enable FTP support... no checking whether to enable truetype string function in gd... no checking whether to include GNU gettext support... no checking for gmp support... no checking for Hyperwave support... no checking for ICAP support... no checking for iconv support... no checking for Kerberos support in IMAP... no checking for SSL support in IMAP... no checking for IMAP support... no checking for Informix support... no checking for Ingres II support... no checking for InterBase support... no checking for ircg support... no checking for Java support... no checking whether to include LDAP support... no checking for MCAL support... no checking for mcrypt support... no checking for mhash support... no checking whether to include ming support... no checking for mnoGoSearch support... no checking for mSQL support... no checking for Muscat support... no checking for MySQL support... yes checking for MySQL UNIX socket... /tmp/mysql.sock checking for inline... (cached) inline checking return type of signal handlers... (cached) void checking for ANSI C header files... (cached) yes checking for sgtty.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for fcntl.h... (cached) yes checking for float.h... (cached) yes checking for floatingpoint.h... (cached) yes checking for ieeefp.h... (cached) yes checking for limits.h... (cached) yes checking for memory.h... (cached) yes checking for pwd.h... (cached) yes checking for select.h... (cached) no checking for stdlib.h... (cached) yes checking for stddef.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for synch.h... (cached) yes checking for sys/mman.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/timeb.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/un.h... (cached) yes checking for sys/vadvise.h... (cached) no checking for sys/wait.h... (cached) yes checking for term.h... (cached) yes checking for unistd.h... (cached) yes checking for utime.h... (cached) yes checking for sys/utime.h... (cached) yes checking for termio.h... (cached) yes checking for termios.h... (cached) yes checking for sched.h... (cached) yes checking for crypt.h... (cached) yes checking for alloca.h... (cached) yes checking size of char... (cached) 1 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for type ulong... (cached) yes checking for type uchar... (cached) no checking for type uint... (cached) yes checking base type of last arg to accept... (cached) socklen_t checking return type of qsort... (cached) void checking for alarm... (cached) yes checking for bmove... (cached) no checking for chsize... (cached) no checking for ftruncate... (cached) yes checking for rint... (cached) yes checking for finite... (cached) yes checking for fpsetmask... (cached) yes checking for fpresetsticky... (cached) no checking for cuserid... (cached) yes checking for fcntl... (cached) yes checking for fconvert... (cached) yes checking for getrusage... (cached) yes checking for getpwuid... (cached) yes checking for getcwd... (cached) yes checking for getrlimit... (cached) yes checking for getwd... (cached) yes checking for index... (cached) yes checking for locking... (cached) no checking for longjmp... (cached) yes checking for perror... (cached) yes checking for pread... (cached) yes checking for realpath... (cached) yes checking for rename... (cached) yes checking for socket... (cached) yes checking for strnlen... (cached) no checking for madvise... (cached) yes checking for strtoul... (cached) yes checking for strtoull... (cached) yes checking for snprintf... (cached) yes checking for tempnam... (cached) yes checking for thr_setconcurrency... (cached) yes checking for gethostbyaddr_r... (cached) yes checking for gethostbyname_r... (cached) yes checking for getpwnam... (cached) yes checking for bfill... (cached) no checking for bzero... (cached) yes checking for bcmp... (cached) yes checking for strstr... (cached) yes checking for strpbrk... (cached) yes checking for strerror... (cached) yes checking for tell... (cached) yes checking for atod... (cached) no checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for setupterm... (cached) no checking for strcasecmp... (cached) yes checking for sighold... (cached) yes checking for vidattr... (cached) no checking for setupterm... (cached) no checking for lrand48... (cached) yes checking for localtime_r... (cached) yes checking for sigset... (cached) yes checking for sigthreadmask... (cached) no checking for pthread_sigmask... (cached) yes checking for pthread_setprio... (cached) no checking for pthread_setprio_np... (cached) no checking for pthread_setschedparam... (cached) yes checking for pthread_attr_setprio... (cached) no checking for pthread_attr_setschedparam... (cached) yes checking for pthread_attr_create... (cached) no checking for pthread_getsequence_np... (cached) no checking for pthread_attr_setstacksize... (cached) yes checking for pthread_condattr_create... (cached) no checking for rwlock_init... (cached) yes checking for crypt... (cached) yes checking for dlopen... (cached) yes checking for dlerror... (cached) yes checking for fchmod... (cached) yes checking for getpass... (cached) yes checking for getpassphrase... (cached) yes checking for strtok_r... (cached) yes checking style of gethostname_r routines... (cached) other checking 3 argument to gethostname_r routines... (cached) char checking args to pthread_getspecific... (cached) POSIX checking args to pthread_mutex_init... (cached) POSIX checking args to readdir_r... (cached) POSIX checking style of sigwait... (cached) POSIX checking for Oracle-OCI8 support... yes checking Oracle Install-Dir... /oracle/product/8.1.6 +--------------------------------------------------------------------+ | Notice: | | If you encounter <defunc> processes when using a local Oracle-DB | | please recompile PHP and specify --enable-sigchild when configuring| | (This problem has been reported un Linux using Oracle >= 8.1.5) | +--------------------------------------------------------------------+ checking Oracle version... 8.1 checking for Adabas support... no checking for SAP DB support... no checking for Solid support... no checking for IBM DB2 support... no checking for Empress support... no checking for Velocis support... no checking for a custom ODBC support... no checking for iODBC support... no checking for Easysoft ODBC-ODBC Bridge support... no checking for unixODBC support... no checking for OpenLink ODBC support... no checking for DBMaker support... no checking for Oracle-ORACLE support... no checking for Ovrimos SQL Server support... no checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include PDFlib support... no checking whether to include Verisign Payflow Pro support... no checking for PostgreSQL support... no checking whether to include POSIX-like functions... yes checking for seteuid... (cached) yes checking for setegid... (cached) yes checking for setsid... (cached) yes checking for getsid... (cached) yes checking for setpgid... (cached) yes checking for ctermid... (cached) yes checking for mkfifo... (cached) yes checking for getrlimit... (cached) yes checking whether to include pspell support... no checking whether to include QDOM support... no checking for libedit readline replacement... no checking for readline support... no checking for recode support... no checking for Sablotron XSL support... no checking for Sablotron XSL support... no checking whether to enable CORBA support via Satellite... no checking for mm support... no checking whether to enable transparent session id propagation... no checking whether to enable session support... yes checking whether to enable shmop support... no checking for SNMP support... no checking whether to enable UCD SNMP hack... no checking whether to enable sockets support... no checking for dlopen... (cached) yes checking for pam_start in -lpam... (cached) yes checking for getcwd... (cached) yes checking for getwd... (cached) yes checking for standard DES crypt... (cached) yes checking for extended DES crypt... (cached) no checking for MD5 crypt... (cached) no checking for Blowfish crypt... (cached) no checking whether flush should be called explicitly after a bufferered io... (cached) yes checking for libswf support... no checking for Sybase support... no checking for Sybase-CT support... no checking whether to enable System V semaphore support... no checking whether to enable System V shared memory support... no checking for vpopmail support... no checking whether to enable WDDX support... no checking whether byte ordering is bigendian... (cached) yes checking for XML support... yes checking for YAZ support... no checking whether to include YP support... no checking whether to include zlib support... no checking whether to include zziplib support... no checking whether to enable versioning... no checking which regex library to use... php [1mConfiguring Zend[m checking bison version... 1.28 (ok) checking for limits.h... (cached) yes checking for malloc.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for sys/types.h... (cached) yes checking for signal.h... (cached) yes checking for unix.h... (cached) no checking for dlfcn.h... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking for dlopen in -ldl... (cached) yes checking for dlopen... (cached) yes checking for uint... (cached) yes checking for ulong... (cached) yes checking for vprintf... (cached) yes checking for 8-bit clean memcmp... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for memcpy... (cached) yes checking for strdup... (cached) yes checking for getpid... (cached) yes checking for kill... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for finite... (cached) yes checking for fpclass... (cached) yes checking whether sprintf is broken... (cached) no checking for finite... (cached) yes checking for isfinite... (cached) no checking for isinf... (cached) no checking for isnan... (cached) yes checking whether fp_except is defined... (cached) no checking whether to enable experimental ZTS... yes checking whether to enable inline optimization for GCC... no checking whether to enable a memory limit... no checking whether to enable Zend debugging... no checking for c++... (cached) /usr/local/bin/gcc checking whether the C++ compiler (/usr/local/bin/gcc -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -R/oracle/product/8.1.6/lib -L/oracle/product/8.1.6/lib) works... yes checking whether the C++ compiler (/usr/local/bin/gcc -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1 -R/oracle/product/8.1.6/lib -L/oracle/product/8.1.6/lib) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether /usr/local/bin/gcc accepts -g... (cached) yes checking how to run the C++ preprocessor... (cached) /usr/local/bin/gcc -E checking for stdiostream.h... (cached) no checking for cin in -lC... (cached) no checking for cin in -lg++... (cached) no checking for cin in -lstdc++... (cached) no checking for cin in -lcxx... (cached) no checking for __array_delete in -lcxxstd... (cached) no checking for class istdiostream... (cached) no checking for inline... (cached) inline [1mConfiguring TSRM[m checking for stdarg.h... (cached) yes checking for pthreads_cflags... (cached) checking for pthreads_lib... (cached) pthread checking for POSIX threads... yes [1mConfiguring libtool[m checking build system type... sparc-sun-solaris2.7 checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for /usr/local/bin/gcc option to produce PIC... -fPIC checking if /usr/local/bin/gcc PIC flag -fPIC works... yes checking if /usr/local/bin/gcc supports -c -o file.o... yes checking if /usr/local/bin/gcc supports -c -o file.lo... yes checking if /usr/local/bin/gcc supports -fno-rtti -fno-exceptions ... yes checking if /usr/local/bin/gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.7 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool loading cache ./config.cache [1mGenerating files[m checking for working mkdir -p... (cached) yes creating config_vars.mk creating ./config.status creating php4.spec creating Zend/Makefile creating main/build-defs.h creating pear/scripts/pear creating pear/scripts/phpize creating pear/scripts/php-config creating pear/PEAR.php creating TSRM/Makefile creating main/php_config.h creating sapi/Makefile creating ext/Makefile creating Makefile creating pear/Makefile creating main/Makefile creating ext/mysql/Makefile creating ext/mysql/libmysql/Makefile creating ext/oci8/Makefile creating ext/pcre/Makefile creating ext/pcre/pcrelib/Makefile creating ext/posix/Makefile creating ext/session/Makefile creating ext/standard/Makefile creating ext/xml/Makefile creating ext/xml/expat/Makefile creating ext/xml/expat/xmlparse/Makefile creating ext/xml/expat/xmltok/Makefile creating sapi/nsapi/Makefile creating regex/Makefile creating main/internal_functions.c +--------------------------------------------------------------------+ | *** WARNING *** | | | | You chose to compile PHP with the built-in MySQL support. If you | | are compiling a server module, and intend to use other server | | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, | | mod_perl) you must NOT rely on PHP's built-in MySQL support, and | | instead build it with your local MySQL support files, by adding | | --with-mysql=/path/to/mysql to your configure line. | +--------------------------------------------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------------------------------------------+ Thank you for using PHP. docent@hbsp-test% make Making all in Zend /bin/sh ../libtool --silent --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -c zend_language_scanner_cc.cc In file included from zend_language_scanner_cc.cc:2709: zend_istdiostream.h:8: syntax error before `;' zend_istdiostream.h:11: syntax error before `*' zend_istdiostream.h: In method `istdiostream::istdiostream(struct FILE *)': zend_istdiostream.h:10: class `istdiostream' does not have any field named `_file' zend_istdiostream.h:10: `_file' undeclared (first use this function) zend_istdiostream.h:10: (Each undeclared identifier is reported only once zend_istdiostream.h:10: for each function it appears in.) zend_istdiostream.h: At top level: zend_istdiostream.h:12: parse error at null character zend_language_scanner_cc.cc: In function `void zend_file_handle_dtor(struct _zend_file_handle *)': zend_language_scanner_cc.cc:2817: no matching function for call to `streambuf::stdiofile ()' *** Error code 1 make: Fatal error: Command failed for target `zend_language_scanner_cc.lo' Current working directory /docent/php-4.0.5/Zend *** Error code 1 make: Fatal error: Command failed for target `all-recursive' -- Edit Bug report at: http://bugs.php.net/?id=11065&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]