Bug #1274: memory.h name collision
| From: | cloos at jhcloos dot com | Date: | Sun, 28 Mar 1999 17:21:27 +0000 |
| Subject: | Bug #1274: memory.h name collision | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4792@lists.php.net to get a copy of this message | ||
From: cloos@jhcloos.com
Operating system: Linux/RH5.2/kernel2.2
PHP version: 3.0 Latest CVS (28/03/1999)
PHP Bug Type: Compile Failure
Bug description: memory.h name collision
When the image magick support is configured, -I/usr/X11R6/lib/X11/include/magick is added the the
CFLAGS. That dir has a memory.h in it, which collides with /usr/include/memory.h included by
apache's ap_config.h (at least via apxs).
The fix would be to fix Makefile.in not to add @IMAGICK_INCLUDE@ to INCLUDE and to have magick.c
include things like <magick/magick.h> rather than like "magick.h", but magick.h uses
the latter style to include the rest of the files in /usr/X11R6/lib/X11/include/magick....
As such, next best is to add -I/usr/X11R6/lib/X11/include/magick only when compiling magick.c.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net