List:General Discussion« Previous MessageNext Message »
From:Michael Dykman Date:April 28 2010 8:58pm
Subject:Re: compiling errors on mysql 5.1.46 on win64
View as plain text  
I'm not a windows guy and haven't done C in a Microsoft environment
since XP was just released, so don't take my suggestions as
authoritative but:

Are you running the batch file from within Visual Studio or are you
running the batch file at the command line?

Which version of the MS compiler are you using?

Which version of MySQL are you trying to compile?  It looks from your
prefixes that you might be building a high-availability release..
Where did the sources come from?

Is the InnoDB plugin the first thing it tries to build?  That would
seem odd...  I would expect to see the core compiled before the
plugins..

If your problems are focussed exclusively on the InnoDB plugin, then
perhaps you want to seek some advice from the InnoDB guys who provide
it.


 - michael dykman

On Wed, Apr 28, 2010 at 4:34 PM, Zardosht Kasheff <zardosht@stripped> wrote:
> I am using Visual Studio 2008. I run "win\configure" followed by
> "win\build_vs9_x64.bat", and then open the generated MySQL.sln from
> Visual Studio 2008. Do Build->Build Solution, and I get the errors
>
> On Wed, Apr 28, 2010 at 4:31 PM, Michael Dykman <mdykman@stripped> wrote:
>> What compiler are you using?  Is this being done via a make file or
>> are you just trying to compile from a default MS Developer Studio?
>>
>> On Wed, Apr 28, 2010 at 3:51 PM, Zardosht Kasheff <zardosht@stripped>
> wrote:
>>> I was told I should ask this on this list.
>>>
>>> Any ideas?
>>> Thanks
>>> -Zardosht
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Zardosht Kasheff <zardosht@stripped>
>>> Date: Fri, Apr 23, 2010 at 9:01 PM
>>> Subject: compiling errors on mysql 5.1.46 on win64
>>> To: win32@stripped
>>>
>>>
>>> Hello all,
>>>
>>> I know this is a win32 list, but I could not find a better list to ask
>>> this question. Running Visual Studio 2008, I do the following:
>>>
>>> win\configure
>>> win\build_vs9.bat
>>>
>>> Then I open MySQL.sln, run Build Solution, and I get the following
>>> errors in the innodb plugin. Any ideas what is wrong?
>>>
>>> Also, how does MySQL build the community 5.1.46 windows release?
>>>
>>> Thanks
>>> -Zardosht
>>>
>>> 1>------ Build started: Project: ha_innodb_plugin, Configuration:
>>> Release x64 ------
>>> 1>Compiling...
>>> 1>ha0ha.c
>>> 1>.\ha\ha0ha.c(419) : error C2143: syntax error : missing ';' before
> 'type'
>>> 1>.\ha\ha0ha.c(445) : error C2065: 'n_bufs' : undeclared identifier
>>> 1>.\ha\ha0ha.c(445) : warning C4244: '=' : conversion from 'ulint' to
>>> 'int', possible loss of data
>>> 1>.\ha\ha0ha.c(448) : error C2065: 'n_bufs' : undeclared identifier
>>> 1>.\ha\ha0ha.c(452) : error C2065: 'n_bufs' : undeclared identifier
>>> 1>buf0flu.c
>>> 1>.\buf\buf0flu.c(160) : error C2143: syntax error : missing ';' before
> 'type'
>>> 1>.\buf\buf0flu.c(161) : error C2143: syntax error : missing ';' before
> 'const'
>>> 1>.\buf\buf0flu.c(169) : error C2065: 'b2' : undeclared identifier
>>> 1>.\buf\buf0flu.c(169) : error C2223: left of '->oldest_modification'
>>> must point to struct/union
>>> 1>.\buf\buf0flu.c(170) : error C2065: 'b1' : undeclared identifier
>>> 1>.\buf\buf0flu.c(170) : error C2223: left of '->oldest_modification'
>>> must point to struct/union
>>> 1>.\buf\buf0flu.c(174) : error C2065: 'b2' : undeclared identifier
>>> 1>.\buf\buf0flu.c(174) : error C2223: left of '->oldest_modification'
>>> must point to struct/union
>>> 1>.\buf\buf0flu.c(175) : error C2065: 'b1' : undeclared identifier
>>> 1>.\buf\buf0flu.c(175) : error C2223: left of '->oldest_modification'
>>> must point to struct/union
>>> 1>.\buf\buf0flu.c(180) : error C2065: 'b2' : undeclared identifier
>>> 1>.\buf\buf0flu.c(180) : error C2223: left of '->space' must point to
>>> struct/union
>>> 1>.\buf\buf0flu.c(180) : error C2065: 'b1' : undeclared identifier
>>> 1>.\buf\buf0flu.c(180) : error C2223: left of '->space' must point to
>>> struct/union
>>> 1>.\buf\buf0flu.c(183) : error C2065: 'b2' : undeclared identifier
>>> 1>.\buf\buf0flu.c(183) : error C2223: left of '->offset' must point to
>>> struct/union
>>> 1>.\buf\buf0flu.c(183) : error C2065: 'b1' : undeclared identifier
>>> 1>.\buf\buf0flu.c(183) : error C2223: left of '->offset' must point to
>>> struct/union
>>> 1>.\buf\buf0flu.c(183) : fatal error C1903: unable to recover from
>>> previous error(s); stopping compilation
>>> 1>Generating Code...
>>> 1>Build log was saved at
>>>
> "file://c:\mysql-5.1.46\storage\innodb_plugin\ha_innodb_plugin.dir\Release\BuildLog.htm"
>>> 1>ha_innodb_plugin - 23 error(s), 1 warning(s)
>>> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>>>
>>> --
>>> MySQL General Mailing List
>>> For list archives: http://lists.mysql.com/mysql
>>> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
>>>
>>>
>>
>>
>>
>> --
>>  - michael dykman
>>  - mdykman@stripped
>>
>>  May the Source be with you.
>>
>



-- 
 - michael dykman
 - mdykman@stripped

 May the Source be with you.
Thread
Removal of mailing listsDave Ryan19 Nov
  • RE: Removal of mailing listsAndy Frankford19 Nov
  • Fwd: compiling errors on mysql 5.1.46 on win64Zardosht Kasheff28 Apr
Re: compiling errors on mysql 5.1.46 on win64Michael Dykman28 Apr
  • Re: compiling errors on mysql 5.1.46 on win64Zardosht Kasheff28 Apr
    • Re: compiling errors on mysql 5.1.46 on win64Zardosht Kasheff29 Apr