[php-maint] FYI redefinition warnings of php5 compilation

Thorsten Glaser tg at debian.org
Sat Aug 10 13:46:41 UTC 2013


Hi,

thought you’d like to see this. It’s on m68k (whose alignment is 2 bytes
instead of e.g. 4 bytes for int). Might want to forward this upstream?


In file included from /tmp/buildd/php5-5.5.1+dfsg/main/php_compat.h:27:0,
                 from /tmp/buildd/php5-5.5.1+dfsg/main/php.h:37,
                 from /tmp/buildd/php5-5.5.1+dfsg/ext/openssl/openssl.c:29:
/tmp/buildd/php5-5.5.1+dfsg/apache2-build/main/php_config.h:2351:0: warning: "ZEND_MM_ALIGNMENT" redefined [enabled by default]
 #define ZEND_MM_ALIGNMENT 2
 ^
In file included from /tmp/buildd/php5-5.5.1+dfsg/Zend/zend.h:252:0,
                 from /tmp/buildd/php5-5.5.1+dfsg/main/php.h:35,
                 from /tmp/buildd/php5-5.5.1+dfsg/ext/openssl/openssl.c:29:
/tmp/buildd/php5-5.5.1+dfsg/Zend/zend_alloc.h:36:0: note: this is the location of the previous definition
 # define ZEND_MM_ALIGNMENT 4
 ^
In file included from /tmp/buildd/php5-5.5.1+dfsg/main/php_compat.h:27:0,
                 from /tmp/buildd/php5-5.5.1+dfsg/main/php.h:37,
                 from /tmp/buildd/php5-5.5.1+dfsg/ext/openssl/openssl.c:29:
/tmp/buildd/php5-5.5.1+dfsg/apache2-build/main/php_config.h:2354:0: warning: "ZEND_MM_ALIGNMENT_LOG2" redefined [enabled by default]
 #define ZEND_MM_ALIGNMENT_LOG2 1
 ^
In file included from /tmp/buildd/php5-5.5.1+dfsg/Zend/zend.h:252:0,
                 from /tmp/buildd/php5-5.5.1+dfsg/main/php.h:35,
                 from /tmp/buildd/php5-5.5.1+dfsg/ext/openssl/openssl.c:29:
/tmp/buildd/php5-5.5.1+dfsg/Zend/zend_alloc.h:37:0: note: this is the location of the previous definition
 # define ZEND_MM_ALIGNMENT_LOG2 2
 ^

bye,
//mirabilos
-- 
(gnutls can also be used, but if you are compiling lynx for your own use,
there is no reason to consider using that package)
	-- Thomas E. Dickey on the Lynx mailing list, about OpenSSL



More information about the pkg-php-maint mailing list