PHP 4.0 Bug #7730: unresolved text symbol (s) during final link (php creation)
| From: | p dot pastori at acsys dot it | Date: | Thu, 09 Nov 2000 17:03:32 +0000 |
| Subject: | PHP 4.0 Bug #7730: unresolved text symbol (s) during final link (php creation) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37586@lists.php.net to get a copy of this message | ||
From: p.pastori@acsys.it
Operating system: IRIX 6.5 (6.5.8m)
PHP version: 4.0.3pl1
PHP Bug Type: Compile Failure
Bug description: unresolved text symbol (s) during final link (php creation)
With mipsPRO 7.2.1 (the C++/C IRIX compiler) it is not possible to declare a function in an header,
define this as an __inline in a module (please use the standard C inline declaration instead of a
very dangerous #define inline ....) and use the same in another module (this is only possible with
some rad which see and compile all code in one step). I experienced some unresolved symbols due to
bad inlining policy.
Following there is a list of removed inline (this is neither a definitive list, cos i do not
configure all modules, nor the better one, but simply the list of my personal fixes which let me
successfully link my first php executable):
ext/standard/scanf.c(1233, scan_set_error_return)
Zend/zend_API.c(186, _array_init)
Zend/zend_API.c(199, _object_init_ex)
Zend/zend_API.c(217, _object_init)
Zend/zend_API.c(230, add_assoc_long)
Zend/zend_API.c(242, add_assoc_unset)
Zend/zend_API.c(252, add_assoc_bool)
Zend/zend_API.c(276, add_assoc_double)
Zend/zend_API.c(288, add_assoc_string)
Zend/zend_API.c(305, add_assoc_stringl)
Zend/zend_API.c(322, add_index_long)
Zend/zend_API.c(334, add_index_unset)
Zend/zend_API.c(345, add_index_bool)
Zend/zend_API.c(369, add_index_double)
Zend/zend_API.c(381, add_index_string)
Zend/zend_API.c(398, add_index_stringl)
Zend/zend_API.c(415, add_next_index_long)
Zend/zend_API.c(427, add_next_index_unset)
Zend/zend_API.c(474, add_next_index_string)
Zend/zend_API.c(491, add_next_index_stringl)
Zend/zend_API.c(542, add_get_index_long)
Zend/zend_API.c(566, add_get_index_string)
Zend/zend_API.c(632, add_property_resource)
Zend/zend_API.c(656, add_property_string)
Zend/zend_API.c(673, add_property_stringl)
Zend/zend_variables.c(36, var_reset)
Zend/zend_ptr_stack.c(35, zend_ptr_stack_push)
Zend/zend_ptr_stack.c(82, zend_ptr_stack_pop)
--
Edit Bug report at: http://bugs.php.net/?id=7730&edit=1