Skip to content

Instantly share code, notes, and snippets.

@chirino
Created October 25, 2012 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chirino/b14d9243bd3d5715f60e to your computer and use it in GitHub Desktop.
Save chirino/b14d9243bd3d5715f60e to your computer and use it in GitHub Desktop.
/Users/chirino/sandbox/proton/proton-c/include/proton/engine.h:67: Warning 451: Setting a const char * variable may leak memory.
Scanning dependencies of target cproton
[100%] Building C object bindings/php/CMakeFiles/cproton.dir/phpPHP_wrap.c.o
Linking C shared module cproton.so
Undefined symbols for architecture x86_64:
"__array_init", referenced from:
_t_output_helper in phpPHP_wrap.c.o
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
__wrap_pn_transport_output in phpPHP_wrap.c.o
__wrap_pn_message_encode in phpPHP_wrap.c.o
__wrap_pn_message_save in phpPHP_wrap.c.o
__wrap_pn_message_data in phpPHP_wrap.c.o
...
"__convert_to_string", referenced from:
__wrap_pn_link_send in phpPHP_wrap.c.o
__wrap_pn_transport_input in phpPHP_wrap.c.o
__wrap_pn_sasl_send in phpPHP_wrap.c.o
__wrap_pn_message_data in phpPHP_wrap.c.o
__wrap_pn_delivery in phpPHP_wrap.c.o
__wrap_pn_listener in phpPHP_wrap.c.o
__wrap_pn_connector in phpPHP_wrap.c.o
...
"__efree", referenced from:
_SWIG_Php_GetModule in phpPHP_wrap.c.o
_t_output_helper in phpPHP_wrap.c.o
_wrap_pn_message_encode in phpPHP_wrap.c.o
_wrap_pn_message_save in phpPHP_wrap.c.o
___wrap_delete_pn_decimal128_t in phpPHP_wrap.c.o
___wrap_delete_pn_uuid_t in phpPHP_wrap.c.o
___wrap_delete_pn_bytes_t in phpPHP_wrap.c.o
...
"__emalloc", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
_SWIG_Php_GetModule in phpPHP_wrap.c.o
_wrap_pn_link_recv in phpPHP_wrap.c.o
_t_output_helper in phpPHP_wrap.c.o
_wrap_pn_sasl_recv in phpPHP_wrap.c.o
_wrap_pn_transport_output in phpPHP_wrap.c.o
_wrap_pn_message_encode in phpPHP_wrap.c.o
...
"__estrndup", referenced from:
__wrap_pn_delivery_tag in phpPHP_wrap.c.o
__wrap_pn_decimal128_t_bytes_get in phpPHP_wrap.c.o
__wrap_pn_uuid_t_bytes_get in phpPHP_wrap.c.o
__wrap_pn_bytes_t_start_get in phpPHP_wrap.c.o
__wrap_pn_bytes in phpPHP_wrap.c.o
__wrap_pn_bytes_dup in phpPHP_wrap.c.o
__wrap_pn_code in phpPHP_wrap.c.o
...
"__object_init", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
"__object_init_ex", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
"__zend_get_parameters_array_ex", referenced from:
__wrap_swig_cproton_alter_newobject in phpPHP_wrap.c.o
__wrap_swig_cproton_get_newobject in phpPHP_wrap.c.o
__wrap_pn_link_send in phpPHP_wrap.c.o
__wrap_pn_transport_input in phpPHP_wrap.c.o
__wrap_pn_sasl_send in phpPHP_wrap.c.o
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
...
"__zend_hash_add_or_update", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
"__zend_list_find", referenced from:
_SWIG_ZTS_ConvertResourcePtr in phpPHP_wrap.c.o
__wrap_swig_cproton_alter_newobject in phpPHP_wrap.c.o
__wrap_swig_cproton_get_newobject in phpPHP_wrap.c.o
"__zval_copy_ctor_func", referenced from:
__zval_copy_ctor in phpPHP_wrap.c.o
"__zval_dtor_func", referenced from:
__zval_dtor in phpPHP_wrap.c.o
"__zval_ptr_dtor", referenced from:
_wrap_pn_listener_free in phpPHP_wrap.c.o
_wrap_pn_connector_set_context in phpPHP_wrap.c.o
_wrap_pn_connector_free in phpPHP_wrap.c.o
"_add_next_index_long", referenced from:
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
__wrap_pn_transport_output in phpPHP_wrap.c.o
__wrap_pn_message_encode in phpPHP_wrap.c.o
__wrap_pn_message_save in phpPHP_wrap.c.o
__wrap_pn_message_data in phpPHP_wrap.c.o
"_add_next_index_string", referenced from:
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
__wrap_pn_transport_output in phpPHP_wrap.c.o
__wrap_pn_message_encode in phpPHP_wrap.c.o
__wrap_pn_message_save in phpPHP_wrap.c.o
__wrap_pn_message_data in phpPHP_wrap.c.o
"_add_next_index_stringl", referenced from:
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
__wrap_pn_transport_output in phpPHP_wrap.c.o
__wrap_pn_message_encode in phpPHP_wrap.c.o
__wrap_pn_message_save in phpPHP_wrap.c.o
__wrap_pn_message_data in phpPHP_wrap.c.o
"_add_next_index_zval", referenced from:
_t_output_helper in phpPHP_wrap.c.o
"_compiler_globals", referenced from:
_zm_startup_cproton in phpPHP_wrap.c.o
"_convert_to_boolean", referenced from:
__wrap_pn_terminus_set_dynamic in phpPHP_wrap.c.o
__wrap_pn_message_set_inferred in phpPHP_wrap.c.o
__wrap_pn_message_set_durable in phpPHP_wrap.c.o
__wrap_pn_message_set_first_acquirer in phpPHP_wrap.c.o
__wrap_pn_atom_t_u_as_bool_set in phpPHP_wrap.c.o
__wrap_pn_data_put_array in phpPHP_wrap.c.o
__wrap_pn_data_put_bool in phpPHP_wrap.c.o
...
"_convert_to_double", referenced from:
__wrap_pn_atom_t_u_as_float_set in phpPHP_wrap.c.o
__wrap_pn_atom_t_u_as_double_set in phpPHP_wrap.c.o
__wrap_pn_data_put_float in phpPHP_wrap.c.o
__wrap_pn_data_put_double in phpPHP_wrap.c.o
"_convert_to_long", referenced from:
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
__wrap_pn_transport_output in phpPHP_wrap.c.o
__wrap_pn_message_encode in phpPHP_wrap.c.o
__wrap_pn_message_save in phpPHP_wrap.c.o
__wrap_pn_message_data in phpPHP_wrap.c.o
__wrap_pn_listener_fd in phpPHP_wrap.c.o
...
"_gc_remove_zval_from_buffer", referenced from:
_SWIG_Php_GetModule in phpPHP_wrap.c.o
_t_output_helper in phpPHP_wrap.c.o
"_php_sprintf", referenced from:
__wrap_pn_message_get_expiry_time in phpPHP_wrap.c.o
__wrap_pn_message_get_creation_time in phpPHP_wrap.c.o
__wrap_pn_atom_t_u_as_ulong_get in phpPHP_wrap.c.o
__wrap_pn_atom_t_u_as_timestamp_get in phpPHP_wrap.c.o
__wrap_pn_atom_t_u_as_decimal64_get in phpPHP_wrap.c.o
__wrap_pn_data_get_ulong in phpPHP_wrap.c.o
__wrap_pn_data_get_timestamp in phpPHP_wrap.c.o
...
"_zend_error", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
_SWIG_FAIL in phpPHP_wrap.c.o
___wrap_delete_pn_decimal128_t in phpPHP_wrap.c.o
___wrap_delete_pn_uuid_t in phpPHP_wrap.c.o
___wrap_delete_pn_bytes_t in phpPHP_wrap.c.o
___wrap_delete_pn_delivery_tag_t in phpPHP_wrap.c.o
___wrap_delete_pn_atom_t in phpPHP_wrap.c.o
...
"_zend_get_constant", referenced from:
_SWIG_Php_GetModule in phpPHP_wrap.c.o
"_zend_hash_find", referenced from:
_SWIG_ZTS_ConvertPtr in phpPHP_wrap.c.o
"_zend_lookup_class", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
"_zend_printf", referenced from:
__wrap_pn_code in phpPHP_wrap.c.o
__wrap_pn_error in phpPHP_wrap.c.o
__wrap_pn_error_free in phpPHP_wrap.c.o
__wrap_pn_error_clear in phpPHP_wrap.c.o
__wrap_pn_error_set in phpPHP_wrap.c.o
__wrap_pn_error_code in phpPHP_wrap.c.o
__wrap_pn_error_text in phpPHP_wrap.c.o
...
"_zend_register_list_destructors_ex", referenced from:
_zm_startup_cproton in phpPHP_wrap.c.o
"_zend_register_long_constant", referenced from:
_SWIG_Php_SetModule in phpPHP_wrap.c.o
_zm_startup_cproton in phpPHP_wrap.c.o
"_zend_register_resource", referenced from:
_SWIG_ZTS_SetPointerZval in phpPHP_wrap.c.o
"_zend_rsrc_list_get_rsrc_type", referenced from:
_SWIG_ZTS_ConvertResourcePtr in phpPHP_wrap.c.o
"_zend_wrong_param_count", referenced from:
__wrap_swig_cproton_alter_newobject in phpPHP_wrap.c.o
__wrap_swig_cproton_get_newobject in phpPHP_wrap.c.o
__wrap_pn_link_send in phpPHP_wrap.c.o
__wrap_pn_transport_input in phpPHP_wrap.c.o
__wrap_pn_sasl_send in phpPHP_wrap.c.o
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
...
"_zval_is_true", referenced from:
__wrap_swig_cproton_alter_newobject in phpPHP_wrap.c.o
"_zval_used_for_init", referenced from:
_t_output_helper in phpPHP_wrap.c.o
_wrap_pn_listener_context in phpPHP_wrap.c.o
_wrap_pn_connector_context in phpPHP_wrap.c.o
__wrap_pn_link_recv in phpPHP_wrap.c.o
__wrap_pn_sasl_recv in phpPHP_wrap.c.o
__wrap_pn_transport_output in phpPHP_wrap.c.o
__wrap_pn_message_encode in phpPHP_wrap.c.o
...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [bindings/php/cproton.so] Error 1
make[1]: *** [bindings/php/CMakeFiles/cproton.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment