Author Topic: Additional Build Errors  (Read 22960 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Additional Build Errors
« on: September 13, 2005, 12:24:08 am »
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: [Select]
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Additional Build Errors
« Reply #1 on: September 13, 2005, 10:43:08 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Additional Build Errors
« Reply #2 on: September 13, 2005, 03:53:02 pm »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Additional Build Errors
« Reply #3 on: September 14, 2005, 07:03:49 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Additional Build Errors
« Reply #4 on: September 14, 2005, 02:21:27 pm »
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