From owner-freebsd-current Thu Aug 8 12:50:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93FC437B400 for ; Thu, 8 Aug 2002 12:50:47 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id F00B543E81 for ; Thu, 8 Aug 2002 12:50:46 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g78Jof1o006299; Thu, 8 Aug 2002 14:50:41 -0500 (CDT) (envelope-from dan) Date: Thu, 8 Aug 2002 14:50:41 -0500 From: Dan Nelson To: Beech Rintoul Cc: freebsd-current@FreeBSD.ORG Subject: Re: mysql-server build errors Message-ID: <20020808195041.GF64413@dan.emsphone.com> References: <20020808190116.85FBF2DD@nebula.anchoragerescue.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020808190116.85FBF2DD@nebula.anchoragerescue.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Aug 08), Beech Rintoul said: > Anyone have a pointer to get this to build? > cc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" > -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -c mysqld.cc > /usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)': > /usr/include/tcpd.h:137: too many arguments to function `void sock_host()' > mysqld.cc:2428: at this point in file It's a bug in the tcpwrappers headers; they declare functions with no parameters, and gcc rightfully complains about using them in c++ code. Remove the --with-libwrap line from the port Makefile as a workaround. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message