CVS checked out as of 7.45 AM GMT Feb 1 2001
Platform RH 6.2 Linux 2.2.9

Configure script as follows

CFLAGS=-O2 ../php4/configure  \
--with-apache=../apache_1.3.17 \
--prefix=/usr/local/site/php \
--with-db2=/usr/local/site/BerkeleyDB \
--with-ldap=/usr/local/site/ldap \
--with-mhash \
--with-mcrypt \
--enable-calendar \
--enable-track-vars \
--enable-magic-quotes \
--enable-debug \

Error attached 

-- 
Yusuf Goolamabbas
[EMAIL PROTECTED]
Making all in Zend
make[1]: Entering directory `/usr/local/src/phpbuild/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/phpbuild/Zend'
Making all in main
make[1]: Entering directory `/usr/local/src/phpbuild/main'
make[2]: Entering directory `/usr/local/src/phpbuild/main'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/usr/local/src/phpbuild/main'
make[1]: Leaving directory `/usr/local/src/phpbuild/main'
Making all in ext
make[1]: Entering directory `/usr/local/src/phpbuild/ext'
Making all in calendar
make[2]: Entering directory `/usr/local/src/phpbuild/ext/calendar'
make[3]: Entering directory `/usr/local/src/phpbuild/ext/calendar'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/calendar'
make[2]: Leaving directory `/usr/local/src/phpbuild/ext/calendar'
Making all in dba
make[2]: Entering directory `/usr/local/src/phpbuild/ext/dba'
make[3]: Entering directory `/usr/local/src/phpbuild/ext/dba'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/dba'
make[2]: Leaving directory `/usr/local/src/phpbuild/ext/dba'
Making all in ldap
make[2]: Entering directory `/usr/local/src/phpbuild/ext/ldap'
make[3]: Entering directory `/usr/local/src/phpbuild/ext/ldap'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/ldap'
make[2]: Leaving directory `/usr/local/src/phpbuild/ext/ldap'
Making all in mcrypt
make[2]: Entering directory `/usr/local/src/phpbuild/ext/mcrypt'
make[3]: Entering directory `/usr/local/src/phpbuild/ext/mcrypt'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/mcrypt'
make[2]: Leaving directory `/usr/local/src/phpbuild/ext/mcrypt'
Making all in mhash
make[2]: Entering directory `/usr/local/src/phpbuild/ext/mhash'
make[3]: Entering directory `/usr/local/src/phpbuild/ext/mhash'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/mhash'
make[2]: Leaving directory `/usr/local/src/phpbuild/ext/mhash'
Making all in mysql
make[2]: Entering directory `/usr/local/src/phpbuild/ext/mysql'
Making all in libmysql
make[3]: Entering directory `/usr/local/src/phpbuild/ext/mysql/libmysql'
make[4]: Entering directory `/usr/local/src/phpbuild/ext/mysql/libmysql'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/usr/local/src/phpbuild/ext/mysql/libmysql'
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/mysql/libmysql'
make[3]: Entering directory `/usr/local/src/phpbuild/ext/mysql'
gcc  -I. -I/usr/local/src/php4/ext/mysql -I/usr/local/src/phpbuild/main 
-I/usr/local/src/php4 -I/usr/local/src/apache_1.3.17/src/include 
-I/usr/local/src/apache_1.3.17/src/os/unix -I/usr/local/src/phpbuild/Zend 
-I/usr/local/site/BerkeleyDB/include -I/usr/local/site/ldap/include 
-I/usr/local/include -I/usr/local/src/php4/ext/mysql/libmysql 
-I/usr/local/src/php4/ext/xml/expat/xmltok 
-I/usr/local/src/php4/ext/xml/expat/xmlparse -I/usr/local/src/phpbuild/TSRM 
-I/usr/local/src/php4/main -I/usr/local/src/php4/Zend -I/usr/local/src/php4/TSRM  
-DXML_BYTE_ORDER=12 -O2 -g -Wall  -c /usr/local/src/php4/ext/mysql/php_mysql.c && 
touch php_mysql.lo
/usr/local/src/php4/ext/mysql/php_mysql.c:1: parse error before `3'
In file included from /usr/include/stdio.h:57,
                 from /usr/local/src/php4/Zend/zend.h:34,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/libio.h:263: parse error before `size_t'
/usr/include/libio.h:272: parse error before `size_t'
/usr/include/libio.h:368: parse error before `_IO_sgetn'
/usr/include/libio.h:368: parse error before `size_t'
/usr/include/libio.h:368: warning: data definition has no type or storage class
In file included from /usr/local/src/php4/Zend/zend.h:34,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/stdio.h:237: parse error before `size_t'
/usr/include/stdio.h:243: parse error before `size_t'
/usr/include/stdio.h:273: parse error before `size_t'
/usr/include/stdio.h:277: parse error before `size_t'
/usr/include/stdio.h:281: parse error before `size_t'
/usr/include/stdio.h:446: parse error before `fread'
/usr/include/stdio.h:446: parse error before `size_t'
/usr/include/stdio.h:447: warning: data definition has no type or storage class
/usr/include/stdio.h:449: parse error before `fwrite'
/usr/include/stdio.h:449: parse error before `size_t'
/usr/include/stdio.h:450: warning: data definition has no type or storage class
/usr/include/stdio.h:454: parse error before `fread_unlocked'
/usr/include/stdio.h:454: parse error before `size_t'
/usr/include/stdio.h:455: warning: data definition has no type or storage class
/usr/include/stdio.h:456: parse error before `fwrite_unlocked'
/usr/include/stdio.h:457: parse error before `size_t'
/usr/include/stdio.h:458: warning: data definition has no type or storage class
In file included from /usr/local/src/phpbuild/Zend/../main/php_config.h:1778,
                 from /usr/local/src/phpbuild/Zend/zend_config.h:1,
                 from /usr/local/src/php4/Zend/zend.h:44,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/stdlib.h:80: parse error before `__ctype_get_mb_cur_max'
/usr/include/stdlib.h:80: warning: data definition has no type or storage class
In file included from /usr/local/src/phpbuild/Zend/../main/php_config.h:1778,
                 from /usr/local/src/phpbuild/Zend/zend_config.h:1,
                 from /usr/local/src/php4/Zend/zend.h:44,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/stdlib.h:356: parse error before `size_t'
/usr/include/stdlib.h:386: parse error before `size_t'
/usr/include/stdlib.h:474: parse error before `__size'
/usr/include/stdlib.h:476: parse error before `__nmemb'
/usr/include/stdlib.h:482: parse error before `size_t'
In file included from /usr/include/stdlib.h:492,
                 from /usr/local/src/phpbuild/Zend/../main/php_config.h:1778,
                 from /usr/local/src/phpbuild/Zend/zend_config.h:1,
                 from /usr/local/src/php4/Zend/zend.h:44,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/alloca.h:33: parse error before `__size'
In file included from /usr/local/src/phpbuild/Zend/../main/php_config.h:1778,
                 from /usr/local/src/phpbuild/Zend/zend_config.h:1,
                 from /usr/local/src/php4/Zend/zend.h:44,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/stdlib.h:497: parse error before `__size'
