Thanks guys...the pleasures of working with multiple architectures :-)

On Nov 4, 2010, at 10:56 AM, Jed Brown wrote:

> On Thu, Nov 4, 2010 at 09:47, Bobby Philip <philipb at ornl.gov> wrote:
> Is this just an extern C type issue?
> 
> No, it had to do with Sun's C compiler defining __func__, but their C++ 
> compiler does not unless you give a flag that, when set, caused an internal 
> compiler error when building Prometheus.  So I made configure test for things 
> like __func__ separately for C and C++, but of course we can only test for 
> the C++ version if PETSc's configure has access to a C++ compiler.  I forgot 
> to define the C++ macro when configure does not see a C++ compiler, which 
> caused the undefined symbol when later building user code with a C++ 
> compiler.  It's fixed now.
> 
> Jed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101104/2dea88cd/attachment.html>

Reply via email to