[MINC-development] OS X
Vicka Corey
minc-development@bic.mni.mcgill.ca
Fri, 28 Feb 2003 17:27:39 -0500
Just another note on minc 1.1 for OS X:
On Thu, Feb 27, 2003 at 06:36:27PM -0500, Steve ROBBINS wrote:
> > Actually minc 1.1 per se seems to have compiled fine.
>
> If you run into further snags, do post them here.
Today I set out to link Freesurfer with the 1.1 libminc.a, and it was
not happy when I wanted to make dynamic libraries:
ld: common symbols not allowed with MH_DYLIB output format
ld: common symbols not allowed with MH_DYLIB output format
/usr/pubsw/lib/libminc.a(minc_globdef.o) definition of common _minc_call_depth (size 4)
/usr/pubsw/lib/libminc.a(minc_globdef.o) definition of common _minc_trash_var (size 4)
/usr/pubsw/lib/libminc.a(minc_globdef.o) definition of common _minc_callers_ncopts (size 4)
/usr/bin/libtool: internal link edit command failed
I added -fno-common to CFLAGS in the minc Makefile, which seems to have
fixed it.
--vicka