atom feed2 messages in org.freebsd.freebsd-portsmysql40-server build error
FromSent OnAttachments
ml...@sd2i.comSep 25, 2005 11:32 am 
ml...@sd2i.comSep 25, 2005 2:56 pm 
Subject:mysql40-server build error
From:ml...@sd2i.com (ml@sd2i.com)
Date:Sep 25, 2005 2:56:48 pm
List:org.freebsd.freebsd-ports

I've googled more and more and finally find that

portupgrade -M 'CFLAGS=-pthread' mysql-server

compile, install , and run without error, but i don't know what can be the reliability of such a version ? will it be as fast as the previous, and what about memory/cpu usage, etc.

We have about 5000q/m on a DELL PE650, and for one hour now all seems going fine.

BTW thanks to those that tell me to upgrade to 5.4 but it's impossible for us before next month.

Regards.

Hi,

i got the folowing error on a 5.2.1-RELEASE when doing a portupgrade from mysql-server-4.0.18_1 to 4.0.26 all my other ports are up-to-date (port tree retrieved this afternoon)

any idea ?

################################## here is the error ####################### pe -mcpu=pentiumpro -D_THREAD_SAFE -DMAIN ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lcrypt -lm /var/tmp//ccqMKqXZ.o: In function `thr_alarm': /var/tmp//ccqMKqXZ.o(.text+0x333): undefined reference to `pthread_equal' /var/tmp//ccqMKqXZ.o(.text+0x356): undefined reference to `pthread_kill' /var/tmp//ccqMKqXZ.o: In function `process_alarm_part2': /var/tmp//ccqMKqXZ.o(.text+0x570): undefined reference to `pthread_equal' /var/tmp//ccqMKqXZ.o(.text+0x587): undefined reference to `pthread_kill' /var/tmp//ccqMKqXZ.o(.text+0x627): undefined reference to `pthread_equal' /var/tmp//ccqMKqXZ.o(.text+0x63e): undefined reference to `pthread_kill' /var/tmp//ccqMKqXZ.o: In function `end_thr_alarm': /var/tmp//ccqMKqXZ.o(.text+0x72f): undefined reference to `pthread_equal' /var/tmp//ccqMKqXZ.o(.text+0x756): undefined reference to `pthread_kill' /var/tmp//ccqMKqXZ.o(.text+0x7b4): undefined reference to `pthread_cond_timedwait' /var/tmp//ccqMKqXZ.o: In function `thr_alarm_kill': /var/tmp//ccqMKqXZ.o(.text+0x884): undefined reference to `pthread_equal' /var/tmp//ccqMKqXZ.o(.text+0x8c3): undefined reference to `pthread_kill' /var/tmp//ccqMKqXZ.o: In function `main': /var/tmp//ccqMKqXZ.o(.text+0x10a0): undefined reference to `pthread_attr_init' /var/tmp//ccqMKqXZ.o(.text+0x10b3): undefined reference to `pthread_attr_setscope' /var/tmp//ccqMKqXZ.o(.text+0x10c6): undefined reference to `pthread_attr_setdetachstate' /var/tmp//ccqMKqXZ.o(.text+0x10d9): undefined reference to `pthread_attr_setstacksize' /var/tmp//ccqMKqXZ.o(.text+0x1107): undefined reference to `pthread_create' /var/tmp//ccqMKqXZ.o(.text+0x1146): undefined reference to `pthread_attr_setscope' /var/tmp//ccqMKqXZ.o(.text+0x11a6): undefined reference to `pthread_create' /var/tmp//ccqMKqXZ.o(.text+0x11ef): undefined reference to `pthread_attr_destroy' libmysys.a(my_pthread.o): In function `my_pthread_getprio': my_pthread.o(.text+0x1b): undefined reference to `pthread_getschedparam' libmysys.a(my_pthread.o): In function `my_pthread_attr_setprio': my_pthread.o(.text+0x4a): undefined reference to `pthread_attr_setschedparam' *** Error code 1

Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.26/mysys. *** Error code 1