Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 12:23:13 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mysql-server build errors
Message-ID:  <20020808202313.60D572DD@nebula.anchoragerescue.org>
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 Thursday 08 August 2002 12:05 pm, 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.
>
I spoke too soon :-(

Now it errors at:

sql_analyse.o: In function `proc_analyse_init(THD*, st_order*, 
select_result*, List<Item>&)':
sql_analyse.o(.text+0x1f): undefined reference to `operator new(unsigned)'
sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x10): undefined reference to 
`__cxa_pure_virtual'
sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x14): undefined reference to 
`__cxa_pure_virtual'
sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x18): undefined reference to 
`__cxa_pure_virtual'
sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x1c): undefined reference to 
`__cxa_pure_virtual'
sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x20): undefined reference to 
`__cxa_pure_virtual'
sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x24): more undefined 
references to `__cxa_pure_virtual' followsql_analyse.o: In function 
`analyse::~analyse()':
sql_analyse.o(.gnu.linkonce.t._ZN7analyseD0Ev+0x56): undefined reference to 
`operator delete(void*)'
collect2: ld returned 1 exit status
*** Error code 1

Beech
-- 
-------------------------------------------------------------------
Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org
/"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -----------------------------------------------------------------












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?20020808202313.60D572DD>