Re: [AMBER] Undefined symbols: "___builtin___strcpy_chk" and more

From: case <case.biomaps.rutgers.edu>
Date: Fri, 30 Apr 2010 10:41:11 -0400

On Fri, Apr 30, 2010, Yu Chen wrote:
>
> I am trying to recompile Amber10/AmberTools1.2 since we have upgraded
> from OS X leopard to Snow Leopard. While everything worked on Leopard,
> now it doesn't compile on Snow leopard. Any help is greatly appreciated!
>
> System: OS X 10.6.2 with Xcode 3.2.2, Intel compiler 10.1.014, Amber 10,
> AmberTools 1.2:
>
> "./configure_at icc" finished just fine. When I started "make -f Makefile_at", it gives out following errors:
> #######################################################################
> ...
> icc -c -wd117,177,266,880,1011 -DBINTRAJ -DSTAND_ALONE eval.c
> icc -o ucpp mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
> Undefined symbols:
> "___builtin___strcpy_chk", referenced from:
> _handle_include in cpp.o
> _handle_include in cpp.o
....


I am no expert on Intel on Mac's. What version of gcc is installed on your
machine? Googling on "__builtin___strcpy_chk" gives various ideas, e.g.:

   http://software.intel.com/en-us/forums/showthread.php?t=67984

which suggests that the Intel compilers internally rely on particular versions
of gcc libraries, and that this sort of error occurs when there is a mismatch.
Does your Intel compiler work for other codes? Do the installation
requirements give any hints?

Does everything work with the gnu compilers? There is very little reason to
use Intel compilers for AmberTools if you have gnu compilers available: an
exception might be if you are an advanced user running very long NAB
simulations.

....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Apr 30 2010 - 08:00:06 PDT
Custom Search