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

Jeremy C. Reed reed at reedmedia.net
Mon Aug 29 21:43:47 PDT 2005


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?

 Jeremy C. Reed

p.s. I have over 2600 pkgsrc packages packaged for DragonFly.





More information about the Users mailing list