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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to