bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Error compiling on OSX


From: Elias Mårtenson
Subject: Re: [Bug-apl] Error compiling on OSX
Date: Mon, 20 Oct 2014 22:43:49 +0800

A followup:

It seems as though HAVE_AFFINITY_NP is defined to "no", which means that #ifdef HAVE_AFFINITY_NP will evaluate to true.

Instead, it should be set to 0 when disabled, and the #ifdef should be changed to #if.

Regards,
Elias

On 20 October 2014 22:38, Elias Mårtenson <address@hidden> wrote:
I haven't tried compiling on OSX in a while. It appears that the multicore support introduced a new error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -g -O2 -MT template_OP2.lo -MD -MP -MF .deps/template_OP2.Tpo -c template_OP2.cc  -fno-common -DPIC -o .libs/template_OP2.o
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-rdynamic'
clang: warning: argument unused during compilation: '-rdynamic'
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -rdynamic -g -O2 -MT template_OP1.lo -MD -MP -MF .deps/template_OP1.Tpo -c template_OP1.cc  -fno-common -DPIC -o .libs/template_OP1.o
clang: warning: argument unused during compilation: '-rdynamic'
In file included from template_F12.cc:22:
In file included from ./template.hh:25:
In file included from ./../Value.icc:24:
In file included from ./../Value.hh:36:
./../Parallel.hh:50:10: fatal error: 'ext/atomicity.h' file not found
#include <ext/atomicity.h>
         ^

Regrads,
Elias


reply via email to

[Prev in Thread] Current Thread [Next in Thread]