From owner-freebsd-ports@FreeBSD.ORG Fri Aug 11 01:31:02 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B57016A4DE for ; Fri, 11 Aug 2006 01:31:02 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB1C643D46 for ; Fri, 11 Aug 2006 01:31:01 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1GBLrU-000DBE-57; Fri, 11 Aug 2006 10:30:56 +0900 Message-ID: <44DBDDD0.1050203@micom.mng.net> Date: Fri, 11 Aug 2006 10:30:56 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Eric Schuele References: <44D93C41.8000604@computer.org> <44D95F37.8040303@micom.mng.net> <44DB3C9B.2000300@computer.org> In-Reply-To: <44DB3C9B.2000300@computer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports Subject: Re: problem building linuxthreads on RELENG_6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 01:31:02 -0000 Eric Schuele wrote: > On 08/08/2006 23:06, Ganbold wrote: >> Eric Schuele wrote: >>> Hello, >>> >>> I am trying to build MySQL with linuxthread support. The build is >>> failing within linuxthreads with the following error(s): >>> >>> cc -O -pipe -march=pentium4 -g -O2 -Wall -DCOMPILING_LINUXTHREADS >>> -I/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_21 >>> -I/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_21/sysdeps/i386 >>> -I/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_21/sysdeps/pthread >>> -I/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_21/sysdeps/unix/sysv/linux >>> -I/usr/src/lib/libc/stdtime -DLIBC_RCS -DLINUXTHREADS -D__USE_UNIX98 >>> -D__USE_XOPEN2K -D_STACK_GROWS_DOWN -DNEWLIBC -D_THREAD_SAFE >>> -I/usr/src/lib/libc/i386 >>> -I/usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_21/sysdeps/i386 >>> -c getnetby_r.c >>> getnetby_r.c:57: error: conflicting types for 'getnetbyaddr_r' >>> /usr/include/netdb.h:239: error: previous declaration of >>> 'getnetbyaddr_r' was here >>> >>> The README.FreeBSD says that linuxthreads is only intended to run on >>> 5-current or 4.x. Surely this is an outdated doc, right? >>> >>> I can get passed the error by fiddling with the conditional >>> compilations. But surely I should not have to. >>> >>> Is this a problem... or am I not supposed to be able to 'make >>> install clean' linuxthreads? >> I've got same problem yesterday when I tried to install linuxthreads >> from ports. >> Later installed binary package using pkg_add. > > you know... after my little bit twiddling... the compilation I made > did not seem to work. MySQL would hang when running > mysql_install_db. So then I removed it and used the package. But had > the same results. So then I bailed on linuxthreads and things seem to > work. > > So now I guess my question is.... what might I have done wrong? Are > you using linuxthreads for MySQL, or some other app? Initially I was following instruction at http://www.jail.se/freebsd.html to use Flash 7 with Firefox. Since Flash 7 is unstable with native browsers in FreeBSD, I gave up and using Linux Opera with flash which works fine. I'm not using linuxthreads right now, but will try patch from ume@ san. Ganbold > >> >> Ganbold >> >> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > >