[php-maint] FYI redefinition warnings of php5 compilation

Lior Kaplan kaplan at debian.org
Tue Aug 13 22:37:02 UTC 2013


Hi,

Any suggested fix in addition the forwarding them the warning ? (I'm sure
it would be accepted more easily).

Kaplan


On Sat, Aug 10, 2013 at 3:46 PM, Thorsten Glaser <tg at debian.org> wrote:

> 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
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130814/55deb7ee/attachment.html>


More information about the pkg-php-maint mailing list