gcc -bundle -bundle_loader /Applications/Pd-0.47-1.app/Contents/Resources//bin/pd --export-dynamic -o threadlib.pd_darwin fifo.o callbacks.o threadlib.o sleep.o detach.o join.o -lc -lm
ld: warning: in /Applications/Pd-0.47-1.app/Contents/Resources//bin/pd, missing required architecture x86_64 in file
Undefined symbols:
"_clock_free", referenced from:
_h_free_callbacks in callbacks.o
"_class_doaddfloat", referenced from:
_sleep_setup in sleep.o
_detach_setup in detach.o
_join_setup in join.o
"_outlet_symbol", referenced from:
_detach_thread in detach.o
_join_symbol_callback in join.o
"_class_addsymbol", referenced from:
_detach_setup in detach.o
_join_setup in join.o
"_post", referenced from:
_threadlib_help in threadlib.o
_threadlib_setup in threadlib.o
_detach_new in detach.o
"_class_addlist", referenced from:
_detach_setup in detach.o
_join_setup in join.o
"_getbytes", referenced from:
_threadlib_fifo_init in fifo.o
_sys_callback in callbacks.o
_detach_anything in detach.o
_detach_list in detach.o
_detach_symbol in detach.o
_detach_symbol in detach.o
_detach_pointer in detach.o
_detach_pointer in detach.o
_detach_float in detach.o
_detach_float in detach.o
_detach_bang in detach.o
_detach_free in detach.o
_join_symbol in join.o
_join_float in join.o
_join_pointer in join.o
_join_bang in join.o
_join_list in join.o
_join_anything in join.o
_join_anything in join.o
"_class_new", referenced from:
_threadlib_setup in threadlib.o
_sleep_setup in sleep.o
_detach_setup in detach.o
_join_setup in join.o
"_outlet_anything", referenced from:
_detach_thread in detach.o
_join_anything_callback in join.o
"_atom_getfloat", referenced from:
_detach_thread in detach.o
"_pd_new", referenced from:
_threadlib_new in threadlib.o
_sleep_new in sleep.o
_detach_new in detach.o
_join_new in join.o
"_class_addbang", referenced from:
_detach_setup in detach.o
_join_setup in join.o
"_outlet_float", referenced from:
_detach_thread in detach.o
_join_float_callback in join.o
"_class_addanything", referenced from:
_detach_setup in detach.o
_join_setup in join.o
"_class_addmethod", referenced from:
_threadlib_setup in threadlib.o
"_outlet_pointer", referenced from:
_detach_thread in detach.o
_join_pointer_callback in join.o
"_s_float", referenced from:
_sleep_new in sleep.o
"_clock_delay", referenced from:
_sys_callback in callbacks.o
"_freebytes", referenced from:
_threadlib_fifo_destroy in fifo.o
_h_run_callbacks in callbacks.o
_h_run_callbacks in callbacks.o
_detach_thread in detach.o
_detach_thread in detach.o
_detach_thread in detach.o
_detach_thread in detach.o
_detach_thread in detach.o
_detach_thread in detach.o
_join_anything_callback in join.o
_join_list_callback in join.o
"_outlet_list", referenced from:
_detach_thread in detach.o
_join_list_callback in join.o
"_clock_new", referenced from:
_h_init_callbacks in callbacks.o
"_atom_getsymbol", referenced from:
_detach_thread in detach.o
"_copybytes", referenced from:
_sys_callback in callbacks.o
_detach_anything in detach.o
_detach_list in detach.o
_join_list in join.o
"_gensym", referenced from:
_threadlib_setup in threadlib.o
_threadlib_setup in threadlib.o
_sleep_setup in sleep.o
_detach_setup in detach.o
_join_setup in join.o
"_class_addpointer", referenced from:
_detach_setup in detach.o
_join_setup in join.o
"_sys_lock", referenced from:
_sys_callback in callbacks.o
_h_run_callbacks in callbacks.o
_h_run_callbacks in callbacks.o
"_s_list", referenced from:
_join_anything_callback in join.o
"_sys_unlock", referenced from:
_sys_callback in callbacks.o
_h_run_callbacks in callbacks.o
_h_run_callbacks in callbacks.o
"_outlet_bang", referenced from:
_sleep_float in sleep.o
_detach_thread in detach.o
_join_bang_callback in join.o
"_outlet_new", referenced from:
_sleep_new in sleep.o
_detach_new in detach.o
_join_new in join.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [threadlib.pd_darwin] Error 1