On Fri, 2009-07-31 at 11:11 +0200, Graham Leggett wrote: > I find my_init() defined here: > > mysql/mysql_com.h > > /* Some other useful functions */ > > my_bool my_init(void); > > I suspect we may not be including this header.
We are not including mysql/mysql_com.h directly. MySQL 5.0 manual says: ------------- #include <my_global.h> #include <my_sys.h> ------------- MySQL 5.1 manual says: ------------- #include <my_global.h> #include <my_sys.h> ------------- We have: ------------- #ifdef HAVE_MY_GLOBAL_H #include <my_global.h> #elif defined(HAVE_MYSQL_MY_GLOBAL_H) #include <mysql/my_global.h> #endif #ifdef HAVE_MY_SYS_H #include <my_sys.h> #elif defined(HAVE_MYSQL_MY_SYS_H) #include <mysql/my_sys.h> #endif ------------- So, we should be doing things right. And yet, there are problems. What do you guys see in your config.log? Or is this not something that one gets on Windows.... -- Bojan
