Also, Peter-
Following what you'd mentioned about difficulties with the Clang compiler, I tried replacing all the 'cc's in the Makefiles (all the ones I could find, at least) with 'gcc', (still using the main 10.6.8-mac Makefile). However, I still got the same error, oddly enough, at the end, :
gcc -O2 -DDARWIN -m64 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -no-cpp-precomp -UDONT_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/sw/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -Wl,-x -Wl,-multiply_defined -Wl,warning -Wl,-bind_at_load -lmrix -lcoxplot -lmri -lvolpack libXmHTML.a libjpeg.a -lmri -lf2c /sw/lib/libXm.a -lXt -lpng -ljpeg -lXft -lfontconfig -liconv -lXmu -lXp -lXpm -lXext -lX11 -lz /sw/lib/libexpat.a -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
--pt