From owner-freebsd-current Thu Aug 8 13:20:42 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 30EA737B400 for ; Thu, 8 Aug 2002 13:20:39 -0700 (PDT) Received: from energistic.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4469943E5E for ; Thu, 8 Aug 2002 13:20:38 -0700 (PDT) (envelope-from steve@energistic.com) Received: from energistic.com (smmsp@localhost [127.0.0.1]) by energistic.com (8.12.5/8.12.5) with ESMTP id g78KKUxE093227; Thu, 8 Aug 2002 15:20:30 -0500 (EST) (envelope-from steve@energistic.com) Received: (from root@localhost) by energistic.com (8.12.5/8.12.5/Submit) id g78KKSrx092847; Thu, 8 Aug 2002 15:20:28 -0500 (EST) Date: Thu, 8 Aug 2002 15:20:28 -0500 From: Charlie Root To: Beech Rintoul Cc: Dan Nelson , freebsd-current@FreeBSD.ORG Subject: Re: mysql-server build errors Message-ID: <20020808202028.GA17275@energistic.com> References: <20020808190116.85FBF2DD@nebula.anchoragerescue.org> <20020808195041.GF64413@dan.emsphone.com> <20020808200545.47DA52DD@nebula.anchoragerescue.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020808200545.47DA52DD@nebula.anchoragerescue.org> 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 On Thu, Aug 08, 2002 at 12:05:44PM -0800, Beech Rintoul wrote: > On Thursday 08 August 2002 11:50 am, Dan Nelson wrote: > > 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. > > Thanks...That worked. Worked=mysql actually compiled? Or it got past that section? Removing --with-libwrap certainly gets past that section but on my system it still spews a lot of errors during the final link: item.o(.gnu.linkonce.d._ZTV9Item_buff+0x8): undefined reference to `__cxa_pure_v irtual' item.o(.gnu.linkonce.d._ZTV17Item_result_field+0x28): undefined reference to `__ cxa_pure_virtual' item.o(.gnu.linkonce.d._ZTV17Item_result_field+0x2c): undefined reference to `__ cxa_pure_virtual' item.o(.gnu.linkonce.d._ZTV17Item_result_field+0x30): undefined reference to `__ cxa_pure_virtual' item.o(.gnu.linkonce.d._ZTV17Item_result_field+0x34): undefined reference to `__ cxa_pure_virtual' item.o(.gnu.linkonce.d._ZTV17Item_result_field+0x38): more undefined references to `__cxa_pure_virtual' follow item_sum.o: In function `Item_sum_count_distinct::~Item_sum_count_distinct()': item_sum.o(.text+0x19c7): undefined reference to `operator delete[](void*)' item_sum.o(.text+0x19dc): undefined reference to `operator delete(void*)' item_sum.o: In function `Item_sum_count_distinct::~Item_sum_count_distinct()': item_sum.o(.text+0x1aa7): undefined reference to `operator delete[](void*)' item_sum.o(.text+0x1abc): undefined reference to `operator delete(void*)' item_sum.o: In function `Item_sum_count_distinct::~Item_sum_count_distinct()': item_sum.o(.text+0x1b87): undefined reference to `operator delete[](void*)' [list goes on for a while] This is with -CURRENT from today (8/8). -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message