Bug #12023 Compile error in libmysql.c
| Submitted: | 18 Jul 2005 23:02 | Modified: | 22 Aug 2005 20:52 |
|---|---|---|---|
| Reporter: | [ name withheld ] | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
| Version: | 4.0.25 | OS: | Linux (Mandriva 2005) |
| Assigned to: | CPU Architecture: | Any |
[18 Jul 2005 23:02]
[ name withheld ]
[18 Jul 2005 23:33]
[ name withheld ]
After extensive googling, I found a fix at <http://circle.ch/blog/index.php?p=727&tb=1> in config.h, make the following changes: /* Solaris define gethostbyname_r with 5 arguments. glibc2 defines this with 6 arguments */ /* #undef HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE */ #define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1
[22 Aug 2005 19:29]
Hartmut Holzgraefe
were you building from a freshly unpacked source archive or reusing a source tree that had already been used on another machine? (just want to make sure you are not tricked by the "configure" cache mechanism ...)
[22 Aug 2005 20:52]
[ name withheld ]
I download a completely fresh mysql-4.0.25 and it compiled properly, so looks like you were right about the configuration from a previous build being cached. Changing "make clean" to "make distclean" in our build scripts, and apologies for taking your time with this. Thanks for a great product!
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.