/usr/include/stdlib.h:613: parse error before `size_t'
/usr/include/stdlib.h:618: parse error before `size_t'
/usr/include/stdlib.h:678: parse error before `size_t'
/usr/include/stdlib.h:681: parse error before `size_t'
/usr/include/stdlib.h:685: parse error before `size_t'
/usr/include/stdlib.h:688: parse error before `size_t'
/usr/include/stdlib.h:695: parse error before `size_t'
/usr/include/stdlib.h:699: parse error before `size_t'
/usr/include/stdlib.h:706: parse error before `mbstowcs'
/usr/include/stdlib.h:707: parse error before `size_t'
/usr/include/stdlib.h:707: warning: data definition has no type or storage class
/usr/include/stdlib.h:709: parse error before `wcstombs'
/usr/include/stdlib.h:710: parse error before `size_t'
/usr/include/stdlib.h:710: warning: data definition has no type or storage class
In file included from /usr/local/src/phpbuild/Zend/../main/php_config.h:1786,
                 from /usr/local/src/phpbuild/Zend/zend_config.h:1,
                 from /usr/local/src/php4/Zend/zend.h:44,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/string.h:38: parse error before `size_t'
/usr/include/string.h:42: parse error before `size_t'
/usr/include/string.h:49: parse error before `size_t'
/usr/include/string.h:54: parse error before `size_t'
/usr/include/string.h:58: parse error before `size_t'
/usr/include/string.h:61: parse error before `size_t'
/usr/include/string.h:75: parse error before `size_t'
/usr/include/string.h:82: parse error before `size_t'
/usr/include/string.h:87: parse error before `size_t'
/usr/include/string.h:92: parse error before `strxfrm'
/usr/include/string.h:93: parse error before `size_t'
/usr/include/string.h:93: warning: data definition has no type or storage class
/usr/include/string.h:158: parse error before `strcspn'
/usr/include/string.h:158: warning: data definition has no type or storage class
/usr/include/string.h:161: parse error before `strspn'
/usr/include/string.h:161: warning: data definition has no type or storage class
/usr/include/string.h:207: parse error before `strlen'
/usr/include/string.h:207: warning: data definition has no type or storage class
/usr/include/string.h:221: parse error before `size_t'
/usr/include/string.h:222: parse error before `size_t'
/usr/include/string.h:227: parse error before `size_t'
/usr/include/string.h:231: parse error before `size_t'
/usr/include/string.h:234: parse error before `size_t'
/usr/include/string.h:237: parse error before `size_t'
/usr/include/string.h:266: parse error before `size_t'
In file included from /usr/include/string.h:346,
                 from /usr/local/src/phpbuild/Zend/../main/php_config.h:1786,
                 from /usr/local/src/phpbuild/Zend/zend_config.h:1,
                 from /usr/local/src/php4/Zend/zend.h:44,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/bits/string2.h:397: parse error before `size_t'
