Re: Wierd CVS Build problem with libmysql
| From: | Andi Gutmans | Date: | Mon, 06 Nov 2000 20:57:38 +0000 |
| Subject: | Re: Wierd CVS Build problem with libmysql | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37305@lists.php.net to get a copy of this message | ||
Jason,
Can you please give us a status after you check the issues Tim pointed out?
Thanks,
Andi
At 01:07 PM 11/6/00 -0500, Thimble Smith wrote:
On Mon, Nov 06, 2000 at 11:48:09AM -0800, Jason Greene wrote: Here is a copy of the make error when compiled with SUN cc version 5.0 for Solaris 2.7 sparc. "./my_sys.h", line 459: undefined or not a type: RETQSORTTYPE "./my_sys.h", line 459: syntax error before or at: qsort2 "./my_sys.h", line 460: warning: old-style declaration or incorrect type for: qsort2 cc: acomp failed for libmysql.c make: Fatal error: Command failed for target `libmysql.lo' Current working directory /nfs/archive/source/custom-builds/webhosting/webhosting_v2/webbuild/php4/e xt/mysql/libmysql make: Fatal error: Command failed for target `all-recursive' Are the qsort2 functions necessary? This is because the autoheader stuff wasn't rebuilt correctly. I'm not sure which scripts rebuild the needed files - buildconf or genfiles or what. Make sure that php_config.h.in has a line: #undef RETQSORTTYPE And make sure that you've got an updated ext/mysql/libmysql/acinclude.m4 that has MYSQL_TYPE_QSORT defined in it. Tim ----- Andi Gutmans <andi@zend.com> http://www.zend.com/__ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Tim Smith <tim@mysql.com>/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Development Team /_/ /_/\_, /___/\___\_\___/ Boone, NC USA<___/ www.mysql.com-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net