parsekit-0.1 (alpha) Compile Error
| From: | Paternoster Sergio | Date: | Thu, 06 May 2004 12:14:55 +0000 |
| Subject: | parsekit-0.1 (alpha) Compile Error | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-600@lists.php.net to get a copy of this message | ||
Hi all,
I'm not able to compile parsekit on Linux (Fedora, Linux version 2.4.22-1.2174.nptl
(bhcompile@tweety.devel.redhat.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)). Here is
what I receive on screen:
could someone give me an help?
Thanx in advance
regards
Sergio
[root@opm php-4.3.6]# make
gcc -Iext/parsekit/ -I/home/sergio/software/php-4.3.6/ext/parsekit/ -DPHP_ATOM_INC
-I/home/sergio/software/php-4.3.6/include -I/home/sergio/software/php-4.3.6/main -
I/home/sergio/software/php-4.3.6 -I/home/sergio/software/php-4.3.6/Zend
-I/home/sergio/software/php-4.3.6/ext/xml/expat -I/home/sergio/software/php-4.3.6/TSRM -O3 -
D_FILE_OFFSET_BITS=64 -c /home/sergio/software/php-4.3.6/ext/parsekit/parsekit.c -o
ext/parsekit/parsekit.o && echo > ext/parsekit/parsekit.lo
In file included from /home/sergio/software/php-4.3.6/ext/parsekit/parsekit.c:28:
/home/sergio/software/php-4.3.6/ext/parsekit/php_parsekit.h:71: error:
`ZEND_OVERLOADED_FUNCTION_TEMPORARY' undeclared here (not in a function)
/home/sergio/software/php-4.3.6/ext/parsekit/php_parsekit.h:71: error: initializer element is not
constant
/home/sergio/software/php-4.3.6/ext/parsekit/php_parsekit.h:71: error: (near initialization for
`php_parsekit_function_types[4].val')
...
...
/home/sergio/software/php-4.3.6/ext/parsekit/parsekit.c:757: warning: data definition has no type or
storage class
/home/sergio/software/php-4.3.6/ext/parsekit/parsekit.c:759: error: syntax error before
"return"
make: *** [ext/parsekit/parsekit.lo] Error 1
[root@opm php-4.3.6]#