/usr/include/bits/string2.h:402: parse error before `size_t'
/usr/include/bits/string2.h: In function `__strcpy_small':
/usr/include/bits/string2.h:408: `__dest' undeclared (first use in this function)
/usr/include/bits/string2.h:408: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:408: for each function it appears in.)
/usr/include/bits/string2.h:409: `__srclen' undeclared (first use in this function)
/usr/include/bits/string2.h:415: `__src0_2' undeclared (first use in this function)
/usr/include/bits/string2.h:423: `__src0_4' undeclared (first use in this function)
/usr/include/bits/string2.h:433: `__src4_2' undeclared (first use in this function)
/usr/include/bits/string2.h:445: `__src4_4' undeclared (first use in this function)
/usr/include/bits/string2.h:412: warning: unreachable code at beginning of switch 
statement
/usr/include/bits/string2.h:449: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:873: parse error before `__strcspn_c1'
/usr/include/bits/string2.h:873: warning: data definition has no type or storage class
/usr/include/bits/string2.h:875: parse error before `__strcspn_c1'
/usr/include/bits/string2.h: In function `__strcspn_c1':
/usr/include/bits/string2.h:877: syntax error before `__result'
/usr/include/bits/string2.h:878: `__result' undeclared (first use in this function)
/usr/include/bits/string2.h:881: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:883: parse error before `__strcspn_c2'
/usr/include/bits/string2.h:884: warning: data definition has no type or storage class
/usr/include/bits/string2.h:886: parse error before `__strcspn_c2'
/usr/include/bits/string2.h: In function `__strcspn_c2':
/usr/include/bits/string2.h:888: syntax error before `__result'
/usr/include/bits/string2.h:889: `__result' undeclared (first use in this function)
/usr/include/bits/string2.h:893: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:895: parse error before `__strcspn_c3'
/usr/include/bits/string2.h:896: warning: data definition has no type or storage class
/usr/include/bits/string2.h:898: parse error before `__strcspn_c3'
/usr/include/bits/string2.h: In function `__strcspn_c3':
/usr/include/bits/string2.h:901: syntax error before `__result'
/usr/include/bits/string2.h:902: `__result' undeclared (first use in this function)
/usr/include/bits/string2.h:906: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:928: parse error before `__strspn_c1'
/usr/include/bits/string2.h:928: warning: data definition has no type or storage class
/usr/include/bits/string2.h:930: parse error before `__strspn_c1'
/usr/include/bits/string2.h: In function `__strspn_c1':
/usr/include/bits/string2.h:932: syntax error before `__result'
/usr/include/bits/string2.h:934: `__result' undeclared (first use in this function)
/usr/include/bits/string2.h:937: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:939: parse error before `__strspn_c2'
/usr/include/bits/string2.h:940: warning: data definition has no type or storage class
/usr/include/bits/string2.h:942: parse error before `__strspn_c2'
/usr/include/bits/string2.h: In function `__strspn_c2':
/usr/include/bits/string2.h:944: syntax error before `__result'
/usr/include/bits/string2.h:946: `__result' undeclared (first use in this function)
/usr/include/bits/string2.h:949: warning: control reaches end of non-void function
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:951: parse error before `__strspn_c3'
/usr/include/bits/string2.h:952: warning: data definition has no type or storage class
/usr/include/bits/string2.h:954: parse error before `__strspn_c3'
/usr/include/bits/string2.h: In function `__strspn_c3':
/usr/include/bits/string2.h:956: syntax error before `__result'
/usr/include/bits/string2.h:958: `__result' undeclared (first use in this function)
/usr/include/bits/string2.h:962: warning: control reaches end of non-void function
/usr/include/bits/string2.h: In function `__strpbrk_c2':
/usr/include/bits/string2.h:991: `size_t' undeclared (first use in this function)
/usr/include/bits/string2.h:991: parse error before `__s'
/usr/include/bits/string2.h:992: warning: control reaches end of non-void function
/usr/include/bits/string2.h: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1004: `size_t' undeclared (first use in this function)
/usr/include/bits/string2.h:1004: parse error before `__s'
/usr/include/bits/string2.h:1005: warning: control reaches end of non-void function
/usr/include/bits/string2.h: In function `__strsep_g':
/usr/include/bits/string2.h:1171: `size_t' undeclared (first use in this function)
/usr/include/bits/string2.h:1171: parse error before `const'
/usr/include/bits/string2.h:1171: parse error before `const'
/usr/include/bits/string2.h:1171: parse error before `)'
/usr/include/bits/string2.h:1171: warning: unused variable `__a2'
/usr/include/bits/string2.h:1171: warning: unused variable `__a1'
/usr/include/bits/string2.h:1171: warning: unused variable `__a0'
/usr/include/bits/string2.h:1171: void value not ignored as it ought to be
/usr/local/src/php4/Zend/zend_alloc.h: At top level:
In file included from /usr/local/src/php4/Zend/zend.h:135,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend_alloc.h:79: parse error before `size'
/usr/local/src/php4/Zend/zend_alloc.h:81: parse error before `nmemb'
/usr/local/src/php4/Zend/zend_alloc.h:82: parse error before `size_t'
In file included from /usr/local/src/php4/Zend/zend.h:149,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend_hash.h:37: parse error before `size_t'
In file included from /usr/local/src/php4/Zend/zend.h:150,
                 from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend_llist.h:35: parse error before `size_t'
