#20145 [NEW]: ext/standard/basic_functions.c fails to compile
| From: | mrm1 at msm dot cam dot ac dot uk | Date: | Tue, 29 Oct 2002 11:16:39 +0000 |
| Subject: | #20145 [NEW]: ext/standard/basic_functions.c fails to compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-23627@lists.php.net to get a copy of this message | ||
From: mrm1@msm.cam.ac.uk
Operating system: Sun Solaris 9
PHP version: 4.3.0-pre2
PHP Bug Type: Compile Failure
Bug description: ext/standard/basic_functions.c fails to compile
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 bug report at http://bugs.php.net/?id=20145&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20145&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20145&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20145&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20145&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20145&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20145&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20145&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20145&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20145&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20145&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20145&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20145&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20145&r=isapi