Bug #63748 [NEW]: error: 'struct fpm_scoreboard_s' has no member named 'lock'
From: xuefer at gmail dot com
Operating system: linux
PHP version: 5.4.9
Package: FPM related
Bug Type: Bug
Bug description:error: 'struct fpm_scoreboard_s' has no member named 'lock'
Description:
------------
CFLAGS='-pipe -Wall -std=c99 -D_GNU_SOURCE -pedantic'
"CFLAGS=-pipe -Wall -std=c99 -D_GNU_SOURCE -pedantic -O0 -g"
"CXXFLAGS=-pipe -
Wall
-std=c99 -D_GNU_SOURCE -pedantic -O0 -g" ../php5/configure --disable-pear
--
enable-debug --enable-maintainer-zts --enable-experimental-zts --enable-fpm
--
enable-cgi --enable-fastcgi --enable-fastcgi --enable-force-cgi-redirect
--with-
pcre-regex --with-zlib --with-jpeg-dir=/usr --with-png-dir=/usr --with-gd
--
with-
openssl --with-posix --with-iconv --enable-sockets
--enable-inline-optimization
--
disable-mbregex --enable-bcmath --enable-pcntl --enable-memory-limit
--enable-
ftp
--enable-event --with-mysql=/usr --enable-mmap --enable-mbstring
--with-readline
-
-with-xmlrpc --enable-soap --with-sqlite --enable-sqlite-utf8 --with-
mysqli=/usr/bin/mysql_config --with-pdo-mysql=/usr
--prefix=/home/moo/test/php5-
debug-zts --cache-file=config.cache
make
Actual result:
--------------
/home/moo/src/php/php5-debug-zts/meta_ccld
-I/home/moo/src/php/php5/sapi/fpm -
Isapi/fpm/ -I/home/moo/src/php/php5/sapi/fpm/ -DPHP_ATOM_INC -
I/home/moo/src/php/php5-debug-zts/include -I/home/moo/src/php/php5-debug-
zts/main -I/home/moo/src/php/php5 -I/home/moo/src/php/php5-debug-
zts/ext/date/lib -I/home/moo/src/php/php5/ext/date/lib -
I/home/moo/src/php/php5/ext/ereg/regex -I/usr/include/libxml2 -
I/home/moo/src/php/php5/ext/mbstring/libmbfl
-I/home/moo/src/php/php5-debug-
zts/ext/mbstring/libmbfl -I/home/moo/src/php/php5/ext/mbstring/libmbfl/mbfl
-
I/home/moo/src/php/php5-debug-zts/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql
-I/home/moo/src/php/php5/ext/sqlite3/libsqlite
-I/home/moo/src/php/php5-debug-
zts/TSRM -I/home/moo/src/php/php5-debug-zts/Zend
-I/home/moo/src/php/php5/main -
I/home/moo/src/php/php5/Zend -I/home/moo/src/php/php5/TSRM -
I/home/moo/src/php/php5-debug-zts/ -D_REENTRANT -I/usr/include -pipe -Wall
-
std=c99 -D_GNU_SOURCE -pedantic -g -fvisibility=hidden -pthread -O0 -Wall
-DZTS
-c /home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c -o
sapi/fpm/fpm/fpm_scoreboard.o
In file included from
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:11:0:
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.h:24:3: warning:
declaration
does not declare anything
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.h:53:3: warning:
declaration
does not declare anything
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c: In function
'fpm_scoreboard_update':
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:87:26: error: 'struct
fpm_scoreboard_s' has no member named 'lock'
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:146:12: error: 'struct
fpm_scoreboard_s' has no member named 'lock'
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c: In function
'fpm_scoreboard_acquire':
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:187:22: error: 'struct
fpm_scoreboard_s' has no member named 'lock'
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c: In function
'fpm_scoreboard_release':
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:199:12: error: 'struct
fpm_scoreboard_s' has no member named 'lock'
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c: In function
'fpm_scoreboard_proc_acquire':
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:211:25: error: 'struct
fpm_scoreboard_proc_s' has no member named 'lock'
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c: In function
'fpm_scoreboard_proc_release':
/home/moo/src/php/php5/sapi/fpm/fpm/fpm_scoreboard.c:225:6: error: 'struct
fpm_scoreboard_proc_s' has no member named 'lock'
--
Edit bug report at https://bugs.php.net/bug.php?id=63748&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63748&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63748&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63748&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63748&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63748&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63748&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63748&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63748&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63748&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63748&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=63748&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=63748&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63748&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63748&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63748&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63748&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63748&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63748&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63748&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63748&r=mysqlcfg
Thread (7 messages)
- xuefer at gmail dot com