Re: [PHP4BETA] Current CVS does not compile

From: Date: Sun, 19 Dec 1999 22:44:50 +0000
Subject: Re: [PHP4BETA] Current CVS does not compile
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8186@lists.php.net to get a copy of this message
That's actually unrelated. I committed a fix, if you could let me know whether it solves the problem it'll be great. Zeev At 00:41 20/12/1999 , Morten Hulden wrote:
Yusuf Goolamabbas wrote: I checked a fresh CVS of php4/Zend/TSRM and as per Sascha's suggestion have a separate build dir (phpbuild). The directory layout is like this /usr/local/src
              php4
                                  Zend
                                  TSRM
                                  phpbuild
I did a buildconf in php4 and the configure command in phpbuild. When I do a make. I get the following errors in internal_functions.c Looks very similar to what I was going to ask. My problem was the with pgsql. I also have a fresh CVS version. MHuMaking all in pgsql make[3]: Entering directory `/usr/local/src/php4/ext/pgsql' /bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../Zend -I../.. -I../../Zend -I/usr/local/apache/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/pgsql/include -I/usr/local/pgsql/include -I../.. -I../../Zend -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -mpentiumpro -malign-loops=2 -malign-jumps=2 -malign-functions=2 -Wall -Wstrict-prototypes -g -Wall -c pgsql.c In file included from ../../php.h:200,
                 from pgsql.c:28:
/usr/local/apache/include/http_config.h:97: warning: function declaration isn't a prototype
pgsql.c:42: `php_if_pg_connect' undeclared here (not in a function) pgsql.c:42: initializer element for `pgsql_functions[0].handler' is not constant pgsql.c:43: `php_if_pg_pconnect' undeclared here (not in a function) pgsql.c:43: initializer element for `pgsql_functions[1].handler' is not constant pgsql.c:44: `php_if_pg_close' undeclared here (not in a function) pgsql.c:44: initializer element for `pgsql_functions[2].handler' is not constant pgsql.c:45: `php_if_pg_cmdtuples' undeclared here (not in a function) pgsql.c:45: initializer element for `pgsql_functions[3].handler' is not constant pgsql.c:46: `php_if_pg_dbname' undeclared here (not in a function) pgsql.c:46: initializer element for `pgsql_functions[4].handler' is not constant pgsql.c:47: `php_if_pg_errormessage' undeclared here (not in a function) pgsql.c:47: initializer element for `pgsql_functions[5].handler' is not constant pgsql.c:48: `php_if_pg_options' undeclared here (not in a function) pgsql.c:48: initializer element for `pgsql_functions[6].handler' is not constant pgsql.c:49: `php_if_pg_port' undeclared here (not in a function) pgsql.c:49: initializer element for `pgsql_functions[7].handler' is not constant pgsql.c:50: `php_if_pg_tty' undeclared here (not in a function) pgsql.c:50: initializer element for `pgsql_functions[8].handler' is not constant pgsql.c:51: `php_if_pg_host' undeclared here (not in a function) pgsql.c:51: initializer element for `pgsql_functions[9].handler' is not constant pgsql.c:52: `php_if_pg_exec' undeclared here (not in a function) pgsql.c:52: initializer element for `pgsql_functions[10].handler' is not constant pgsql.c:53: `php_if_pg_numrows' undeclared here (not in a function) pgsql.c:53: initializer element for `pgsql_functions[11].handler' is not constant pgsql.c:54: `php_if_pg_numfields' undeclared here (not in a function) pgsql.c:54: initializer element for `pgsql_functions[12].handler' is not constant pgsql.c:55: `php_if_pg_fieldname' undeclared here (not in a function) pgsql.c:55: initializer element for `pgsql_functions[13].handler' is not constant pgsql.c:56: `php_if_pg_fieldsize' undeclared here (not in a function) pgsql.c:56: initializer element for `pgsql_functions[14].handler' is not constant pgsql.c:57: `php_if_pg_fieldtype' undeclared here (not in a function) pgsql.c:57: initializer element for `pgsql_functions[15].handler' is not constant pgsql.c:58: `php_if_pg_fieldnum' undeclared here (not in a function) pgsql.c:58: initializer element for `pgsql_functions[16].handler' is not constant pgsql.c:59: `php_if_pg_result' undeclared here (not in a function) pgsql.c:59: initializer element for `pgsql_functions[17].handler' is not constant pgsql.c:60: `php_if_pg_fetch_row' undeclared here (not in a function) pgsql.c:60: initializer element for `pgsql_functions[18].handler' is not constant pgsql.c:61: `php_if_pg_fetch_array' undeclared here (not in a function) pgsql.c:61: initializer element for `pgsql_functions[19].handler' is not constant pgsql.c:62: `php_if_pg_fetch_object' undeclared here (not in a function) pgsql.c:62: initializer element for `pgsql_functions[20].handler' is not constant pgsql.c:63: `php_if_pg_fieldprtlen' undeclared here (not in a function) pgsql.c:63: initializer element for `pgsql_functions[21].handler' is not constant pgsql.c:64: `php_if_pg_fieldisnull' undeclared here (not in a function) pgsql.c:64: initializer element for `pgsql_functions[22].handler' is not constant pgsql.c:65: `php_if_pg_freeresult' undeclared here (not in a function) pgsql.c:65: initializer element for `pgsql_functions[23].handler' is not constant pgsql.c:66: `php_if_pg_getlastoid' undeclared here (not in a function) pgsql.c:66: initializer element for `pgsql_functions[24].handler' is not constant pgsql.c:67: `php_if_pg_locreate' undeclared here (not in a function) pgsql.c:67: initializer element for `pgsql_functions[25].handler' is not constant pgsql.c:68: `php_if_pg_lounlink' undeclared here (not in a function) pgsql.c:68: initializer element for `pgsql_functions[26].handler' is not constant pgsql.c:69: `php_if_pg_loopen' undeclared here (not in a function) pgsql.c:69: initializer element for `pgsql_functions[27].handler' is not constant pgsql.c:70: `php_if_pg_loclose' undeclared here (not in a function) pgsql.c:70: initializer element for `pgsql_functions[28].handler' is not constant pgsql.c:71: `php_if_pg_loread' undeclared here (not in a function) pgsql.c:71: initializer element for `pgsql_functions[29].handler' is not constant pgsql.c:72: `php_if_pg_write' undeclared here (not in a function) pgsql.c:72: initializer element for `pgsql_functions[30].handler' is not constant pgsql.c:73: `php_if_pg_loreadall' undeclared here (not in a function) pgsql.c:73: initializer element for `pgsql_functions[31].handler' is not constant pgsql.c:125: warning: function declaration isn't a prototype make[3]: *** [pgsql.lo] Error 1 make[3]: Leaving directory `/usr/local/src/php4/ext/pgsql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/php4/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/php4' make: *** [all-recursive-am] Error 2 -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#8186) next »