|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-03-04 22:12 UTC] 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...
srman@bcline.com
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 09:00:02 2025 UTC |
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