Hi! Good Day!
I got an error while compiling my server.
In file included from vendor.c:21:0:
vendor.c: In function ‘plugin_init’:
../plugins/HPMHooking.h:53:11: error: ‘HPMHOOK_pre_unit_walktoxy_timer’ undeclared (first use in this function)
(void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:68:2: note: in expansion of macro ‘addHookPre’
addHookPre(unit, walktoxy_timer, unit_walktoxy_timer_pre );
^
../plugins/HPMHooking.h:53:11: note: each undeclared identifier is reported only once for each function it appears in
(void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:68:2: note: in expansion of macro ‘addHookPre’
addHookPre(unit, walktoxy_timer, unit_walktoxy_timer_pre );
^
../plugins/HPMHooking.h:53:51: error: expected ‘)’ before numeric constant
(void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:68:2: note: in expansion of macro ‘addHookPre’
addHookPre(unit, walktoxy_timer, unit_walktoxy_timer_pre );
^
../plugins/HPMHooking.h:53:63: warning: left-hand operand of comma expression has no effect [-Wunused-value]
(void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:68:2: note: in expansion of macro ‘addHookPre’
addHookPre(unit, walktoxy_timer, unit_walktoxy_timer_pre );
^
../plugins/HPMHooking.h:63:11: error: ‘HPMHOOK_post_unit_walktoxy_timer’ undeclared (first use in this function)
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:69:2: note: in expansion of macro ‘addHookPost’
addHookPost(unit, walktoxy_timer, unit_walktoxy_timer_post );
^
../plugins/HPMHooking.h:63:52: error: expected ‘)’ before numeric constant
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:69:2: note: in expansion of macro ‘addHookPost’
addHookPost(unit, walktoxy_timer, unit_walktoxy_timer_post );
^
../plugins/HPMHooking.h:63:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
(void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
^
vendor.c:69:2: note: in expansion of macro ‘addHookPost’
addHookPost(unit, walktoxy_timer, unit_walktoxy_timer_post );
^
please help.