/usr/local/src/php4/Zend/zend_llist.h:35: warning: no semicolon at end of struct or 
union
/usr/local/src/php4/Zend/zend_llist.h:39: parse error before `}'
/usr/local/src/php4/Zend/zend_llist.h:39: warning: type defaults to `int' in 
declaration of `zend_llist'
/usr/local/src/php4/Zend/zend_llist.h:39: warning: data definition has no type or 
storage class
/usr/local/src/php4/Zend/zend_llist.h:49: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:49: `zend_llist_init' declared as function 
returning a function
/usr/local/src/php4/Zend/zend_llist.h:49: parse error before `unsigned'
/usr/local/src/php4/Zend/zend_llist.h:50: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:51: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:52: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:52: parse error before `)'
/usr/local/src/php4/Zend/zend_llist.h:53: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:54: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:55: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:56: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:57: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:58: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:58: parse error before `)'
/usr/local/src/php4/Zend/zend_llist.h:59: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:60: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:61: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:62: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:65: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:66: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:67: parse error before `*'
/usr/local/src/php4/Zend/zend_llist.h:68: parse error before `*'
In file included from /usr/local/src/php4/main/php.h:34,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend.h:196: parse error before `zend_llist'
/usr/local/src/php4/Zend/zend.h:196: warning: no semicolon at end of struct or union
/usr/local/src/php4/Zend/zend.h:197: warning: type defaults to `int' in declaration of 
`zend_property_reference'
/usr/local/src/php4/Zend/zend.h:197: warning: data definition has no type or storage 
class
/usr/local/src/php4/Zend/zend.h:222: parse error before `zend_property_reference'
/usr/local/src/php4/Zend/zend.h:223: parse error before `*'
/usr/local/src/php4/Zend/zend.h:224: parse error before `*'
In file included from /usr/local/src/php4/Zend/zend_globals.h:57,
                 from /usr/local/src/php4/Zend/zend_list.h:25,
                 from /usr/local/src/php4/Zend/zend_API.h:25,
                 from /usr/local/src/php4/main/php.h:37,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend_compile.h:180: parse error before `zend_llist'
/usr/local/src/php4/Zend/zend_compile.h:180: warning: no semicolon at end of struct or 
union
/usr/local/src/php4/Zend/zend_compile.h:182: parse error before `}'
/usr/local/src/php4/Zend/zend_compile.h:182: warning: type defaults to `int' in 
declaration of `list_llist_element'
/usr/local/src/php4/Zend/zend_compile.h:182: warning: data definition has no type or 
storage class
In file included from /usr/local/src/php4/Zend/zend_list.h:25,
                 from /usr/local/src/php4/Zend/zend_API.h:25,
                 from /usr/local/src/php4/main/php.h:37,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend_globals.h:78: parse error before `zend_llist'
/usr/local/src/php4/Zend/zend_globals.h:78: warning: no semicolon at end of struct or 
union
/usr/local/src/php4/Zend/zend_globals.h:79: warning: type defaults to `int' in 
declaration of `dimension_llist'
/usr/local/src/php4/Zend/zend_globals.h:79: warning: data definition has no type or 
storage class
/usr/local/src/php4/Zend/zend_globals.h:112: parse error before `open_files'
/usr/local/src/php4/Zend/zend_globals.h:112: warning: type defaults to `int' in 
declaration of `open_files'
/usr/local/src/php4/Zend/zend_globals.h:112: warning: data definition has no type or 
storage class
/usr/local/src/php4/Zend/zend_globals.h:120: parse error before `}'
In file included from /usr/local/src/php4/Zend/zend_API.h:29,
                 from /usr/local/src/php4/main/php.h:37,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/Zend/zend_execute.h:43: parse error before 
