Bug #9166 | Cluster compile failure on Solaris 10 | ||
---|---|---|---|
Submitted: | 14 Mar 2005 12:39 | Modified: | 16 Mar 2005 10:52 |
Reporter: | Kent Boortz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 4.1.10, 5.0.3 | OS: | Solaris (solaris 10) |
Assigned to: | Tomas Ulin | CPU Architecture: | Any |
[14 Mar 2005 12:39]
Kent Boortz
[15 Mar 2005 15:00]
Martin Skold
There is a SOLARIS define (used in mysqld.cc for example). It does not seemed to be passed to cc when compiing this file (this is a bug in the build scripts), but if this is modified, then the #define _XOPEN_SOURCE 500 can be wrappen in a #ifndef SOLARIS ... #endif However, since we probably have to modify the configure script we might as well add an -DIRIX so we directly can wrap it in #ifdef IRIX ... #endif
[15 Mar 2005 21:21]
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/internals/23059
[16 Mar 2005 10:52]
Martin Skold
Wrapped #define with #ifdef __sgi ... #endif