Date: 03/28/99
- Next message: cloos <email protected>: "[PHP-DEV] Bug #1275: make clean doesn't quite"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1274: memory.h name collision"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1274: memory.h name collision"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1274: memory.h name collision"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: cloos <email protected>
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 <email protected>@ 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 <email protected> For help: php-dev-help <email protected>
- Next message: cloos <email protected>: "[PHP-DEV] Bug #1275: make clean doesn't quite"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1274: memory.h name collision"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1274: memory.h name collision"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1274: memory.h name collision"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

