Archive > DCE library General

Additional Build Errors

(1/1)

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:


--- Code: ---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)

--- End code ---


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

--- End quote ---


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

Navigation

[0] Message Index

Sitemap 
Go to full version