ports/86798: linker error when portupgrading databases/mysql40-server
Aaron Dalton
aaron at daltons.ca
Sat Oct 1 16:00:32 UTC 2005
>Number: 86798
>Category: ports
>Synopsis: linker error when portupgrading databases/mysql40-server
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 01 16:00:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Aaron Dalton
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross at chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386
>Description:
any attempt to #make the port results in the following errors.
>How-To-Repeat:
>Fix:
--- error.txt begins here ---
cc -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -o test_thr_alarm
-DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR=\"/var/db/mysql\"
-DDEFAULT_CHARSET_HOME=\"/usr/local\"
-DSHAREDIR=\"/usr/local/share/mysql\" -DHAVE_CONFIG_H -I./../include
-I../include -I.. -I. -DDBUG_OFF -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE
-DMAIN ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a
../strings/libmystrings.a -lz -lcrypt -lm
/var/tmp//ccH5QXxi.o: In function `thr_alarm':
/var/tmp//ccH5QXxi.o(.text+0x333): undefined reference to `pthread_equal'
/var/tmp//ccH5QXxi.o(.text+0x356): undefined reference to `pthread_kill'
/var/tmp//ccH5QXxi.o: In function `process_alarm_part2':
/var/tmp//ccH5QXxi.o(.text+0x570): undefined reference to `pthread_equal'
/var/tmp//ccH5QXxi.o(.text+0x587): undefined reference to `pthread_kill'
/var/tmp//ccH5QXxi.o(.text+0x627): undefined reference to `pthread_equal'
/var/tmp//ccH5QXxi.o(.text+0x63e): undefined reference to `pthread_kill'
/var/tmp//ccH5QXxi.o: In function `end_thr_alarm':
/var/tmp//ccH5QXxi.o(.text+0x72f): undefined reference to `pthread_equal'
/var/tmp//ccH5QXxi.o(.text+0x756): undefined reference to `pthread_kill'
/var/tmp//ccH5QXxi.o(.text+0x7b4): undefined reference to
`pthread_cond_timedwait'
/var/tmp//ccH5QXxi.o: In function `thr_alarm_kill':
/var/tmp//ccH5QXxi.o(.text+0x884): undefined reference to `pthread_equal'
/var/tmp//ccH5QXxi.o(.text+0x8c3): undefined reference to `pthread_kill'
/var/tmp//ccH5QXxi.o: In function `main':
/var/tmp//ccH5QXxi.o(.text+0x10a0): undefined reference to
`pthread_attr_init'
/var/tmp//ccH5QXxi.o(.text+0x10b3): undefined reference to
`pthread_attr_setscope'
/var/tmp//ccH5QXxi.o(.text+0x10c6): undefined reference to
`pthread_attr_setdetachstate'
/var/tmp//ccH5QXxi.o(.text+0x10d9): undefined reference to
`pthread_attr_setstacksize'
/var/tmp//ccH5QXxi.o(.text+0x1107): undefined reference to
`pthread_create'
/var/tmp//ccH5QXxi.o(.text+0x1146): undefined reference to
`pthread_attr_setscope'
/var/tmp//ccH5QXxi.o(.text+0x11a6): undefined reference to
`pthread_create'
/var/tmp//ccH5QXxi.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
Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.26.
*** Error code 1
Stop in /usr/ports/databases/mysql40-server/work/mysql-4.0.26.
*** Error code 1
Stop in /usr/ports/databases/mysql40-server.
--- error.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list