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

Sepherosa Ziehau sepherosa at gmail.com
Mon Aug 29 23:33:55 PDT 2005


On 8/30/05, Jeremy C. Reed <reed at 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






More information about the Users mailing list