Date: Thu, 8 Aug 2002 15:20:28 -0500 From: Charlie Root <root@energistic.com> To: Beech Rintoul <akbeech@anchoragerescue.org> Cc: Dan Nelson <dnelson@allantgroup.com>, freebsd-current@FreeBSD.ORG Subject: Re: mysql-server build errors Message-ID: <20020808202028.GA17275@energistic.com> In-Reply-To: <20020808200545.47DA52DD@nebula.anchoragerescue.org> References: <20020808190116.85FBF2DD@nebula.anchoragerescue.org> <20020808195041.GF64413@dan.emsphone.com> <20020808200545.47DA52DD@nebula.anchoragerescue.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808202028.GA17275>