php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20145 ext/standard/basic_functions.c fails to compile
Submitted: 2002-10-29 05:16 UTC Modified: 2002-10-29 05:26 UTC
From: mrm1 at msm dot cam dot ac dot uk Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0-pre2 OS: Sun Solaris 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mrm1 at msm dot cam dot ac dot uk
New email:
PHP Version: OS:

 

 [2002-10-29 05:16 UTC] mrm1 at msm dot cam dot ac dot uk
Compiling with gcc 3.0.4, having compiled and installed Apache 2.0.43.  ext/standard/basic_functions.c fails to compile with the following messages (the libtool command line comes first for reference).  Hope this is useful!  Obviously please ask for any other information you might require.

Mark

/bin/sh libtool --silent --mode=compile gcc  -Iext/standard/ -I/local/src/php-4.3.0pre2/ext/standard/ -DPHP_ATOM_INC -I/local/src/php-4.3.0pre2/include -I/local/src/php-4.3.0pre2/main -I/local/src/php-4.3.0pre2 -I/local/etc/apache-2.0.43/include -I/local/src/php-4.3.0pre2/Zend -I/local/mysql/include -I/local/src/php-4.3.0pre2/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/local/src/php-4.3.0pre2/TSRM  -g -O2 -pthreads -DZTS  -prefer-pic -c /local/src/php-4.3.0pre2/ext/standard/basic_functions.c -o ext/standard/basic_functions.lo 

/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1377: warning: `struct option' declared inside parameter list
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1377: warning: its scope is only this definition or declaration, which is probably not what you want.
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c: In function `free_longopts':
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1382: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1382: increment of pointer to unknown structure
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1382: arithmetic on pointer to an incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1383: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c: In function `zif_getopt':
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1458: sizeof applied to an incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1470: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1474: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1477: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1482: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1483: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1484: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1487: increment of pointer to unknown structure
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1487: arithmetic on pointer to an incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1519: arithmetic on pointer to an incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1519: dereferencing pointer to incomplete type
/local/src/php-4.3.0pre2/ext/standard/basic_functions.c:1548: warning: passing arg 1 of `free_longopts' from incompatible pointer type
make: *** [ext/standard/basic_functions.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-29 05:26 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC