On Apr 2, 2007, at 2:01 PM, Georg Holzmann wrote:
Hallo!
Well, the error is not OSX-specific, it's just a stanadard ld error when it can't find symbols:
Okay, I understand - the problem is that linking on osx works different than on linux, because on linux it works ...
That's because it's trying to build iem_t3_lib.c, which is the lib glue file and not an external, and it's not linking in the .o files for each class. This change was made here (first one):
Thanks - I fixed it !
There are some other related issues. It looks like you changed the regexps which chose which files to build. Those regexps were there so that the library glue files wouldn't be compiled and cause problems like this. Some examples of these kinds of files are:
externals/cxc/cx.c externals/iemlib/iemlib1/src/iemlib1.c externals/iemlib/iemlib3/src/iemlib2.c externals/iemlib/iem_t3_lib/src/iem_t3_lib.c
Here's the current error:
cc -DPD -O2 -I/Users/hans/cvs/pure-data/pd/src -Wall -W -ggdb -I/sw/ include -DMACOSX -DUNIX -Dunix -o "/Users/hans/cvs/pure-data/ externals/iemlib/iemlib1/src/iemlib1.o" -c "/Users/hans/cvs/pure-data/ externals/iemlib/iemlib1/src/iemlib1.c" cc -bundle -bundle_loader /Users/hans/cvs/pure-data/pd/bin/pd -L/sw/ lib -o "/Users/hans/cvs/pure-data/externals/iemlib/iemlib1/src/ iemlib1.pd_darwin" "/Users/hans/cvs/pure-data/externals/iemlib/ iemlib1/src/iemlib1.o" -lm -lc \ `test -f /Users/hans/cvs/pure-data/externals/iemlib/iemlib1/ src/iemlib1.libs && cat /Users/hans/cvs/pure-data/externals/iemlib/ iemlib1/src/iemlib1.libs` \ `test -f /Users/hans/cvs/pure-data/externals/iemlib/iemlib1/ src/../darwin/iemlib1.libs && \ cat /Users/hans/cvs/pure-data/externals/iemlib/ iemlib1/src/../darwin/iemlib1.libs` /usr/bin/ld: Undefined symbols: _FIR_tilde_setup _biquad_freq_resp_setup _db2v_setup _f2note_setup _filter_tilde_setup _forpp_setup _gate_setup _hml_shelf_tilde_setup _iem_cot4_tilde_setup _iem_delay_tilde_setup _iem_pow4_tilde_setup _iem_sqrt4_tilde_setup _lp1_t_tilde_setup _mov_avrg_kern_tilde_setup _para_bp2_tilde_setup _peakenv_tilde_setup _prvu_tilde_setup _pvu_tilde_setup _rvu_tilde_setup _sin_phase_tilde_setup _soundfile_info_setup _split_setup _v2db_setup _vcf_filter_tilde_setup collect2: ld returned 1 exit status make: *** [/Users/hans/cvs/pure-data/externals/iemlib/iemlib1/src/ iemlib1.pd_darwin] Error 1 rm /Users/hans/cvs/pure-data/externals/iemlib/iemlib1/src/iemlib1.o
.hc
LG Georg
------------------------------------------------------------------------ ----
Using ReBirth is like trying to play an 808 with a long stick. - David Zicarelli