Bug #41587 | Mysql 5.1.30 fails to compile with CXXFLAGS | ||
---|---|---|---|
Submitted: | 18 Dec 2008 11:52 | Modified: | 28 Dec 2008 6:39 |
Reporter: | Abidoon Nadeem | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
Version: | 5.1.30 source package | OS: | Linux (CentOS 5.2) |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
Tags: | Mysql 5.1.30 source compiler error gcc |
[18 Dec 2008 11:52]
Abidoon Nadeem
[18 Dec 2008 11:54]
Abidoon Nadeem
The error I get is too few arguments to function `gethostbyname_r'
[19 Dec 2008 10:25]
Sveta Smirnova
Thank you for the report. You wrote: > export CXX="gcc" Do you get same error if CXX is g++?
[19 Dec 2008 11:05]
Abidoon Nadeem
I am not sure. I did not try I will have to check with g++.
[28 Dec 2008 6:39]
Kent Boortz
You don't show the actual error message, but I suspect the problem is that you give "-opteron" in CXXFLAGS, not "-march=opteron" as in CFLAGS. If I'm incorrect, please reopen this bug, and include the actual error message. If it is configure that fails, please attache "config.log", if the compilation please paste the failing text in the bug report.