Try the Apple suggestion first, and then the others? 

I also never got anything out of the artoolkit object.

On Fri, Dec 4, 2009 at 12:24 PM, Hans-Christoph Steiner <hans@at.or.at> wrote:

So I installed artoolkit from Fink, and Gem gives this build error, which is new to me.  Is it worth trying to get artoolkit support into the 0.92 build in the current Pd-extended builds?

g++ -o Gem.pd_darwin    -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL   ./Objects/*.o -lAR -L/sw/lib -L/sw/lib -lstdc++ -ldl -lz -lm   -lpthread -L/Users/pd/auto-build/pd-extended/pd/bin -L/sw/lib -Wl,-framework,OpenGL -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -lobjc -lfreetype -lz -lftgl -L/sw/lib -lgmerlin_avdec -lgavl
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
/sw/lib/libAR.a(arUtil.o) definition of common _arParam (size 144)
/sw/lib/libAR.a(arUtil.o) definition of common _arImXsize (size 16)
/sw/lib/libAR.a(arUtil.o) definition of common _arImYsize (size 16)
/sw/lib/libAR.a(arUtil.o) definition of common _arsMatR2L (size 96)
/sw/lib/libAR.a(arUtil.o) definition of common _arsParam (size 368)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed
make[2]: *** [Gem.pd_darwin] Error 1

An Apple person recommends adding -fno-common to the build:
http://gcc.gnu.org/ml/gcc/2005-06/msg00378.html

Others recommend not using multi_module mode, and sending -single_module:
http://lists.apple.com/archives/Unix-porting/2006/Aug/msg00024.html
http://doc.trolltech.com/qt3/platforms/osx.html

.hc




----------------------------------------------------------------------------

"[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr.




_______________________________________________
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev