Subject: Re: 1.6.2 compile mysql-4.1.7 failed
To: Water NB <netbsd78@126.com>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 12/29/2004 16:21:35
--Signature=_Wed__29_Dec_2004_16_21_35_+0100_K/6jj7q4GerCHLf_
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
On Wed, 29 Dec 2004 22:55:15 +0800
Water NB <netbsd78@126.com> wrote:
> My netbsd is 1.6.2 and when I try to update mysql-4.1.7, it report error
> as below:
>
> Making all in libmysql_r
> gmake[2]: Entering directory
> `/usr/pkgsrc/databases/mysql4-client/work/mysql-4.1
> .7/libmysql_r'
> /bin/sh ../libtool --preserve-dup-deps --mode=compile cc
> -DDEFAULT_CHARSET_HOME=
> "\"/usr/pkg\"" -DDATADIR="\"/var/mysql\""
> -DSHAREDIR="\"/usr/pkg/share/mysql\""
> -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I../include -Dunix
> -I/usr/inclu
> de -O3 -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -I/usr/include -Dunix -c -o
> my_pthr
> ead.lo `test -f 'my_pthread.c' || echo './'`my_pthread.c
> cc -DDEFAULT_CHARSET_HOME=\"/usr/pkg\" -DDATADIR=\"/var/mysql\"
> -DSHAREDIR=\"/u
> sr/pkg/share/mysql\" -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I..
> -I../include -Dunix
> -O3 -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -c my_pthread.c -fPIC -DPIC -o
> .libs/my
> _pthread.o
> my_pthread.c: In function `my_pthread_setprio':
> my_pthread.c:37: storage size of `tmp_sched_param' isn't known
> my_pthread.c:40: `SCHED_OTHER' undeclared (first use in this function)
> my_pthread.c:40: (Each undeclared identifier is reported only once
> my_pthread.c:40: for each function it appears in.)
> my_pthread.c: In function `my_pthread_getprio':
> my_pthread.c:49: storage size of `tmp_sched_param' isn't known
> my_pthread.c: In function `my_pthread_attr_setprio':
> my_pthread.c:66: storage size of `tmp_sched_param' isn't known
> gmake[2]: *** [my_pthread.lo] Error 1
> gmake[2]: Leaving directory
> `/usr/pkgsrc/databases/mysql4-client/work/mysql-4.1.
> 7/libmysql_r'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/pkgsrc/databases/mysql4-client/work/mysql-4.1.
Make sure you have at least revision 1.21 of mysql4-client/Makefile.common,
it should compile fine with an up to date pkgsrc.
--Signature=_Wed__29_Dec_2004_16_21_35_+0100_K/6jj7q4GerCHLf_
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iD8DBQFB0st/ypkLYVDran0RAnfAAKCMbpT/SP6wefJXVGtNb6trDoLVfgCeIY8A
dzXyeGpYAyPvsVM0PmKt7rY=
=GQ0H
-----END PGP SIGNATURE-----
--Signature=_Wed__29_Dec_2004_16_21_35_+0100_K/6jj7q4GerCHLf_--