ID:               22543
 User updated by:  srman at bcline dot com
 Reported By:      srman at bcline dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Sun Solaris 5.8
 PHP Version:      4.3.1
 New Comment:

As your recommanded, i upgraded with gcc3.2.2
So, It works well.
Thanks a lot!!!


Previous Comments:
------------------------------------------------------------------------

[2003-03-05 06:34:04] [EMAIL PROTECTED]

You really should upgrade to GCC 3.2 series.
And don't forget to upgrade the binutils too.



------------------------------------------------------------------------

[2003-03-04 23:10:15] srman at bcline dot com

Thanks...
But, the problem still occurs...

/seagate/php/php4-STABLE-200303050430> make
/bin/sh /seagate/php/php4-STABLE-200303050430/libtool --silent
--preserve-dup-deps --mode=compile
/seagate/php/php4-STABLE-200303050430/meta_ccld  -Iext/ctype/
-I/seagate/php/php4-STABLE-200303050430/ext/ctype/ -DPHP_ATOM_INC
-I/seagate/php/php4-STABLE-200303050430/include
-I/seagate/php/php4-STABLE-200303050430/main
-I/seagate/php/php4-STABLE-200303050430
-I/usr/local/server63/plugins/include
-I/seagate/php/php4-STABLE-200303050430/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/php4-STABLE-200303050430/ext/xml/expat 
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/seagate/php/php4-STABLE-200303050430/TSRM -DTHREAD=1  -g -O2
-pthreads -DZTS  -prefer-pic -c
/seagate/php/php4-STABLE-200303050430/ext/ctype/ctype.c -o
ext/ctype/ctype.lo
In file included from
/seagate/php/php4-STABLE-200303050430/main/php_streams.h:28,
                 from
/seagate/php/php4-STABLE-200303050430/main/php.h:354,
                 from
/seagate/php/php4-STABLE-200303050430/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/php4-STABLE-200303050430/main/php.h:354,
                 from
/seagate/php/php4-STABLE-200303050430/ext/ctype/ctype.c:23:
/seagate/php/php4-STABLE-200303050430/main/php_streams.h:110: field
`sb' has incomplete type
/seagate/php/php4-STABLE-200303050430/main/php_streams.h:113: confused
by earlier errors, bailing out
make: *** [ext/ctype/ctype.lo] Error 1

------------------------------------------------------------------------

[2003-03-04 22:35:07] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-03-04 22:12:46] srman at bcline dot com

/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 this bug report at http://bugs.php.net/?id=22543&edit=1

Reply via email to