| Bug #15994 | Archive patch makes source tree uncompilable | ||
|---|---|---|---|
| Submitted: | 26 Dec 2005 20:11 | Modified: | 4 Jan 2006 0:45 |
| Reporter: | Ingo Strüwing | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 5.1.5 | OS: | Linux (Debian GNU/Linux, slackware) |
| Assigned to: | Brian Aker | CPU Architecture: | Any |
[26 Dec 2005 20:11]
Ingo Strüwing
[26 Dec 2005 20:51]
Paul DuBois
The problem might be more than just being able to find zutil.h.
On Gentoo Linux, if I modify azlib.h to include <linux/zutil.h>
rather than <zutil.h>, compilation still fails:
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -DDBUG_OFF -O1 -MT azio.o -MD -MP -MF ".deps/azio.Tpo" -c -o azio.o azio.c; \
then mv -f ".deps/azio.Tpo" ".deps/azio.Po"; else rm -f ".deps/azio.Tpo"; exit 1; fi
In file included from azlib.h:35,
from azio.c:16:
/usr/include/zlib.h:82: error: redefinition of `struct z_stream_s'
make: *** [azio.o] Error 1
[26 Dec 2005 21:00]
Ingo Strüwing
Same here on Debian. But on a SuSE it worked. They have a /usr/include/zutil.h which seems to be compatible with our stuff. Anyway, it is wrong to use the systems file instead of our own one. I think the mentioned changeset is incomplete. Some Makefile update is missing.
[27 Dec 2005 13:24]
Aleksey Kishkin
verified on slackware 10.2.
[4 Jan 2006 0:46]
Brian Aker
Someone else already fixed this.
