/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:439:7: note: in expansion of macro ‘GET_AFFINITY’
if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) {
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:439:30: error: ‘cpu_set_t’ undeclared (first use in this function)
if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) {
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:69:61: note: in definition of macro ‘GET_AFFINITY’
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:439:30: note: each undeclared identifier is reported only once for each functionit appears in
if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) {
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:69:61: note: in definition of macro ‘GET_AFFINITY’
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: In function ‘hp_init_profiler_state’:
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:689:5: warning: implicit declaration of function ‘restore_cpu_affinity’ [-Wimpliit-function-declaration]
restore_cpu_affinity(&hp_globals.prev_mask);
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: In function ‘bind_to_cpu’:
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1102:3: error: unknown type name ‘cpu_set_t’
cpu_set_t new_mask;
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1104:3: warning: implicit declaration of function ‘CPU_ZERO’ [-Wimplicit-functio-declaration]
CPU_ZERO(&new_mask);
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1105:3: warning: implicit declaration of function ‘CPU_SET’ [-Wimplicit-functiondeclaration]
CPU_SET(cpu_id, &new_mask);
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:68:40: warning: implicit declaration of function ‘sched_setaffinity’ [-Wimplicitfunction-declaration]
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1107:7: note: in expansion of macro ‘SET_AFFINITY’
if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) {
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1107:30: error: ‘cpu_set_t’ undeclared (first use in this function)
if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) {
^
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:68:61: note: in definition of macro ‘SET_AFFINITY’
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: At top level:
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1233:26: error: unknown type name ‘cpu_set_t’
int restore_cpu_affinity(cpu_set_t * prev_mask) {
^
make: *** [Makefile:192: xhprof.lo] Error 1
$ make /bin/sh /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/libtool --mode=compile cc -I. -I/cygdrive/c/wamp64/www/lafargeholcimcorporatesits/xhprof/extension -DPHP_ATOM_INC -I/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/include -I/cygdrive/c/wamp64/www/lafargeholcimcorporaesites/xhprof/extension/main -I/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension -I/usr/include/php -I/usr/include/php/main -I/usr/include/hp/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /cygdrive/c/wamp64/www/lafargeholcimcorpratesites/xhprof/extension/xhprof.c -o xhprof.lo libtool: compile: cc -I. -I/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension -DPHP_ATOM_INC -I/cygdrive/c/wamp64/www/lafargeholcimcorporatsites/xhprof/extension/include -I/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/main -I/cygdrive/c/wamp64/www/lafargeholcimcorporatesite/xhprof/extension -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/dae/lib -DHAVE_CONFIG_H -g -O2 -c /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c -DDLL_EXPORT -DPIC -o .libs/xhprof.o /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:216:3: error: unknown type name ‘cpu_set_t’ cpu_set_t prev_mask; ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:328:26: error: unknown type name ‘cpu_set_t’ int restore_cpu_affinity(cpu_set_t * prev_mask); ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: In function ‘zm_startup_xhprof’: /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:69:40: warning: implicit declaration of function ‘sched_getaffinity’ [-Wimplicitfunction-declaration]
define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask)
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:439:7: note: in expansion of macro ‘GET_AFFINITY’ if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) { ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:439:30: error: ‘cpu_set_t’ undeclared (first use in this function) if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) { ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:69:61: note: in definition of macro ‘GET_AFFINITY’
define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask)
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:439:30: note: each undeclared identifier is reported only once for each functionit appears in if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) { ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:69:61: note: in definition of macro ‘GET_AFFINITY’
define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask)
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: In function ‘hp_init_profiler_state’: /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:689:5: warning: implicit declaration of function ‘restore_cpu_affinity’ [-Wimpliit-function-declaration] restore_cpu_affinity(&hp_globals.prev_mask); ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: In function ‘bind_to_cpu’: /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1102:3: error: unknown type name ‘cpu_set_t’ cpu_set_t new_mask; ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1104:3: warning: implicit declaration of function ‘CPU_ZERO’ [-Wimplicit-functio-declaration] CPU_ZERO(&new_mask); ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1105:3: warning: implicit declaration of function ‘CPU_SET’ [-Wimplicit-functiondeclaration] CPU_SET(cpu_id, &new_mask); ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:68:40: warning: implicit declaration of function ‘sched_setaffinity’ [-Wimplicitfunction-declaration]
define SET_AFFINITY(pid, size, mask) sched_setaffinity(0, size, mask)
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1107:7: note: in expansion of macro ‘SET_AFFINITY’ if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) { ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1107:30: error: ‘cpu_set_t’ undeclared (first use in this function) if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) { ^ /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:68:61: note: in definition of macro ‘SET_AFFINITY’
define SET_AFFINITY(pid, size, mask) sched_setaffinity(0, size, mask)
/cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c: At top level: /cygdrive/c/wamp64/www/lafargeholcimcorporatesites/xhprof/extension/xhprof.c:1233:26: error: unknown type name ‘cpu_set_t’ int restore_cpu_affinity(cpu_set_t * prev_mask) { ^ make: *** [Makefile:192: xhprof.lo] Error 1