Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 12:05:35 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        freebsd-hackers@freebsd.org
Subject:   mysql-4.0.18 build problem in FreeBSD-5.2-CURRENT
Message-ID:  <6.0.3.0.2.20040312120317.02acf008@202.179.0.80>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.3.0.2.20040312120317.02acf008>