mysql40-server build error

ml at sd2i.com ml at sd2i.com
Sun Sep 25 14:57:06 PDT 2005


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.

ml at sd2i.com a écrit :
> 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
> 
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 



More information about the freebsd-ports mailing list