Re: compiling errors on mysql 5.1.46 on win64

Re: compiling errors on mysql 5.1.46 on win64

am 28.04.2010 23:59:08 von Zardosht Kasheff

inlining responses

On Wed, Apr 28, 2010 at 4:58 PM, Michael Dykman wrote:
> 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?
from within VS08

>
> Which version of the MS compiler are you using?
Visual Studio 08

> Which version of MySQL are you trying to compile? =A0It looks from your
> prefixes that you might be building a high-availability release..
> Where did the sources come from?
5.1.46, 5.1.43 compiles fine

>
> Is the InnoDB plugin the first thing it tries to build? =A0That would
> seem odd... =A0I would expect to see the core compiled before the
> plugins..
>
No, I build the entire solution

> 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.
>
>
> =A0- michael dykman
>
> On Wed, Apr 28, 2010 at 4:34 PM, Zardosht Kasheff wr=
ote:
>> 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 wrot=
e:
>>> What compiler are you using? =A0Is 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 =
wrote:
>>>> I was told I should ask this on this list.
>>>>
>>>> Any ideas?
>>>> Thanks
>>>> -Zardosht
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Zardosht Kasheff
>>>> Date: Fri, Apr 23, 2010 at 9:01 PM
>>>> Subject: compiling errors on mysql 5.1.46 on win64
>>>> To: win32@lists.mysql.com
>>>>
>>>>
>>>> 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: '=3D' : conversion from 'ulint' t=
o
>>>> '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 ';' befor=
e 'type'
>>>> 1>.\buf\buf0flu.c(161) : error C2143: syntax error : missing ';' befor=
e '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_plug in.dir\Rel=
ease\BuildLog.htm"
>>>> 1>ha_innodb_plugin - 23 error(s), 1 warning(s)
>>>> ========== Build: 0 succeeded, 1 failed, 0 up-to-d=
ate, 0 skipped ==========
>>>>
>>>> --
>>>> MySQL General Mailing List
>>>> For list archives: http://lists.mysql.com/mysql
>>>> To unsubscribe: =A0 =A0http://lists.mysql.com/mysql?unsub=3Dmdykman@gm=
ail.com
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> =A0- michael dykman
>>> =A0- mdykman@gmail.com
>>>
>>> =A0May the Source be with you.
>>>
>>
>
>
>
> --
> =A0- michael dykman
> =A0- mdykman@gmail.com
>
> =A0May the Source be with you.
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg