portupgrade for MySQL errors with undefined reference to a number of pthreads?

Andrew Naber anaber at gmail.com
Fri Nov 4 20:01:51 PST 2005


I apologize as I am very ignorant and clueless as to what any of this
means.  I know it translates into the port didn't upgrade and that is
about it.  Your help is appreciated.  Thank you.

ibmystrings.a -lcrypt -lm
/var/tmp//ccN9aSj0.o: In function `thr_alarm':
/var/tmp//ccN9aSj0.o(.text+0x343): undefined reference to `pthread_equal'
/var/tmp//ccN9aSj0.o(.text+0x366): undefined reference to `pthread_kill'
/var/tmp//ccN9aSj0.o: In function `process_alarm_part2':
/var/tmp//ccN9aSj0.o(.text+0x580): undefined reference to `pthread_equal'
/var/tmp//ccN9aSj0.o(.text+0x597): undefined reference to `pthread_kill'
/var/tmp//ccN9aSj0.o(.text+0x637): undefined reference to `pthread_equal'
/var/tmp//ccN9aSj0.o(.text+0x64e): undefined reference to `pthread_kill'
/var/tmp//ccN9aSj0.o: In function `end_thr_alarm':
/var/tmp//ccN9aSj0.o(.text+0x73f): undefined reference to `pthread_equal'
/var/tmp//ccN9aSj0.o(.text+0x766): undefined reference to `pthread_kill'
/var/tmp//ccN9aSj0.o(.text+0x7c4): undefined reference to
`pthread_cond_timedwait'
/var/tmp//ccN9aSj0.o: In function `thr_alarm_kill':
/var/tmp//ccN9aSj0.o(.text+0x894): undefined reference to `pthread_equal'
/var/tmp//ccN9aSj0.o(.text+0x8d3): undefined reference to `pthread_kill'
/var/tmp//ccN9aSj0.o: In function `main':
/var/tmp//ccN9aSj0.o(.text+0x10b0): undefined reference to `pthread_attr_init'
/var/tmp//ccN9aSj0.o(.text+0x10c3): undefined reference to
`pthread_attr_setscope'
/var/tmp//ccN9aSj0.o(.text+0x10d6): undefined reference to
`pthread_attr_setdetachstate'
/var/tmp//ccN9aSj0.o(.text+0x10e9): undefined reference to
`pthread_attr_setstacksize'
/var/tmp//ccN9aSj0.o(.text+0x1117): undefined reference to `pthread_create'
/var/tmp//ccN9aSj0.o(.text+0x1156): undefined reference to
`pthread_attr_setscope'
/var/tmp//ccN9aSj0.o(.text+0x11b6): undefined reference to `pthread_create'
/var/tmp//ccN9aSj0.o(.text+0x11ff): 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/mysql41-server/work/mysql-4.1.15/mysys.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.15.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server/work/mysql-4.1.15.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade14837.1 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! databases/mysql41-server (mysql-server-4.1.9) (linker error)
--->  Packages processed: 1 done, 0 ignored, 0 skipped and 1 failed


More information about the freebsd-ports mailing list