DragonFly BSD
DragonFly users List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mysql4-server and tcpd.h and too many arguments to function


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Tue, 30 Aug 2005 14:30:16 +0800

On 8/30/05, Jeremy C. Reed <reed@xxxxxxxxxxxxx> wrote:
> Building mysqld failed on DragonFly with:
> 
> mysqld.cc: In function `void* handle_connections_sockets(void*)':
> /usr/include/tcpd.h:138: error: too many arguments to function `void
> sock_host()'
> mysqld.cc:3649: error: at this point in file
> /usr/include/tcpd.h:76: error: too many arguments to function `int
> hosts_access()'
> mysqld.cc:3650: error: at this point in file
> /usr/include/tcpd.h:131: error: too many arguments to function `char*
> eval_client()'
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76076
> says header included with OS is broken
> 
> Mysql bug is at http://bugs.mysql.com/bug.php?id=599 but it is closed.
> 
> NetBSD (and OpenBSD) have modified the tcpd.h headers.
> http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libwrap/tcpd.h
> 
> FreeBSD patches the mysql source to use its own header.
> 
> I saw some old pkgsrc postings about this for various platforms.
> 
> Should pkgsrc fix this? Should mysql fix this? Or should DragonFly be
> fixed?

IMHO, we should fix these outdated function declarations in our base system.

Cheers,
sephe

> 
>   Jeremy C. Reed
> 
> p.s. I have over 2600 pkgsrc packages packaged for DragonFly.
> 


-- 
Live Free or Die




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]