From:             srman at bcline dot com
Operating system: Sun Solaris 5.8
PHP version:      4.3.1
PHP Bug Type:     Compile Failure
Bug description:  after configure, making error

/usr/local/bin> gcc -v
Reading specs from ./../lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/specs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld : (reconfigured) ../configure
--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 3.0.3

/usr/local/bin> flex -V
flex version 2.5.4

/usr/local/bin> autoconf -V
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

/usr/local/bin> make -v
GNU Make 3.80

/seagate/php/php-4.3.1> CC=gcc ./configure
--with-oci8=/usr/local/oracle8/u01/app/oracle/product/8.1.7
--with-nsapi=/usr/local/server63 --enable-tack-vars=yes --enable-libgcc
....
....
Thank you for using PHP.

/seagate/php/php-4.3.1> make
/bin/sh libtool --silent --mode=compile gcc  -Iext/ctype/
-I/seagate/php/php-4.3.1/ext/ctype/ -DPHP_ATOM_INC
-I/seagate/php/php-4.3.1/include -I/seagate/php/php-4.3.1/main
-I/seagate/php/php-4.3.1 -I/usr/local/server63/plugins/include
-I/seagate/php/php-4.3.1/Zend
-I/usr/local/oracle8/u01/app/oracle/product/8.1.7/rdbms/public
-I/usr/local/oracle8/u01/app/oracle/product/8.1.7/rdbms/demo
-I/seagate/php/php-4.3.1/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/seagate/php/php-4.3.1/TSRM
-DTHREAD=1  -g -O2 -pthreads -DZTS  -prefer-pic -c
/seagate/php/php-4.3.1/ext/ctype/ctype.c -o ext/ctype/ctype.lo
In file included from /seagate/php/php-4.3.1/main/php_streams.h:28,
                 from /seagate/php/php-4.3.1/main/php.h:354,
                 from /seagate/php/php-4.3.1/ext/ctype/ctype.c:23:
/usr/include/sys/stat.h:258: parse error before "blksize_t"
/usr/include/sys/stat.h:262: parse error before '}' token
/usr/include/sys/stat.h:318: parse error before "blksize_t"
/usr/include/sys/stat.h:319: conflicting types for `st_blocks'
/usr/include/sys/stat.h:259: previous declaration of `st_blocks'
/usr/include/sys/stat.h:322: parse error before '}' token
In file included from /seagate/php/php-4.3.1/main/php.h:354,
                 from /seagate/php/php-4.3.1/ext/ctype/ctype.c:23:
/seagate/php/php-4.3.1/main/php_streams.h:110: field `sb' has incomplete
type
/seagate/php/php-4.3.1/main/php_streams.h:113: confused by earlier errors,
bailing out
*** Error code 1
make: Fatal error: Command failed for target `ext/ctype/ctype.lo'
/seagate/php/php-4.3.1> 

I can't solve this problem!
plz tell me why it is...
[EMAIL PROTECTED]

-- 
Edit bug report at http://bugs.php.net/?id=22543&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22543&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22543&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22543&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22543&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22543&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22543&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22543&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22543&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22543&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22543&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22543&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22543&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22543&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22543&r=gnused

Reply via email to