mysql-4.0.18 build problem in FreeBSD-5.2-CURRENT

Ganbold ganbold at micom.mng.net
Thu Mar 11 20:00:54 PST 2004


Hi all,

Today I wanted to upgrade mysql-4.0.17 to mysql-4.0.18 in 
FreeBSD-5.2-CURRENT and got error below.
I did updated FreeBSD on March 3 2004 using cvsup.

I used following options to compile mysql from ports collection:

make WITH_CHARSET=cp1251 WITH_LINUXTHREADS=yes BUILD_STATIC=yes install

Error message:
---------------------------------------------------------------------------------------------------------------------------------------------
/usr/lib/libc.a(res_init.o): In function `__h_error':
res_init.o(.text+0x1104): multiple definition of `__h_error'
/usr/local/lib/liblthread.a(errno.o):/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_14/errno.c:29: 
first defined here
/usr/bin/ld: Warning: size of symbol `__h_error' changed from 88 to 36 in 
/usr/lib/libc.a(res_init.o)
*** Error code 1

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

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

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

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

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

Stop in /usr/ports/databases/mysql40-server.
---------------------------------------------------------------------------------------------------------------

What should I do in this case? Is there anybody solved this problem before?
Linuxthreads is installed from ports collection.

tia,

Ganbold



More information about the freebsd-hackers mailing list