News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Additional Build Errors

Started by dantelope, September 13, 2005, 12:24:08 AM

Previous topic - Next topic

archived

I got the MessageTranslation stuff down (thank you) and was able to compile pluto_main.  Of course, what I *really* want is DCERouter.

Since the mysql stuff is also not available (try downloading it from your site -- page not found again) and because I'm using MySQL 4.1, I am probably screwing something up.  Your help greatly appreciated:

1>DCERouter.obj : error LNK2019: unresolved external symbol _my_thread_end referenced in function "public: virtual void __thiscall DCE::Router::OnDisconnected(int)" (?OnDisconnected@Router@DCE@@UAEXH@Z)
1>DCERouter.obj : error LNK2019: unresolved external symbol _my_thread_init referenced in function "public: virtual void __thiscall DCE::Router::RegisteredCommandHandler(class DCE::ServerSocket *,int)" (?RegisteredCommandHandler@Router@DCE@@UAEXPAVServerSocket@2@H@Z)


Thanks,
Dan

archived

Hi Dan,

Want you need now is pthreads-win32 library which you can find it here: http://www.plutohome.com/download/winlib-src/pthreads-win32.zip. Also, we are using Mysql version 4.0.13, which can be downloaded from here: http://www.plutohome.com/download/winlib-src/mysql.zip

Regards,
  Chris M.

archived

Quote from: "chris.m"Hi Dan,

Want you need now is pthreads-win32 library which you can find it here: http://www.plutohome.com/download/winlib-src/pthreads-win32.zip. Also, we are using Mysql version 4.0.13, which can be downloaded from here: http://www.plutohome.com/download/winlib-src/mysql.zip

It's kind of strange. I *have* pthreads-win32 (after all, I am using the downloaded source and .vcproj Pluto set up).  I'll look again to verify everything matches, but...

Also -- do you think MySQL 4.1 will work in place of 4.0.13?  Or do I need to have 4.0.13?

Thanks,
Dan

archived

Hi Dan,

There are two things you can do to make it link:

1) Use MySQL 4.0.13 which has 'my_thread_init' and 'my_thread_end' symbols defined.

OR

2) Use your version of MySQL and in Router::OnDisconnect and Router::RegisteredCommandHandler methods use 'mysql_thread_init' and 'mysql_thread_end' instead.

MySQL 4.1 renamed these two functions.

Regards
Chris M.

archived

Thanks, Chris.  I'll do that!

I'm excited to see DCERouter working on my machine because moments later I should have an active Java DCE layer talking to it. :-)

Dan