|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-08-15 18:06 UTC] mike at saymikeo dot com
Description: ------------ Trying to install this package on our Media Temple dedicated VPS and I get this error when trying to make the file. Is this something with the package or my host? thanks! Test script: --------------- /root/tmp/pear/download/trader-0.3.0/trader.c:1225: error: 'PHP_FE_END' undeclared here (not in a function) make: *** [trader.lo] Error 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 17:00:01 2025 UTC |
That's strange as that macros is defined in at least PHP 5.3.10 in Zend/zend_API.h . Looks like pecl command is pulling an older header file. Please inspect if you have some other/older php instances on the system and also check the pecl configuration. If nothing helps, just get the extension tarball, unpack it and replace PHP_FE_END with { NULL, NULL, NULL, 0, 0 } at that line in trader.c . Then use phpize way to build the extension.