Re: Zend engine: unresolved external _zend_assign_to_variable_referen ce?
| From: | Zeev Suraski | Date: | Thu, 19 Jul 2001 09:12:05 +0000 |
| Subject: | Re: Zend engine: unresolved external _zend_assign_to_variable_referen ce? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60270@lists.php.net to get a copy of this message | ||
It's kind-of odd that you use this function in a module, it's not really an API function that's useful outside the context of the engine. Are you sure that's the right thing to do in there..?
Zeev
At 11:58 19/07/2001, Marc Boeren wrote:
Hi, If I build the dbx module I get the following error: dbx.obj : error LNK2001: unresolved external symbol _zend_assign_to_variable_reference ..\..\Release_TS/php_dbx.dll : fatal error LNK1120: 1 unresolved externals This is with a clean checkout of php4, zend and tsrm on a windows box. I noticed that the zend_assign_to_variable_reference implementation has changed between the 4.0.6 and the current cvs. 4.0.6 zend_execute.h: static inline void zend_assign_to_variable_reference(znode *result, zval **variable_ptr_ptr, zval **value_ptr_ptr, temp_variable *Ts ELS_DC) { ... } 4.0.7-dev cvs zend_execute.h: void zend_assign_to_variable_reference(znode *result, zval **variable_ptr_ptr, zval **value_ptr_ptr, temp_variable *Ts ELS_DC); (implemented in zend_execute.c) If I change the new code to ZEND_API void zend_assign_to_variable_reference(znode *result, zval **variable_ptr_ptr, zval **value_ptr_ptr, temp_variable *Ts ELS_DC); everything builds correctly, again. I'm not sure if this has any side-effect, so if someone could look it over and commit this patch (or something similar), I'd be happy. Cheerio, Marc. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/