[MINC-development] linking errors on os x

Jason Lerch minc-development@bic.mni.mcgill.ca
Sun, 18 Jan 2004 10:51:36 -0500


On Jan 16, 2004, at 2:23 PM, Vicka Corey wrote:

> hi -- i've been trying to build freesurfer on an osx 10.3 laptop.  i 
> am using
> the minc 1.2 cd from the workshop, and am running into some errors:
>
> building libfsgdf stuff
> /usr/bin/libtool: internal link edit command failed
> ld: warning prebinding disabled because dependent library: 
> /sw/lib/libtiff.3.dylib is not prebound
> ld: common symbols not allowed with MH_DYLIB output format with the 
> -multi_module option
> /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/libnetcdf.a(v2i.o) definition of common 
> _cdf_routine_name (size 4)
> /usr/pubsw/lib/libminc.a(minc_globdef.o) definition of common 
> _minc_callers_ncopts (size 4)
> gmake[2]: *** [tcl] Error 1
>
>
> any ideas?

Might be the OSX namespace issue. Try
setenv CC 'gcc -flat_namespace'
(or the same for CXX if you are using c++).

No idea if this is your problem, but it is worh a try.

>  also, any sign of the bugfixes from awhile back...?
>
Working on it as I write this.

Jason