[GEM-dev] ARToolkit issue on 10.4/Intel
Hans-Christoph Steiner
hans at at.or.at
Sun Dec 6 19:50:46 CET 2009
Ok, so it turns out that artoolkit needed the -fno-common, so now it
builds. I added the -fno-common to the Fink package, rebuilt and it
works now. I submitted it to Fink, so it should be included soon.
.hc
On Dec 4, 2009, at 12:24 PM, Hans-Christoph Steiner 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.
>
>
>
----------------------------------------------------------------------------
Using ReBirth is like trying to play an 808 with a long stick. -
David Zicarelli
More information about the GEM-dev
mailing list