Subject: Uh-oh in building mysql-server-3.23.49nb3
To: None <>
From: Tld <>
List: tech-pkg
Date: 02/11/2003 14:05:48
I have troubles compiling pkgsrc's mysql-server-3.23.49nb3, could please 
somebody hint me the right way?

During "make" phase I get this:

my_pthread.c: In function `my_pthread_setprio':
my_pthread.c:40: storage size of `tmp_sched_param' isn't known
my_pthread.c:43: `SCHED_OTHER' undeclared (first use in this function)
my_pthread.c:43: (Each undeclared identifier is reported only once
my_pthread.c:43: for each function it appears in.)
my_pthread.c: In function `my_pthread_getprio':
my_pthread.c:52: storage size of `tmp_sched_param' isn't known
my_pthread.c: In function `my_pthread_attr_setprio':
my_pthread.c:69: storage size of `tmp_sched_param' isn't known
gmake[2]: *** [my_pthread.o] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp2/databases/mysql-server/work/mysql-3.23.49'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/databases/mysql-server
*** Error code 1

make: stopped in /usr/pkgsrc/databases/mysql-server

# uname -a
NetBSD 1.6 NetBSD 1.6 (DEVEL) #6: Sun Feb  9 16:20:21 
GMT-1 2003 i386

What am I doing wrong?

Thank you for your help! :)

--- TLD
 > I have evil to make function freenet