Compiled on RedHat 7.2 I got the following error message:
gcc -I. -I/tmp/php-4.0.6/ext/microcode -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/ext/mysql/libmysql -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c eval.c -fPIC -DPIC -o eval.lo
eval.c:37: parse error before "TSRMLS_DC"
eval.c: In function `databay_eval_string':
eval.c:46: `retval_ptr' undeclared (first use in this function)
eval.c:46: (Each undeclared identifier is reported only once
eval.c:46: for each function it appears in.)
eval.c:47: `str' undeclared (first use in this function)
eval.c:61: `string_name' undeclared (first use in this function)
eval.c:61: parse error before "TSRMLS_CC"
eval.c:73: parse error before "TSRMLS_CC"
make[1]: *** [eval.slo] Error 1
make[1]: Leaving directory `/home/patis/microcode/decoder'
make: *** [all-recursive] Error 1
Can anyone help me solving this problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I have the same problem compiling in Windows, also using PHP 4.0.6. Since microCODE was said to work on versions above 4.0.3, isn't there any code fix that we can do to solve this problem?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compiled on RedHat 7.2 I got the following error message:
gcc -I. -I/tmp/php-4.0.6/ext/microcode -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/ext/mysql/libmysql -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ext/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c eval.c -fPIC -DPIC -o eval.lo
eval.c:37: parse error before "TSRMLS_DC"
eval.c: In function `databay_eval_string':
eval.c:46: `retval_ptr' undeclared (first use in this function)
eval.c:46: (Each undeclared identifier is reported only once
eval.c:46: for each function it appears in.)
eval.c:47: `str' undeclared (first use in this function)
eval.c:61: `string_name' undeclared (first use in this function)
eval.c:61: parse error before "TSRMLS_CC"
eval.c:73: parse error before "TSRMLS_CC"
make[1]: *** [eval.slo] Error 1
make[1]: Leaving directory `/home/patis/microcode/decoder'
make: *** [all-recursive] Error 1
Can anyone help me solving this problem?
You are using quite an old PHP Version.
Latest microCODE is currently tested on 4.1.x and 4.2.1
Hi there,
I have the same problem compiling in Windows, also using PHP 4.0.6. Since microCODE was said to work on versions above 4.0.3, isn't there any code fix that we can do to solve this problem?
Thanks