- or download this
use strict;
use warnings;
...
/usr/local/include/php/Zend/zend_globals_macros.h:66: error: expected
+‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘zend_scanner_globals’
/usr/local/include/php/Zend/zend_globals_macros.h:69: error: expected
+declaration specifiers before ‘END_EXTERN_C’
- or download this
$ cat foo.c
#include <php_main.h>
...
return 0;
}
$ /usr/bin/gcc foo.c -I/usr/local/include -I/usr/local/include/php -I/
+usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local
+/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/p
+hp/ext/date/lib -o foo
- or download this
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Linux 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686 GNU/L
+inux
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
PHP 5.2.6 (cli)
Zend Engine v2.2.0