Re: Wierd CVS Build problem with libmysql
| From: | Thimble Smith | Date: | Mon, 06 Nov 2000 18:07:09 +0000 |
| Subject: | Re: Wierd CVS Build problem with libmysql | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37290@lists.php.net to get a copy of this message | ||
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/ext/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
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Tim Smith <tim@mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Development Team
/_/ /_/\_, /___/\___\_\___/ Boone, NC USA
<___/ www.mysql.com