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.0... (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
On Nov 21, 2006, at 7:23 AM, IOhannes m zmoelnig wrote:
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)
I can't really say exactly what it is, but I can tell you that the rest of Pd-extended is compiled with -bundle -bundle_loader /path/to/ pd, which implies a two-level namespace.
.hc
------------------------------------------------------------------------
Using ReBirth is like trying to play an 808 with a long stick. - David Zicarelli