[PD-dev] iem_t3 osx linking problem
Hans-Christoph Steiner
hans at eds.org
Sun Apr 1 22:49:30 CEST 2007
Well, the error is not OSX-specific, it's just a stanadard ld error
when it can't find symbols:
/usr/bin/ld: Undefined symbols:
_t3_bpe_setup
_t3_delay_setup
_t3_line_tilde_setup
_t3_metro_setup
_t3_sig_tilde_setup
_t3_timer_setup
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):
http://pure-data.cvs.sourceforge.net/pure-data/externals/Makefile?
view=diff&pathrev=MAIN&r1=text&tr1=1.134&r2=text&tr2=1.135&diff_format=h
.hc
On Apr 1, 2007, at 6:16 AM, Georg Holzmann wrote:
> Hallo!
>
> Has anyone of the osx developer an idea, why there are linking
> problems
> on osx (and only osx) with iem_t3 lib (see below) ?
>
> I have not really an idea ...
>
> Thanks
> LG
> Georg
>
>
> cc -DPD -ftree-vectorize -ftree-vectorizer-verbose=2 -fast -fPIC
> -mcpu=7450 -mtune=7450 -I/Users/pd/auto-build/pd-extended/pd/src -Wall
> -W -ggdb -I/sw/include -DMACOSX -DUNIX -Dunix -o
> "/Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.o"
> -c
> "/Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.c"
> cc -bundle -bundle_loader /Users/pd/auto-build/pd-extended/pd/bin/pd
> -L/sw/lib -o
> "/Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.pd_darwin"
> "/Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.o"
> -lm -lc \
> `test -f
> /Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.libs
> && cat
> /Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.libs`
> \
> `test -f
> /Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/../
> darwin/iem_t3_lib.libs
> && \
> cat
> /Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/../
> darwin/iem_t3_lib.libs`
> /usr/bin/ld: Undefined symbols:
> _t3_bpe_setup
> _t3_delay_setup
> _t3_line_tilde_setup
> _t3_metro_setup
> _t3_sig_tilde_setup
> _t3_timer_setup
> collect2: ld returned 1 exit status
> make[2]: ***
> [/Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.pd_darwin]
> Error 1
> rm
> /Users/pd/auto-build/pd-extended/externals/iemlib/iem_t3_lib/src/
> iem_t3_lib.o
> make[1]: *** [externals_install] Error 2
> make: *** [extended_install] Error 2
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------
----
I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits. - Martin
Luther King, Jr.
More information about the Pd-dev
mailing list