`zend_property_reference'
/usr/local/src/php4/Zend/zend_execute.h:43: warning: no semicolon at end of struct or 
union
/usr/local/src/php4/Zend/zend_execute.h:43: warning: no semicolon at end of struct or 
union
/usr/local/src/php4/Zend/zend_execute.h:47: parse error before `}'
/usr/local/src/php4/Zend/zend_execute.h:47: warning: type defaults to `int' in 
declaration of `EA'
/usr/local/src/php4/Zend/zend_execute.h:47: warning: data definition has no type or 
storage class
/usr/local/src/php4/Zend/zend_execute.h:48: parse error before `}'
/usr/local/src/php4/Zend/zend_execute.h:48: warning: type defaults to `int' in 
declaration of `temp_variable'
/usr/local/src/php4/Zend/zend_execute.h:48: warning: data definition has no type or 
storage class
/usr/local/src/php4/Zend/zend_execute.h:158: parse error before `temp_variable'
/usr/local/src/php4/Zend/zend_execute.h: In function 
`zend_assign_to_variable_reference':
/usr/local/src/php4/Zend/zend_execute.h:163: `value_ptr_ptr' undeclared (first use in 
this function)
/usr/local/src/php4/Zend/zend_execute.h:163: `variable_ptr_ptr' undeclared (first use 
in this function)
/usr/local/src/php4/Zend/zend_execute.h:203: `result' undeclared (first use in this 
function)
/usr/local/src/php4/Zend/zend_execute.h:204: `Ts' undeclared (first use in this 
function)
/usr/local/src/php4/regex/regex.h: At top level:
In file included from /usr/local/src/php4/main/php_regex.h:13,
                 from /usr/local/src/php4/main/php.h:63,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/regex/regex.h:20: parse error before `size_t'
