|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57080 compilation problems
Submitted: 2006-06-12 13:07 UTC Modified: 2008-11-07 17:12 UTC
From: Assigned:
Status: Closed Package: parsekit (PECL)
PHP Version: 5.1.2 OS: Linux Fedora Core 5
Private report: No CVE-ID: None
 [2006-06-12 13:07 UTC]
Just a compilation problem with parsekit package...

Reproduce code:
pecl install -a parsekit outputs the following:
running: make
/bin/sh /var/tmp/pear-build-root/parsekit-1.0/libtool --mode=compile gcc  -I. -I/tmp/tmpTdy7fB/parsekit-1.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/parsekit-1.0/include -I/var/tmp/pear-build-root/parsekit-1.0/main -I/tmp/tmpTdy7fB/parsekit-1.0 -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  -DHAVE_CONFIG_H  -g -O2   -c /tmp/tmpTdy7fB/parsekit-1.0/parsekit.c -o parsekit.lo
mkdir .libs
 gcc -I. -I/tmp/tmpTdy7fB/parsekit-1.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/parsekit-1.0/include -I/var/tmp/pear-build-root/parsekit-1.0/main -I/tmp/tmpTdy7fB/parsekit-1.0 -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpTdy7fB/parsekit-1.0/parsekit.c  -fPIC -DPIC -o .libs/parsekit.o
In file included from /tmp/tmpTdy7fB/parsekit-1.0/parsekit.c:28:
/tmp/tmpTdy7fB/parsekit-1.0/php_parsekit.h:238: error: 'ZEND_JMP_NO_CTOR' undeclared here (not in a function)
/tmp/tmpTdy7fB/parsekit-1.0/php_parsekit.h:244: error: 'ZEND_UNSET_DIM_OBJ' undeclared here (not in a function)
/tmp/tmpTdy7fB/parsekit-1.0/php_parsekit.h:283: error: 'ZEND_INIT_CTOR_CALL' undeclared here (not in a function)
/tmp/tmpTdy7fB/parsekit-1.0/parsekit.c:1060: error: static declaration of 'second_arg_force_ref' follows non-static declaration
/usr/local/include/php/Zend/zend_modules.h:36: error: previous declaration of 'second_arg_force_ref' was here
make: *** [parsekit.lo] Error 1
ERROR: `make' failed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-15 12:57 UTC] messias at gmail dot com
Delete the "static" keyword in parsekit.c on line 1065 and 1070.
 [2006-09-15 13:05 UTC] messias at gmail dot com
Or use latest version (1.17) from cvs. Sorry!
 [2008-11-07 17:12 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Aug 24 00:01:26 2019 UTC