From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 10:57:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD12516A41F for ; Tue, 20 Dec 2005 10:57:53 +0000 (GMT) (envelope-from valerio.daelli@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEDC543D5E for ; Tue, 20 Dec 2005 10:57:50 +0000 (GMT) (envelope-from valerio.daelli@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so1035105wxc for ; Tue, 20 Dec 2005 02:57:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=V+h50oFYxkFJ9cMqgO9N7JcI+rsTYPsX7r5x8RRsZaReWprVVatDhTKsKNcHwnkN9LATC7w+6gWg01u3VFrJzmW5f2/ZW8kUBWcw4NyZFveAHVXiD/lZNy0oHn23xEPgtHN3of/74u6dLpUhkiAVDrRoVCisnWLXseg7XB8oq/o= Received: by 10.70.36.8 with SMTP id j8mr5613028wxj; Tue, 20 Dec 2005 02:57:50 -0800 (PST) Received: by 10.70.68.4 with HTTP; Tue, 20 Dec 2005 02:57:50 -0800 (PST) Message-ID: <27dbfc8c0512200257k292a2f48h6bfee61d8569cebf@mail.gmail.com> Date: Tue, 20 Dec 2005 11:57:50 +0100 From: Valerio daelli To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Installing mysql 5 with linuxthreads from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 10:57:53 -0000 Hi I have problem installing mysql 50 on FreeBSD 5.4. I am trying to install it with linuxthreads and I keep getting these errors: $ cd /usr/ports/databases/mysql50-server $ make -DWITH_LINUXTHREADS -DDATA_DIR=3D/data/mysql CONFIGURE_ARGS=3D"--without-debug --without-readline \ --without-libedit --without-bench --without-extra-tools \ --with-libwrap --with-mysqlfs --with-vio --with-low-memory \ --enable-thread-safe-client --enable-assembler --without-berkeley-db \ --with-named-thread-libs=3D-pthread --prefix=3D/usr/local" install ..... if c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=3D"\"/usr/local\"" -DDATADIR=3D"\"/data/mysql\"" -DSHAREDIR=3D"\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=3D1000000 -MT mysqld.o -MD -MP -MF ".deps/mysqld.T= po" -c -o mysqld.o mysqld.cc; then mv -f ".deps/mysqld.Tpo" ".deps/mysqld.Po"; else rm -f ".deps/mysqld.Tpo"; exit 1; fi mysqld.cc: In function `int main(int, char**)': mysqld.cc:3266: error: `pthread_setprio' undeclared (first use this function) mysqld.cc:3266: error: (Each undeclared identifier is reported only once fo= r each function it appears in.) *** Error code 1 Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.16/sql. *** Error code 1 I found the definition of the function pthread_setprio in /usr/local/include/mysql/my_pthread.h. Does anybody how to fix this error? Thanks Valerio