MySQL Forums
Forum List  »  Source, Builds, Binaries

Compiling source 5.6.16 on 32 bit Windows
Posted by: ad du
Date: March 06, 2014 01:50PM

I was trying to build MySQL server from the source 5.6.16 on a 32 bit Windows box. The compiler I am using is Visual Studio 2005. I followed the link, http://dev.mysql.com/doc/internals/en/cmake.html
to build the same. However, after configuring with cmake, when I try to build the mysql.sln I am getting certain errors. The error is as below,

9>ut0byte.cc
9>ut0bh.cc
9>usr0sess.cc
9>f:\practicemodules\project\utility\mysql-5.6.16\mysql-5.6.16\storage\innobase\include\buf0buf.ic(1010) : error C3861: '_InterlockedExchangeAdd': identifier not found
9>f:\practicemodules\project\utility\mysql-5.6.16\mysql-5.6.16\storage\innobase\include\buf0buf.ic(1040) : error C3861: '_InterlockedExchangeAdd': identifier not found
9>f:\practicemodules\project\utility\mysql-5.6.16\mysql-5.6.16\storage\innobase\include\buf0buf.ic(1059) : error C3861: '_InterlockedExchangeAdd': identifier not found

I am not sure why am I getting the error for this API. I googled a little bit and tried including Windows.h to buf0buf.cc source file, but it doesn't seem to correct the problem.
I tried building the solution for both debug and release and none of them seem to work.

Kindly suggest, what could be the resolution.

Thank you,
AD

Options: ReplyQuote


Subject
Views
Written By
Posted
Compiling source 5.6.16 on 32 bit Windows
2809
March 06, 2014 01:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.