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

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


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Mon, 29 Aug 2005 21:39:36 -0700 (PDT)

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.



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