Bug #57766 Windows build issue on windows with syslog.h
Submitted: 27 Oct 2010 10:46 Modified: 4 Nov 2010 15:23
Reporter: Jørgen Austvik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.0 OS:Windows
Assigned to: Magnus Blåudd CPU Architecture:Any

[27 Oct 2010 10:46] Jørgen Austvik
Description:
SysLogHandler.hpp fail to build on our Windows ATRT host on 7.1 now. Has happened during my 3 week vacation.

How to repeat:
On our ATRT/Windows rig (loki27):

Build started: Project: atrt, Configuration: RelWithDebInfo|Win32
 
Compiling...
main.cpp
F:\ndbdev\ATRT\cygwin\autotest\build\clone-mysql-5.1-telco-7.1-2010-10-27.2932\storage\ndb\include\logger\SysLogHandler.hpp(24) : fatal error C1083: Cannot open include file: 'syslog.h': No such file or directory
command.cpp
db.cpp
files.cpp
setup.cpp
Generating Code...

Build log was saved at "file://f:\ndbdev\ATRT\cygwin\autotest\build\clone-mysql-5.1-telco-7.1-2010-10-27.2932\storage\ndb\test\run-test\atrt.dir\RelWithDebInfo\BuildLog.htm"
atrt - 1 error(s), 0 warning(s)

Also happens on ndb_cpcd:

Build started: Project: ndb_cpcd, Configuration: RelWithDebInfo|Win32
...
Compiling...
APIService.cpp
main.cpp
F:\ndbdev\ATRT\cygwin\autotest\build\clone-mysql-5.1-telco-7.1-2010-10-27.2932\storage\ndb\include\logger/SysLogHandler.hpp(24) : fatal error C1083: Cannot open include file: 'syslog.h': No such file or directory
common.cpp
...
ndb_cpcd - 1 error(s), 0 warning(s)

Suggested fix:
Don't include syslog on windows?
[27 Oct 2010 11:07] Jørgen Austvik
7.0 and 7.1
[2 Nov 2010 13:39] Magnus Blåudd
Caught this myself yesterday.
[2 Nov 2010 14:18] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/122543
[2 Nov 2010 14:34] Bugs System
Pushed into mysql-5.1-telco-7.0 5.1.51-ndb-7.0.20 (revid:magnus.blaudd@sun.com-20101102141714-gkgrjkb92syy6m3z) (version source revid:magnus.blaudd@sun.com-20101102141714-gkgrjkb92syy6m3z) (merge vers: 5.1.51-ndb-7.0.20) (pib:21)
[3 Nov 2010 11:59] Magnus Blåudd
Pushed to 6.3.39, 7.0.20 and 7.1.9
[4 Nov 2010 15:23] Jon Stephens
This does not appear in any release, thus nothing to document.

Closed without further action.