Description:
mysys project is missing my_getpagesize.c thus build fails
How to repeat:
- Clone on Linux
- Make win source archive
- Unzip, upgrade (if using VS2005) and build on Win
...\mysql-5.0.34>devenv.com mysql.sln /build "Max nt|Win32" 2>&1
------ Build started: Project: mysql_upgrade, Configuration: Release Win32 ------
Linking...
mysql_upgrade.obj : error LNK2019: unresolved external symbol _my_getpagesize referenced in function _create_defaults_file
../client_release/mysql_upgrade.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\ZaMySQL\Serveri\mysql-5.0.34-win-src\mysql-5.0.34\client\release\BuildLog.htm"
------ Build started: Project: mysqld, Configuration: Max nt Win32 ------
Linking...
log.obj : error LNK2019: unresolved external symbol _my_getpagesize referenced in function "public: virtual int __thiscall TC_LOG_MMAP::open(char const *)" (?open@TC_LOG_MMAP@@UAEHPBD@Z)
../client_release/mysqld-max-nt.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\ZaMySQL\Serveri\mysql-5.0.34-win-src\mysql-5.0.34\sql\max_nt\BuildLog.htm"
mysqld - 2 error(s), 0 warning(s)
Suggested fix:
Add my_getpagesize.c to mysys project.