php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1840 "Inconsistent parameter list declaration" during php make.
Submitted: 1999-07-22 17:14 UTC Modified: 1999-08-23 16:10 UTC
From: jeff dot wiseman at alliedsignal dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 1 OS: HP-UX 10.20
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jeff dot wiseman at alliedsignal dot com
New email:
PHP Version: OS:

 

 [1999-07-22 17:14 UTC] jeff dot wiseman at alliedsignal dot com
Ref. bug #1778.

After resolving the compile failure reported in #1778 by using CFLAGS=-Ae, make produces the following:

Making all in libzend
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend-parser.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend-scanner.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_alloc.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_compile.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_constants.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_execute.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_execute_API.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_highlight.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_llist.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_opcode.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_operators.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_ptr_stack.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_stack.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_variables.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_API.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_extensions.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_hash.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_list.c
        cc -DHAVE_CONFIG_H -I. -I/opt/php-4.0b1/./libzend -I.     -Ae -g -c zend_indent.c
        rm -f libzend.a
        ar cru libzend.a zend-parser.o zend-scanner.o zend_alloc.o  zend_compile.o zend_constants.o zend_execute.o zend_ex
ecute_API.o      zend_highlight.o zend_llist.o zend_opcode.o zend_operators.o  zend_ptr_stack.o zend_stack.o zend_variable
s.o zend.o zend_API.o  zend_extensions.o zend_hash.o zend_list.o zend_indent.o
        ranlib libzend.a
Making all in ext
Making all in apache
        cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/opt/apache/src/include -I/opt/apache/src/os/uni
x  -I/usr/local/include   -I/cmsrep/d1/ora8/HP804/rdbms/demo -I/cmsrep/d1/ora8/HP804/network/public -I/cmsrep/d1/ora8/HP80
4/plsql/public -I../.. -I../../libzend    -Ae -g -c apache.c
cpp: "php_config.h", line 173: warning 2001: Redefinition of macro BROKEN_SPRINTF.
cc: "/usr/include/sys/unistd.h", line 219: error 1711: Inconsistent parameter list declaration for "getopt".
cc: "/usr/include/sys/unistd.h", line 235: error 1711: Inconsistent parameter list declaration for "getpass".
cc: "/usr/include/sys/unistd.h", line 238: error 1711: Inconsistent parameter list declaration for "rename".
*** Error exit code 1

Stop.
*** Error exit code 1


Thanks for your help.
Jeff

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-22 17:18 UTC] jeff dot wiseman at alliedsignal dot com
Some additional info I forgot to include:

During configure, the first "checking for broken sprintf" returns
"ok", but the second returns "broken".  Is this to be expected?

Jeff
 [1999-08-23 16:10 UTC] sas at cvs dot php dot net
This should be fixed in beta 2. 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC