Making all in tools
depbase=`echo
memory_benchmark.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.
-I.. -g -O2 -MT memory_benchmark.o -MD -MP -MF
$depbase.Tpo -c -o memory_benchmark.o memory_benchmark.cc
&&\
mv -f $depbase.Tpo
$depbase.Po
memory_benchmark.cc:136:9:
error: unknown type name 'cpu_set_t'
cpu_set_t
cpus;
^
memory_benchmark.cc:139:54:
error: use of undeclared identifier 'cpu_set_t'
pthread_setaffinity_np(ctx[c].thread, sizeof(cpu_set_t),
&cpus);
^
memory_benchmark.cc:170:20:
warning: format specifies type 'unsigned int' but the
argument has
type 'int64_t' (aka 'long long') [-Wformat]
opname,
total, (cores*(double)total)/LEN, opname, cores);
^~~~~
memory_benchmark.cc:207:20:
warning: format specifies type 'unsigned int' but the
argument has
type 'unsigned long long' [-Wformat]
opname, t2
- t1, ((double)(t2 - t1))/LEN, opname);
^~~~~~~
memory_benchmark.cc:213:1:
error: unknown type name 'cpu_set_t'
cpu_set_t CPUs;
CPU_ZERO(&CPUs);
^
2 warnings and 3
errors generated.
make[2]: ***
[memory_benchmark.o] Error 1
make[1]: ***
[all-recursive] Error 1
make: *** [all] Error
2