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

From: Yu Chen <chen.hhmi.umbc.edu>
Date: Fri, 30 Apr 2010 11:25:35 -0400

Thanks Case,

>>
>> 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?

hmm... I googled for "___builtin___strcpy_chk" with no results (three underscores before builtin). Are they the same?


> 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.

I haven't tried gnu compilers. We are using Intel's compilers because it's recommended by Ross, since we are installing it on a cluster and mainly use parallel version of the functions.
But I will try gun compilers if intel compilers provide no benefits.

Best regards,
Chen

> ....dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>


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