I'm trying to install mpatrol on Sun Solaris 5.10 and am getting the
following error when I do gmake:
g++ -I../../src -I../../tools -O3 -fno-inline-functions -c
../../src/memory.c
In file included from ../../src/memory.c:55:
/usr/include/sys/mman.h:289: error: redefinition of `struct meminfo'
../../src/memory.h:64: error: previous definition of `struct meminfo'
../../src/memory.c: In function `memaccess __mp_memquery(meminfo*,
void*)':
../../src/memory.c:769: error: ISO C++ forbids cast to non-reference
type used as lvalue
I'll appreciate some help.
Regards,
Asra