#20145 [Opn->Bgs]: ext/standard/basic_functions.c fails to compile
| From: | derick@php.net | Date: | Tue, 29 Oct 2002 11:26:09 +0000 |
| Subject: | #20145 [Opn->Bgs]: ext/standard/basic_functions.c fails to compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23628@lists.php.net to get a copy of this message | ||
ID: 20145
Updated by: derick@php.net
Reported By: mrm1@msm.cam.ac.uk
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Sun Solaris 9
PHP Version: 4.3.0-pre2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-10-29 05:16:39] mrm1@msm.cam.ac.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20145&edit=1