Bug #13388 | Unsatisfied symbol: Rotate_log_event::is_valid() | ||
---|---|---|---|
Submitted: | 21 Sep 2005 20:26 | Modified: | 24 May 2006 18:01 |
Reporter: | Patrick Briggs | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 4.1.14 | OS: | HP/UX (HP-UX 11.11) |
Assigned to: | CPU Architecture: | Any |
[21 Sep 2005 20:26]
Patrick Briggs
[22 Sep 2005 8:21]
Valeriy Kravchuk
Have you tried to compile with other GCC versions? I'd like to know, is it a GCC 4-specific issue or general problem on HP-UX.
[22 Sep 2005 17:19]
Patrick Briggs
It looks like it is a problem with GCC-4.0.1 because when I tried GCC-3.4.4 binaries, it finally compiled ok. I thought I already tried that, but I guess not. When I tried 3.4.1 GCC, it would hang on sort.c and I've have to CTRL-C to get out of it. So I think I assumed 3.4.4 would do the same thing and wouldn't work.
[22 Sep 2005 17:49]
Valeriy Kravchuk
So, it looks like a GCC bug, and we do not really provide support for build process for platforms that have our official binaries available. Our binaries on HP-UX 11.11 are built using HP's own compiler. Looks like you have to figure out the proper version and options yourself. Sorry.
[24 May 2006 14:33]
Vito Robar
I had the same problems on HP-UX 11.11 with gcc 4.0.2 and 4.1.0. I solved the problem with gcc 4.1.0 the following way: after configure, edit the file sql/Makefile and change all occurencies of optimizing options -O3 to -O2. Run make and it should compile successfully.
[24 May 2006 18:01]
Patrick Briggs
This problem doesn't manifest itself when compiling MySQL 5.0.21 code. I've since switched to 5.0.x. The HP-UX 11.11 binaries provided by MySQL didn't include shared libraries, which makes them useless when compiling PHP to use with MySQL.