Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 14:50:41 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mysql-server build errors
Message-ID:  <20020808195041.GF64413@dan.emsphone.com>
In-Reply-To: <20020808190116.85FBF2DD@nebula.anchoragerescue.org>
References:  <20020808190116.85FBF2DD@nebula.anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808195041.GF64413>