Bug #34094 | Compile fails on Solaris 9 using gcc | ||
---|---|---|---|
Submitted: | 27 Jan 2008 19:57 | Modified: | 5 May 2008 19:01 |
Reporter: | Hakan Küçükyılmaz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Archive storage engine | Severity: | S3 (Non-critical) |
Version: | mysql-6.0-falcon-team | OS: | Solaris (9) |
Assigned to: | Hakan Küçükyılmaz | CPU Architecture: | Any |
[27 Jan 2008 19:57]
Hakan Küçükyılmaz
[2 Feb 2008 7:34]
Hakan Küçükyılmaz
Fix is to remove #include <getopt.h> from storage/archive/concurrency_test.c. concurrency_test.c include my_getopt.h and getopt.h. One getopt should be enough. /* Just a test application for threads. */ #include "azio.h" #include <mysql.h> #include <my_getopt.h> #include <mysql_version.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/mman.h> #include <fcntl.h> #include <sys/time.h> #include <getopt.h>
[8 Apr 2008 15:35]
Hakan Küçükyılmaz
Already fixed by storage/archive/concurrency_test.c 1.1.1.1 2007/12/05 11:32:21 jperkin@mysql.com Do not include getopt.h
[9 Apr 2008 15:59]
Jon Stephens
In which release(s) did the referenced fix become available; we need relevant 3-part version number(s) for the changelog. Thanks!
[17 Apr 2008 9:09]
Hakan Küçükyılmaz
6.0.5
[5 May 2008 19:01]
Paul DuBois
Noted in 6.0.5 changelog. Compilation failed on Solaris for the ARCHIVE storage engine due to inclusion of getopt.h in the ARCHIVE code.