While some may think the fix for this is to suppress deprecated warning OR to "fix" ftime()... the actual fix for this is to start using MONOTONIC clock for the related functions:
(c)rafaeldtinoco@clufocaldev:~/.../sources/ubuntu/pacemaker$ git diff HEAD
diff --git a/configure.ac b/configure.ac
index a4c8ae93..b7edea57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -981,7 +981,7 @@ AC_CHECK_DECLS([CLOCK_MONOTONIC], [], [], [[
# will only be applied in 2.0.3 release and will become opt-out since
# (which hopefully explains the name of the macro as it will start to
# make more sense then, and the continuity is important)
-CPPFLAGS="-DPCMK_TIME_EMERGENCY_CGT $CPPFLAGS"
+# CPPFLAGS="-DPCMK_TIME_EMERGENCY_CGT $CPPFLAGS"
While some may think the fix for this is to suppress deprecated warning OR to "fix" ftime()... the actual fix for this is to start using MONOTONIC clock for the related functions:
(c)rafaeldtinoc o@clufocaldev: ~/.../sources/ ubuntu/ pacemaker$ git diff HEAD DECLS([ CLOCK_MONOTONIC ], [], [], [[ "-DPCMK_ TIME_EMERGENCY_ CGT $CPPFLAGS" "-DPCMK_ TIME_EMERGENCY_ CGT $CPPFLAGS"
diff --git a/configure.ac b/configure.ac
index a4c8ae93..b7edea57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -981,7 +981,7 @@ AC_CHECK_
# will only be applied in 2.0.3 release and will become opt-out since
# (which hopefully explains the name of the macro as it will start to
# make more sense then, and the continuity is important)
-CPPFLAGS=
+# CPPFLAGS=
dnl ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
This solves the building issue.