procps-ng 3.3.13 build error
Hi there,
I am trying to build procps-ng 3.3.13, and I get this error:
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -include ./config.h -I. -I./include -DLOCALEDIR=\"/usr/share/locale\" -Iproc -g0 -Os -march=i586 -mtune=i686 -MT proc/numa.lo -MD -MP -MF proc/.deps/numa.Tpo -c proc/numa.c -fPIC -DPIC -o proc/.libs/numa.o
In file included from proc/numa.c:25:0:
proc/numa.h:27:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
void numa_init (void);
^~~~
proc/numa.c:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
static int null_max_node (void) { return -1; }
^~~~~~
proc/numa.c:58:33: error: 'null_max_node' undeclared here (not in a function); did you mean 'numa_max_node'?
int (*numa_max_node) (void) = null_max_node;
^~~~~~~~~~~~~
numa_max_node
make[2]: *** [Makefile:1512: proc/numa.lo] Error 1
make[2]: Leaving directory '/usr/src/qi/build/procps-ng-3.3.13'
make[1]: *** [Makefile:1837: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/qi/build/procps-ng-3.3.13'
make: *** [Makefile:1015: all] Error 2
Edited by Craig Small