Re: _alloca undefined symbol (OS X/XL compiler)

From: Gengbin Zheng (
Date: Mon Apr 05 2004 - 00:20:45 CDT

Hi Mike,

 please try compile Charm++ with "xlc" build option:

 ./build charm++ net-ppc-darwin xlc ...

 This should take out the link error about _alloca.


On Fri, 2 Apr 2004, Mike McCallum wrote:

> I'm trying to compile NAMD/charm++ under OSX 10.3.3 with IBM XLc/c++
> and XLf compilers, and it is actually going pretty well, with the
> exception of this undefined symbol. Not being a whiz here, I tried to
> look about to find what is the library referencing this symbol, but I
> have only found some references to some HCRevision (under AIX) and
> another vague reference to libucb. Both the test programs
> (charm/net-ppc-darwin/pgms/charm++/megatest/ , etc) and main build
> ('./config tcl fftw plugins MacOSX-PPC-c++ etc) fail in this manner.
> With the rs6k config ( and so on) files, there is a '-lhC'
> library, but this library is absent from my OSX version of XLC/F. I
> used the rs6k configs as a guide because of the IBM compiler.
> Any hints here would be greatly appreciated!
> Cheers,
> Mike
> --
> C. Michael McCallum
> Associate Professor
> Department of Chemistry, UOP
> mmccallum .at. pacific .dot. edu (209) 946-2636 v /
> (209) 946-2607 fax

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:38:33 CST