[GEM-dev] link errors on OSX-10.3

IOhannes m zmoelnig zmoelnig at iem.at
Tue Nov 21 13:23:16 CET 2006


now that the AltiVec errors have been worked around, the build still
fails on OS-X with a _very long_ traceback. see
http://autobuild.puredata.info/auto-build/2006-11-19/logs/2006-11-19_03.15.07_darwin_macosx103-powerpc_pd-extended_run-automated-builder.txt
(this URL is one line)

basically, the error looks like:
ld: multiple definitions of symbol std::__throw_underflow_error(char const*)
/usr/lib/gcc/darwin/3.3/libstdc++.a(functexcept.o) private external
definition of std::__throw_underflow_error(char const*) in section
(__TEXT,__text)
/usr/lib/libstdc++.6.dylib(single module) definition of
std::__throw_underflow_error(char const*)


i see 3 possibilities:
+ "-bundle -undefined suppress -flat_namespace" is somehow the culprit
+ we need to link against another library to import the missing symbols
+ the exception handling is broken in Gem and/or in g++-3.3 (in
conjunction with one of the used libs/frameworks)

however, i have no real idea; it would be great if somebody could shed a
light on it (and probably even a fix)


mfg.adsr
IOhannes




More information about the GEM-dev mailing list