From: tmpr at cvk dot lv Operating system: AIX 5200-01 PHP version: 4.3.2 PHP Bug Type: Compile Failure Bug description: previous declaration of `dlerror'
Description: ------------ very close to http://bugs.php.net/bug.php?id=8559 /bin/sh /usr/sys/inst.images/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/usr/sys/inst.images/php-4.3.2/ext/standard/ -DPHP_ATOM_INC -I/usr/sys/inst.images/php-4.3.2/include -I/usr/sys/inst.images/php-4.3.2/main -I/usr/sys/inst.images/php-4.3.2 -I/usr/sys/inst.images/php-4.3.2/Zend -I/opt/freeware//include -I/usr/oracle/ora817/rdbms/public -I/usr/oracle/ora817/rdbms/demo -I/usr/sys/inst.images/php-4.3.2/ext/xml/expat -I/usr/sys/inst.images/php-4.3.2/TSRM -g -O2 -prefer-pic -c /usr/sys/inst.images/php-4.3.2/ext/standard/info.c -o ext/standard/info.lo /bin/sh /usr/sys/inst.images/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -DAIX=1 -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/www/include -Isapi/apache/ -I/usr/sys/inst.images/php-4.3.2/sapi/apache/ -DPHP_ATOM_INC -I/usr/sys/inst.images/php-4.3.2/include -I/usr/sys/inst.images/php-4.3.2/main -I/usr/sys/inst.images/php-4.3.2 -I/usr/sys/inst.images/php-4.3.2/Zend -I/opt/freeware//include -I/usr/oracle/ora817/rdbms/public -I/usr/oracle/ora817/rdbms/demo -I/usr/sys/inst.images/php-4.3.2/ext/xml/expat -I/usr/sys/inst.images/php-4.3.2/TSRM -g -O2 -prefer-pic -c /usr/sys/inst.images/php-4.3.2/sapi/apache/sapi_apache.c -o sapi/apache/sapi_apache.lo In file included from /www/include/ap_config.h:114, from /www/include/httpd.h:72, from /usr/sys/inst.images/php-4.3.2/sapi/apache/php_apache_http.h:22, from /usr/sys/inst.images/php-4.3.2/sapi/apache/sapi_apache.c:24: /www/include/os.h:123: conflicting types for `dlerror' /usr/include/dlfcn.h:57: previous declaration of `dlerror' make: 1254-004 The error code from the last command is 1. Stop. after commenting out line 123 compilation work ok. make test result: ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- strtotime() function [ext/standard/tests/time/002.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 74 Exts tested : 13 --------------------------------------------------------------------- Number of tests : 481 Tests skipped : 236 (49.1%) Tests warned : 0 ( 0.0%) Tests failed : 1 ( 0.2%) Tests passed : 244 (50.7%) --------------------------------------------------------------------- Time taken : 114 seconds ===================================================================== ================================================================================ /usr/sys/inst.images/php-4.3.2/ext/standard/tests/time/002.phpt ================================================================================ ---- EXPECTED OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 18:59:59 2001-10-22 21:19:58 2001-10-22 19:19:58 2001-10-22 19:32:58 2001-10-22 15:19:58 2001-10-22 15:06:58 ---- ACTUAL OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 ---- FAILED ================================================================================ 023- 1969-12-31 18:59:59 023+ 1969-12-31 23:59:59 025- 2001-10-22 19:19:58 025+ 2001-10-22 23:19:58 026- 2001-10-22 19:32:58 026+ 2001-10-22 23:32:58 027- 2001-10-22 15:19:58 027+ 2001-10-22 19:19:58 028- 2001-10-22 15:06:58 028+ 2001-10-22 19:06:58 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: AIX Automake: automake (GNU automake) 1.5 Written by Tom Tromey <[EMAIL PROTECTED]>. Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Autoconf: autoconf (GNU Autoconf) 2.53 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/specs gcc version 2.9-aix51-020209 Bison: GNU Bison version 1.28 Libraries: /usr/sys/inst.images/php-4.3.2/sapi/cli/php needs: /opt/freeware//lib/libgd.a(shr.o) /opt/freeware//lib/libz.a(libz.so.1) /usr/lib/libdl.a(shr.o) /usr/lib/libbsd_r.a(shr.o) /usr/oracle/ora817/lib/libclntsh.a(shr.o) /usr/lib/libc.a(shr.o) /usr/lib/librtl.a(shr.o) /opt/freeware//lib/libpng.a(libpng.so.2) /opt/freeware//lib/libjpeg.a(libjpeg.so.62) /opt/freeware//lib/libttf.a(libttf.so.2) /usr/lib/libpthreads_compat.a(shr.o) /unix /usr/lib/libc.a(aio.o) /usr/lib/libcrypt.a(shr.o) /opt/freeware//lib/libintl.a(libintl.so.1) /usr/lib/libpthreads.a(shr.o) /usr/lib/libiconv.a(shr4.o) /usr/lib/libpthreads.a(shr_comm.o) ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.2 System => AIX ferrum 2 5 004214714C00 Build Date => Jun 20 2003 10:30:30 Configure Command => './configure' '--with-apxs=/www/bin/apxs' '--with-oci8=/usr/oracle/ora817' '--with-oracle=/usr/oracle/ora817' '--with-gd=/opt/freeware/' '-with-zlib-dir=/opt/freeware/include' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => 2039 => 2039 expose_php => On => On extension_dir => ./ => ./ file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => no value => no value output_handler => no value => no value post_max_size => 8M => 8M precision => 12 => 12 register_argc_argv => On => On register_globals => On => On report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => [EMAIL PROTECTED] => [EMAIL PROTECTED] sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On ctype ctype functions => enabled gd GD Support => enabled GD Version => 1.6.2 or higher JPG Support => enabled PNG Support => enabled WBMP Support => enabled mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => builtin MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => MYSQL_LIBS => Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => -1 => -1 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off oci8 OCI8 Support => enabled Revision => $Revision: 1.183.2.5 $ Oracle Version => 8.1 Compile-time ORACLE_HOME => /usr/oracle/ora817 Libraries Used => oracle Oracle Support => enabled Oracle Version => 8.1 Compile-time ORACLE_HOME => /usr/oracle/ora817 Libraries Used => overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.51.2.2 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=,fieldset= => a=href,area=href,frame=src,input=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.2 zlib ZLib Support => enabled Compiled Version => 1.1.4 Linked Version => 1.1.4 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value _ => /usr/sys/inst.images/php-4.3.2/sapi/cli/php LANG => en_US LOGIN => root QUERY_STRING => PATH => /usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/usr/java131/bin OLDPWD => /usr/sys/inst.images SCRIPT_FILENAME => CONTENT_TYPE => LC__FASTMSG => true CGI_DIRECTORY => /var/docsearch/cgi-bin LOGNAME => root REDIRECT_STATUS => MAIL => /usr/spool/mail/root HOSTNAME => ferrum LOCPATH => /usr/lib/nls/loc REQUEST_METHOD => USER => root DOCUMENT_SERVER_MACHINE_NAME => localhost PATH_TRANSLATED => AUTHSTATE => compat SHLVL => 1 CC => gcc CONTENT_LENGTH => DEFAULT_BROWSER => netscape TEST_PHP_EXECUTABLE => /usr/sys/inst.images/php-4.3.2/sapi/cli/php SHELL => /bin/sh ODMDIR => /etc/objrepos HOSTTYPE => powerpc DOCUMENT_SERVER_PORT => 49213 OSTYPE => aix4.3.2.0 HOME => / TEST_PHP_SRCDIR => /usr/sys/inst.images/php-4.3.2 TERM => vt100 MAILMSG => [YOU HAVE NEW MAIL] ITECONFIGSRV => /etc/IMNSearch PWD => /usr/sys/inst.images/php-4.3.2 DOCUMENT_DIRECTORY => /usr/docsearch/html TZ => CST6CDT MACHTYPE => powerpc-ibm-aix4.3.2.0 ITECONFIGCL => /etc/IMNSearch/clients ITE_DOC_SEARCH_INSTANCE => search NLSPATH => /usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat PHP Variables Variable => Value PHP_SELF => _SERVER["_"] => /usr/sys/inst.images/php-4.3.2/sapi/cli/php _SERVER["LANG"] => en_US _SERVER["LOGIN"] => root _SERVER["QUERY_STRING"] => _SERVER["PATH"] => /usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/usr/java131/bin _SERVER["OLDPWD"] => /usr/sys/inst.images _SERVER["SCRIPT_FILENAME"] => _SERVER["CONTENT_TYPE"] => _SERVER["LC__FASTMSG"] => true _SERVER["CGI_DIRECTORY"] => /var/docsearch/cgi-bin _SERVER["LOGNAME"] => root _SERVER["REDIRECT_STATUS"] => _SERVER["MAIL"] => /usr/spool/mail/root _SERVER["HOSTNAME"] => ferrum _SERVER["LOCPATH"] => /usr/lib/nls/loc _SERVER["REQUEST_METHOD"] => _SERVER["USER"] => root _SERVER["DOCUMENT_SERVER_MACHINE_NAME"] => localhost _SERVER["PATH_TRANSLATED"] => _SERVER["AUTHSTATE"] => compat _SERVER["SHLVL"] => 1 _SERVER["CC"] => gcc _SERVER["CONTENT_LENGTH"] => _SERVER["DEFAULT_BROWSER"] => netscape _SERVER["TEST_PHP_EXECUTABLE"] => /usr/sys/inst.images/php-4.3.2/sapi/cli/php _SERVER["SHELL"] => /bin/sh _SERVER["ODMDIR"] => /etc/objrepos _SERVER["HOSTTYPE"] => powerpc _SERVER["DOCUMENT_SERVER_PORT"] => 49213 _SERVER["OSTYPE"] => aix4.3.2.0 _SERVER["HOME"] => / _SERVER["TEST_PHP_SRCDIR"] => /usr/sys/inst.images/php-4.3.2 _SERVER["TERM"] => vt100 _SERVER["MAILMSG"] => [YOU HAVE NEW MAIL] _SERVER["ITECONFIGSRV"] => /etc/IMNSearch _SERVER["PWD"] => /usr/sys/inst.images/php-4.3.2 _SERVER["DOCUMENT_DIRECTORY"] => /usr/docsearch/html _SERVER["TZ"] => CST6CDT _SERVER["MACHTYPE"] => powerpc-ibm-aix4.3.2.0 _SERVER["ITECONFIGCL"] => /etc/IMNSearch/clients _SERVER["ITE_DOC_SEARCH_INSTANCE"] => search _SERVER["NLSPATH"] => /usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["_"] => /usr/sys/inst.images/php-4.3.2/sapi/cli/php _ENV["LANG"] => en_US _ENV["LOGIN"] => root _ENV["QUERY_STRING"] => _ENV["PATH"] => /usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/usr/java131/bin _ENV["OLDPWD"] => /usr/sys/inst.images _ENV["SCRIPT_FILENAME"] => _ENV["CONTENT_TYPE"] => _ENV["LC__FASTMSG"] => true _ENV["CGI_DIRECTORY"] => /var/docsearch/cgi-bin _ENV["LOGNAME"] => root _ENV["REDIRECT_STATUS"] => _ENV["MAIL"] => /usr/spool/mail/root _ENV["HOSTNAME"] => ferrum _ENV["LOCPATH"] => /usr/lib/nls/loc _ENV["REQUEST_METHOD"] => _ENV["USER"] => root _ENV["DOCUMENT_SERVER_MACHINE_NAME"] => localhost _ENV["PATH_TRANSLATED"] => _ENV["AUTHSTATE"] => compat _ENV["SHLVL"] => 1 _ENV["CC"] => gcc _ENV["CONTENT_LENGTH"] => _ENV["DEFAULT_BROWSER"] => netscape _ENV["TEST_PHP_EXECUTABLE"] => /usr/sys/inst.images/php-4.3.2/sapi/cli/php _ENV["SHELL"] => /bin/sh _ENV["ODMDIR"] => /etc/objrepos _ENV["HOSTTYPE"] => powerpc _ENV["DOCUMENT_SERVER_PORT"] => 49213 _ENV["OSTYPE"] => aix4.3.2.0 _ENV["HOME"] => / _ENV["TEST_PHP_SRCDIR"] => /usr/sys/inst.images/php-4.3.2 _ENV["TERM"] => vt100 _ENV["MAILMSG"] => [YOU HAVE NEW MAIL] _ENV["ITECONFIGSRV"] => /etc/IMNSearch _ENV["PWD"] => /usr/sys/inst.images/php-4.3.2 _ENV["DOCUMENT_DIRECTORY"] => /usr/docsearch/html _ENV["TZ"] => CST6CDT _ENV["MACHTYPE"] => powerpc-ibm-aix4.3.2.0 _ENV["ITECONFIGCL"] => /etc/IMNSearch/clients _ENV["ITE_DOC_SEARCH_INSTANCE"] => search _ENV["NLSPATH"] => /usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [EMAIL PROTECTED] -- Edit bug report at http://bugs.php.net/?id=24266&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24266&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24266&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24266&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24266&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24266&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24266&r=support Expected behavior: http://bugs.php.net/fix.php?id=24266&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24266&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24266&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24266&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24266&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24266&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24266&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24266&r=gnused
