AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 29, 2015 10:52AM
Hi All,

I've been trying to build AFNI on a Yosemite + MacPorts machine. I started with a functioning 10.8 Makefile, and on the first pass through, I got this error when trying to build the main AFNI binary:



/bin/rm -f afni
/usr/bin/gcc -O2 -m64 -DDARWIN -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DDONT_USE_MCW_MALLOC -o afni afni.o afni_func.o afni_widg.o afni_warp.o afni_fimmer.o afni_slice_short.o afni_slice_float.o afni_filer.o afni_slice_byte.o afni_slice_complex.o afni_pcor.o afni_pcor_float.o afni_transforms.o pbar.o afni_graph.o afni_plugin.o afni_cluster.o parser.o parser_int.o afni_plugout.o afni_fimfunc.o afni_setup.o afni_receive.o mcw_graf.o afni_splash.o afni_pplug_env.o afni_pplug_2dfunc.o afni_friends.o afni_ttren.o afni_pplug_1dfunc.o afni_driver.o afni_niml.o afni_sumafunc.o afni_slice_rgbyte.o afni_version.o afni_lock.o afni_vol2surf.o afni_pplug_instacorr.o afni_pplug_instacalc.o -m64 -dynamic -L. -L/opt/local/lib -L/usr/lib -L/usr/X11R6/lib -L/opt/local/lib -Wl,-x -Wl,-multiply_defined -Wl,warning -Wl,-bind_at_load -lmrix -lcoxplot -lmri -lvolpack libXmHTML.a libjpeg.a -lmri -lf2c -lXm -ljpeg -lXt -lXft -lfontconfig -lpng -liconv -lXmu -lXp -lXpm -lXext -lX11 -lz -lexpat -lm -lc -lm -lc
Undefined symbols for architecture x86_64:
"_xxMRI_rotfunc", referenced from:
_mri_rotate in libmri.a(mri_warp.o)
_mri_rotate_bilinear in libmri.a(mri_warp.o)
"_xxMRI_scaler", referenced from:
_mri_resize in libmri.a(mri_warp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [afni] Error 1



I tracked the functions down, and mri_rotate is in mri_warp.c, which is compiled into libmri. Is this a linking order issue with clang?

Thanks all!
Subject Author Posted

Building on Yosemite

roopchansinghv January 29, 2015 10:52AM

Re: Building on Yosemite

Isaac Schwabacher January 29, 2015 11:39AM

Re: Building on Yosemite

roopchansinghv January 29, 2015 03:03PM

Re: Building on Yosemite

Isaac Schwabacher January 29, 2015 03:24PM

Re: Building on Yosemite

roopchansinghv February 01, 2015 01:13PM

Re: Building on Yosemite

woot May 11, 2015 04:27PM

Re: Building on Yosemite

woot May 11, 2015 04:27PM

Re: Building on Yosemite

Isaac Schwabacher May 11, 2015 04:57PM