Hello, The File sql/mysqld.cc declares to variables allow_severity and deny_severity. This two variables are allredy defined in /usr/include/tcpd.h provided by tcp-wrappers. as a fast pacth you can use this one: --------------------- snipp --------------- diff -Naur orig/sql/mysqld.cc new/sql/mysqld.cc --- orig/sql/mysqld.cc 2003-06-10 22:22:10.000000000 +0200 +++ new/sql/mysqld.cc 2003-06-10 22:21:38.000000000 +0200 @@ -101,8 +101,8 @@ #ifdef NEED_SYS_SYSLOG_H #include <sys/syslog.h> #endif /* NEED_SYS_SYSLOG_H */ -int allow_severity = LOG_INFO; -int deny_severity = LOG_WARNING; +//int allow_severity = LOG_INFO; +//int deny_severity = LOG_WARNING; #ifdef __STDC__ #define my_fromhost(A) fromhost(A) -------- snipp ------------------- or remove line 104 and line 105 foem sql/mysqld.cc bye bernd
I need a GCC3.3 box to test this on, so I'll sort it out then.
Fixed in CVS.
is this patch still needed ? with the following packages i was able to emerge with and without the patch: dev-db/mysql-4.0.17 sys-apps/tcp-wrappers-7.6-r7 sys-devel/gcc-3.3.2-r4
I believe tcp-wrappers or something else got a patch that fixed it in a different way.