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

Re: Compiling kmysqladmin-0.6.2 ?



On 03.Aug 2003 - 17:53:00, Yann Forget wrote:
> Hi,
> 
> I got a bit further. Now I have :
> 
> In file included from ThreadView.cpp:8:
> my_sql.h:36: warning: `class CMySql' only defines a private destructor and has
>    no friends
> my_sql.h: In destructor `smart_pointer<T>::~smart_pointer() [with T = 
> CMySql]':
> ThreadView.cpp:25:   instantiated from here
> my_sql.h:444: error: `virtual CMySql::~CMySql()' is private
> helpers/smart_pointer.h:84: error: within this context
> my_sql.h: In member function `smart_pointer<T>&
>    smart_pointer<T>::operator=(const smart_pointer<T>&) [with T = CMySql]':
> ThreadView.cpp:26:   instantiated from here
> my_sql.h:444: error: `virtual CMySql::~CMySql()' is private
> helpers/smart_pointer.h:98: error: within this context
> ThreadView.cpp: In member function `virtual void CThreadView::RefreshList()':
> ThreadView.cpp:53: error: `get_threads' undeclared (first use this function)
> ThreadView.cpp:53: error: (Each undeclared identifier is reported only once 
> for
>    each function it appears in.)
> ThreadView.cpp: In member function `virtual void CThreadView::KillThread()':
> ThreadView.cpp:129: error: `kill_thread' undeclared (first use this function)
> make[3]: *** [ThreadView.o] Error 1
> make[3]: Leaving directory `/mnt/ext6/src/kmysqladmin-0.6.2/kmysqladmin'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/mnt/ext6/src/kmysqladmin-0.6.2/kmysqladmin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/ext6/src/kmysqladmin-0.6.2'
> make: *** [all] Error 2

I'm not sure, but either the Code of kmysqladmin is wrong, or maybe the
version of mysql you use doesn't go well with that particular version of
kmysqladmin. Especially the first lines look like kmysqladmin expects
other headers of mysql. Maybe mysql changed the class definitions from
one version to another and kmysql was written for the old one?

Andreas

-- 
You are a very redundant person, that's what kind of person you are.



Reply to: