Hi!
So this is fixed now. One thing to note, you have to kill you autoconf
cache in the tree, and then rerun autorun. Without that, your tree
won't find any new plugins (which means drizzle will build without a
schedule which will make it crash on any connect).
Cheers,
-Brian
On Jan 25, 2009, at 1:49 PM, Philip Herron wrote:
Brian Aker wrote:
This is my fault. Files that I removed in tree somehow were still
included from a different directory. I will have it fixed in just a
bit.
Cheers,
--Brian
On Jan 25, 2009, at 1:34 PM, Philip Herron <[email protected]
> wrote:
Hey guys
I just done a bzr pull on my trunk to merge with, and had lots of
problems with the scheduling classes. So i thought it would just
bzr fresh.
And had the first errors, where scheduler.{h,cc} was missing so i
copied it from an old revision which got me a good bit further,
but now I just got:
make[3]: Entering directory `/home/redbrain/workspace/drizzle/
drizzle-bug308440/plugin/pool_of_threads'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -
DHAVE_CONFIG_H -I../.. -I../.. -fpch-deps -Wall -Wextra -Werror -
pedantic -Wundef -Wno-redundant-decls -Wno-long-long -Wno-strict-
aliasing -fno-rtti -O3 -ggdb3 -MT pool_of_threads.lo -MD -MP -
MF .deps/pool_of_threads.Tpo -c -o pool_of_threads.lo
pool_of_threads.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../.. -fpch-deps -
Wall -Wextra -Werror -pedantic -Wundef -Wno-redundant-decls -Wno-
long-long -Wno-strict-aliasing -fno-rtti -O3 -ggdb3 -MT
pool_of_threads.lo -MD -MP -MF .deps/pool_of_threads.Tpo -c
pool_of_threads.cc -fPIC -DPIC -o .libs/pool_of_threads.o
In file included from pool_of_threads.cc:24:
session_scheduler.h:21: error: redefinition of ‘class
session_scheduler’
../../drizzled/scheduler.h:59: error: previous definition of
‘class session_scheduler’
pool_of_threads.cc: In function ‘void
libevent_kill_session_callback(int, short int, void*)’:
pool_of_threads.cc:208: error: cannot convert ‘event**’ to
‘event*’ for argument ‘1’ to ‘int event_del(event*)’
pool_of_threads.cc: In function ‘void
libevent_add_session_callback(int, short int, void*)’:
pool_of_threads.cc:259: error: cannot convert ‘event**’ to
‘event*’ for argument ‘1’ to ‘int event_add(event*, timeval*)’
pool_of_threads.cc: In function ‘void
libevent_add_connection(Session*)’:
pool_of_threads.cc:286: error: no matching function for call to
‘session_scheduler::session_scheduler(Session*&)’
../../drizzled/scheduler.h:68: note: candidates are:
session_scheduler::session_scheduler(const session_scheduler&)
../../drizzled/scheduler.h:66: note:
session_scheduler::session_scheduler()
make[3]: *** [pool_of_threads.lo] Error 1
make[3]: Leaving directory `/home/redbrain/workspace/drizzle/
drizzle-bug308440/plugin/pool_of_threads'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/redbrain/workspace/drizzle/
drizzle-bug308440/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/redbrain/workspace/drizzle/
drizzle-bug308440'
make: *** [all] Error 2
Not quite sure if its worth a bug report.
Anyways just wondering if anyone is having a similar problem? I am
guessing its i dont need scheduler.h/cc anymore but some file was
trying to include it somwhere, i'll try and go though and find it.
-Phil
http://redbrain.co.uk
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp
Hey
Ah no problem i thought it was something like that! Its frustrating
when forgetting to rm files from bzr itself, svn is awful for that :P
Thanks
-Phil
--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/ <-- Me
http://tangent.org/ <-- Software
_______________________________________________________
You can't grep a dead tree.
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp