zenovich/runkit — Issue #20: Build fails on CentOS 6.2 with php 5.3.10
Author: maxgashkov
Created: 2012-02-19 15:28:43+00:00
State: open

Build fails for both master and 1.0.3 tag with following error:

```
...
/bin/sh /root/build/php-5.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/runkit/ -I/root/build/php-5.3.10/ext/runkit/ -DPHP_ATOM_INC -I/root/build/php-5.3.10/include -I/root/build/php-5.3.10/main -I/root/build/php-5.3.10 -I/root/build/php-5.3.10/ext/date/lib -I/root/build/php-5.3.10/ext/ereg/regex -I/usr/include/libxml2 -I/root/build/php-5.3.10/ext/mongo/util -I/root/build/php-5.3.10/ext/sqlite3/libsqlite -I/root/build/php-5.3.10/TSRM -I/root/build/php-5.3.10/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /root/build/php-5.3.10/ext/runkit/runkit.c -o ext/runkit/runkit.lo
In file included from /root/build/php-5.3.10/ext/runkit/runkit.c:22:
/root/build/php-5.3.10/ext/runkit/php_runkit.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'runkit_globals'
/root/build/php-5.3.10/ext/runkit/runkit.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'runkit_globals'
/root/build/php-5.3.10/ext/runkit/runkit.c:163: error: expected ')' before '*' token
/root/build/php-5.3.10/ext/runkit/runkit.c: In function 'zm_startup_runkit':
/root/build/php-5.3.10/ext/runkit/runkit.c:198: error: 'runkit_globals' undeclared (first use in this function)
/root/build/php-5.3.10/ext/runkit/runkit.c:198: error: (Each undeclared identifier is reported only once
/root/build/php-5.3.10/ext/runkit/runkit.c:198: error: for each function it appears in.)
make: *** [ext/runkit/runkit.lo] Error 1
```

Please advise.