From owner-freebsd-ports@FreeBSD.ORG Wed Aug 9 01:37:07 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 1078016A4DA for ; Wed, 9 Aug 2006 01:37:07 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC7843D62 for ; Wed, 9 Aug 2006 01:37:06 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (rwcrmhc11) with ESMTP id <20060809013705m1100l6t2re>; Wed, 9 Aug 2006 01:37:05 +0000 Message-ID: <44D93C41.8000604@computer.org> Date: Tue, 08 Aug 2006 20:37:05 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: freebsd-ports Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Wed, 09 Aug 2006 01:37:07 -0000 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? -- Regards, Eric