/usr/local/src/php4/regex/regex.h:20: warning: no semicolon at end of struct or union
/usr/local/src/php4/regex/regex.h:23: parse error before `}'
/usr/local/src/php4/regex/regex.h:23: warning: type defaults to `int' in declaration 
of `regex_t'
/usr/local/src/php4/regex/regex.h:23: warning: data definition has no type or storage 
class
/usr/local/src/php4/regex/regex.h:31: parse error before `*'
/usr/local/src/php4/regex/regex.h:62: parse error before `php_regerror'
/usr/local/src/php4/regex/regex.h:62: warning: type defaults to `int' in declaration 
of `regex_t'
/usr/local/src/php4/regex/regex.h:62: parse error before `*'
/usr/local/src/php4/regex/regex.h:62: warning: type defaults to `int' in declaration 
of `php_regerror'
/usr/local/src/php4/regex/regex.h:62: warning: data definition has no type or storage 
class
/usr/local/src/php4/regex/regex.h:66: warning: type defaults to `int' in declaration 
of `regex_t'
/usr/local/src/php4/regex/regex.h:66: parse error before `*'
/usr/local/src/php4/regex/regex.h:76: parse error before `*'
In file included from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/main/php.h:103: parse error before `strlcpy'
/usr/local/src/php4/main/php.h:103: parse error before `size_t'
/usr/local/src/php4/main/php.h:103: warning: type defaults to `int' in declaration of 
`strlcpy'
/usr/local/src/php4/main/php.h:103: warning: data definition has no type or storage 
class
/usr/local/src/php4/main/php.h:107: parse error before `strlcat'
/usr/local/src/php4/main/php.h:107: parse error before `size_t'
/usr/local/src/php4/main/php.h:107: warning: type defaults to `int' in declaration of 
`strlcat'
/usr/local/src/php4/main/php.h:107: warning: data definition has no type or storage 
class
In file included from /usr/local/src/php4/main/php.h:131,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/unistd.h:300: parse error before `size_t'
/usr/include/unistd.h:301: parse error before `size_t'
/usr/include/unistd.h:304: parse error before `size_t'
/usr/include/unistd.h:305: parse error before `size_t'
/usr/include/unistd.h:419: parse error before `size_t'
In file included from /usr/local/src/php4/main/php.h:131,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/unistd.h:510: parse error before `confstr'
/usr/include/unistd.h:510: parse error before `size_t'
/usr/include/unistd.h:510: warning: data definition has no type or storage class
/usr/include/unistd.h:664: parse error before `size_t'
/usr/include/unistd.h:687: parse error before `size_t'
In file included from /usr/local/src/php4/main/php.h:131,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/unistd.h:733: parse error before `size_t'
/usr/include/unistd.h:737: parse error before `size_t'
/usr/include/unistd.h:747: parse error before `size_t'
/usr/include/unistd.h:748: parse error before `size_t'
/usr/include/unistd.h:769: parse error before `size_t'
In file included from /usr/local/src/php4/main/fopen-wrappers.h:23,
                 from /usr/local/src/php4/main/php.h:164,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/main/php_globals.h:107: parse error before `zend_llist'
/usr/local/src/php4/main/php_globals.h:107: warning: no semicolon at end of struct or 
union
/usr/local/src/php4/main/php_globals.h:127: parse error before `}'
In file included from /usr/local/src/php4/main/php.h:175,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/pwd.h:112: parse error before `size_t'
/usr/include/pwd.h:118: parse error before `size_t'
/usr/include/pwd.h:123: parse error before `size_t'
/usr/include/pwd.h:132: parse error before `size_t'
In file included from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/main/php.h:238: `data' redeclared as different kind of symbol
/usr/local/src/php4/Zend/zend_execute.h:44: previous declaration of `data'
/usr/local/src/php4/main/php.h:265: parse error before `size_t'
/usr/local/src/php4/main/php.h:265: parse error before `)'
In file included from /usr/local/src/php4/TSRM/tsrm_virtual_cwd.h:57,
                 from /usr/local/src/php4/main/php.h:288,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/dirent.h:293: parse error before `size_t'
In file included from /usr/local/src/php4/main/php.h:288,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/local/src/php4/TSRM/tsrm_virtual_cwd.h:98: parse error before `*'
/usr/local/src/php4/TSRM/tsrm_virtual_cwd.h:99: parse error before `size_t'
In file included from /usr/local/src/php4/main/php_reentrancy.h:29,
                 from /usr/local/src/php4/main/php.h:297,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:27:
/usr/include/time.h:135: parse error before `strftime'
/usr/include/time.h:135: parse error before `size_t'
/usr/include/time.h:137: warning: data definition has no type or storage class
In file included from /usr/local/src/php4/ext/mysql/php_mysql.c:31:
/usr/local/src/php4/ext/standard/php_string.h:96: parse error before `size_t'
/usr/local/src/php4/ext/standard/php_string.h:98: parse error before `size_t'
/usr/local/src/php4/ext/standard/php_string.h:99: parse error before `size_t'
/usr/local/src/php4/ext/standard/php_string.h:105: parse error before `size_t'
/usr/local/src/php4/ext/standard/php_string.h:107: parse error before `size_t'
/usr/local/src/php4/ext/standard/php_string.h:132: parse error before `php_strspn'
/usr/local/src/php4/ext/standard/php_string.h:132: warning: type defaults to `int' in 
declaration of `php_strspn'
/usr/local/src/php4/ext/standard/php_string.h:132: warning: data definition has no 
type or storage class
/usr/local/src/php4/ext/standard/php_string.h:133: parse error before `php_strcspn'
/usr/local/src/php4/ext/standard/php_string.h:133: warning: type defaults to `int' in 
declaration of `php_strcspn'
/usr/local/src/php4/ext/standard/php_string.h:133: warning: data definition has no 
type or storage class
In file included from /usr/include/signal.h:315,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:39:
/usr/include/bits/sigstack.h:54: parse error before `size_t'
/usr/include/bits/sigstack.h:54: warning: no semicolon at end of struct or union
/usr/include/bits/sigstack.h:55: warning: data definition has no type or storage class
In file included from /usr/include/netdb.h:30,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:45:
/usr/include/rpc/netdb.h:62: parse error before `size_t'
/usr/include/rpc/netdb.h:65: parse error before `size_t'
/usr/include/rpc/netdb.h:69: parse error before `size_t'
In file included from /usr/include/sys/socket.h:34,
                 from /usr/include/netdb.h:31,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:45:
/usr/include/bits/socket.h:210: parse error before `size_t'
/usr/include/bits/socket.h:210: warning: no semicolon at end of struct or union
/usr/include/bits/socket.h:213: parse error before `msg_controllen'
/usr/include/bits/socket.h:213: warning: data definition has no type or storage class
/usr/include/bits/socket.h:216: parse error before `}'
/usr/include/bits/socket.h:221: parse error before `size_t'
/usr/include/bits/socket.h:221: warning: no semicolon at end of struct or union
/usr/include/bits/socket.h:229: parse error before `}'
/usr/include/bits/socket.h: In function `__cmsg_nxthdr':
/usr/include/bits/socket.h:256: `size_t' undeclared (first use in this function)
/usr/include/bits/socket.h:256: parse error before `__cmsg'
/usr/include/bits/socket.h:261: dereferencing pointer to incomplete type
/usr/include/bits/socket.h:262: arithmetic on pointer to an incomplete type
/usr/include/bits/socket.h:262: dereferencing pointer to incomplete type
/usr/include/bits/socket.h:263: dereferencing pointer to incomplete type
/usr/include/bits/socket.h:264: dereferencing pointer to incomplete type
/usr/include/bits/socket.h:265: dereferencing pointer to incomplete type
/usr/include/bits/socket.h:265: dereferencing pointer to incomplete type
/usr/include/sys/socket.h: At top level:
In file included from /usr/include/netdb.h:31,
                 from /usr/local/src/php4/ext/mysql/php_mysql.c:45:
/usr/include/sys/socket.h:132: parse error before `size_t'
/usr/include/sys/socket.h:134: parse error before `size_t'
/usr/include/sys/socket.h:139: parse error before `size_t'
/usr/include/sys/socket.h:143: parse error before `size_t'
/usr/include/sys/socket.h:151: parse error before `size_t'
In file included from /usr/local/src/php4/ext/mysql/php_mysql.c:45:
/usr/include/netdb.h:116: parse error before `size_t'
/usr/include/netdb.h:134: parse error before `size_t'
/usr/include/netdb.h:138: parse error before `size_t'
/usr/include/netdb.h:147: parse error before `size_t'
/usr/include/netdb.h:153: parse error before `size_t'
/usr/include/netdb.h:203: parse error before `size_t'
/usr/include/netdb.h:209: parse error before `size_t'
/usr/include/netdb.h:215: parse error before `size_t'
/usr/include/netdb.h:255: parse error before `size_t'
/usr/include/netdb.h:261: parse error before `size_t'
/usr/include/netdb.h:266: parse error before `size_t'
/usr/include/netdb.h:301: parse error before `size_t'
/usr/include/netdb.h:306: parse error before `size_t'
/usr/include/netdb.h:311: parse error before `size_t'
/usr/include/netdb.h:337: parse error before `size_t'
/usr/include/netdb.h:435: parse error before `size_t'
/usr/local/src/php4/ext/mysql/php_mysql.c: In function `php_mysql_do_connect':
/usr/local/src/php4/ext/mysql/php_mysql.c:364: invalid use of undefined type `struct 
_php_core_globals'
/usr/local/src/php4/ext/mysql/php_mysql.c: In function `php_if_mysql_result':
/usr/local/src/php4/ext/mysql/php_mysql.c:1423: invalid use of undefined type `struct 
_php_core_globals'
/usr/local/src/php4/ext/mysql/php_mysql.c: In function `php_mysql_fetch_hash':
/usr/local/src/php4/ext/mysql/php_mysql.c:1526: invalid use of undefined type `struct 
_php_core_globals'
/usr/local/src/php4/ext/mysql/php_mysql.c: In function `php_mysql_field_info':
/usr/local/src/php4/ext/mysql/php_mysql.c:1838: `size_t' undeclared (first use in this 
function)
/usr/local/src/php4/ext/mysql/php_mysql.c:1838: parse error before `const'
/usr/local/src/php4/ext/mysql/php_mysql.c:1838: parse error before `const'
/usr/local/src/php4/ext/mysql/php_mysql.c:1838: parse error before `)'
/usr/local/src/php4/ext/mysql/php_mysql.c:1838: parse error before `:'
make[3]: *** [php_mysql.lo] Error 1
make[3]: Leaving directory `/usr/local/src/phpbuild/ext/mysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/phpbuild/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/phpbuild/ext'
make: *** [all-recursive] Error 1

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to