|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchespatch-sapi_fpm_atomic.h (last revision 2012-03-12 18:54 UTC by schnorte at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-12 00:14 UTC] schnorte at gmail dot com
[2012-03-12 18:52 UTC] schnorte at gmail dot com
[2012-03-13 21:28 UTC] jensrasmus at gmail dot com
[2013-06-26 23:03 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2013-06-26 23:03 UTC] felipe@php.net
[2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 10:00:01 2025 UTC |
Description: ------------ I configured the php 5.4.0 source like this: ./configure --enable-fpm --enable-cgi --enable-fastcgi --prefix=/usr/local/php and then tried to compile with the gmake command. I expected it to complete compiling successfully so I could do a `gmake install'. What actually happened was a compile failure with this output at the end: ---ERROR MSG START--- In file included from /home/rasmus/php/php- 5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:15, from /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm.c:21: /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_atomic.h:142:2: error: #error Unsupported processor. Please open a bug report (bugs.php.net). In file included from /home/rasmus/php/php- 5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:15, from /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm.c:21: /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_atomic.h:146: error: expected ')' before '*' token In file included from /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm.c:21: /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:22: error: expected specifier-qualifier-list before 'atomic_t' /home/rasmus/php/php-5.4.0/sapi/fpm/fpm/fpm_scoreboard.h:51: error: expected specifier-qualifier-list before 'atomic_t' gmake: *** [sapi/fpm/fpm/fpm.lo] Error 1 ---ERROR MSG END--- Also, this happened on FreeBSD/arm on a Marvell Sheevaplug. If I remove `-- enable-fpm' from the configure command, make completes successfully; so this may be a FPM related problem. This is my complete `uname -a': FreeBSD frodo 8.2-STABLE FreeBSD 8.2-STABLE #7: Fri Feb 17 01:37:05 CET 2012 root@frodo:/usr/obj/usr/src/sys/FRODO arm