warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] 1 warning generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] 1 warning generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] 1 warning generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] 1 warning generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] 1 warning generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] 1 warning generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/signalhandler.cc:172:6: warning: unused function 'DumpSignalInfo' [-Wunused-function] void DumpSignalInfo(int signal_number, siginfo_t *siginfo) { ^ 2 warnings generated. warning: unknown warning option '-Wno-deprecated-register'; did you mean '-Wno-deprecated'? [-Wunknown-warning-option] In file included from /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:58: /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/googletest.h:61:17: error: expected namespace name using namespace gflags; ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:81:17: error: expected namespace name using namespace gflags; ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:243:3: error: use of undeclared identifier 'gflags' gflags::int64 base_num_infos = LogMessage::num_messages(GLOG_INFO); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:244:3: error: use of undeclared identifier 'gflags' gflags::int64 base_num_warning = LogMessage::num_messages(GLOG_WARNING); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:245:3: error: use of undeclared identifier 'gflags' gflags::int64 base_num_errors = LogMessage::num_messages(GLOG_ERROR); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:245:17: error: use of undeclared identifier 'base_num_errors'; did you mean 'base_num_infos'? gflags::int64 base_num_errors = LogMessage::num_messages(GLOG_ERROR); ^~~~~~~~~~~~~~~ base_num_infos /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:243:17: note: 'base_num_infos' declared here gflags::int64 base_num_infos = LogMessage::num_messages(GLOG_INFO); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:280:14: error: use of undeclared identifier 'base_num_errors'; did you mean 'base_num_infos'? CHECK_EQ(base_num_errors + 15, LogMessage::num_messages(GLOG_ERROR)); ^ ./src/glog/logging.h:765:48: note: expanded from macro 'CHECK_EQ' #define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2) ^ ./src/glog/logging.h:741:26: note: expanded from macro 'CHECK_OP' CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal) ^ ./src/glog/logging.h:722:44: note: expanded from macro 'CHECK_OP_LOG' google::GetReferenceableValue(val1), \ ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:243:17: note: 'base_num_infos' declared here gflags::int64 base_num_infos = LogMessage::num_messages(GLOG_INFO); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:568:12: error: use of undeclared identifier 'gflags' auto_ptr sptr(new gflags::int64); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:569:3: error: use of undeclared identifier 'gflags' gflags::int64* ptr = DCHECK_NOTNULL(sptr.get()); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:569:39: error: use of undeclared identifier 'sptr'; did you mean 'ptr'? gflags::int64* ptr = DCHECK_NOTNULL(sptr.get()); ^ ./src/glog/logging.h:977:43: note: expanded from macro 'DCHECK_NOTNULL' #define DCHECK_NOTNULL(val) CHECK_NOTNULL(val) ^ ./src/glog/logging.h:776:76: note: expanded from macro 'CHECK_NOTNULL' google::CheckNotNull(__FILE__, __LINE__, "'" #val "' Must be non NULL", (val)) ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:569:18: note: 'ptr' declared here gflags::int64* ptr = DCHECK_NOTNULL(sptr.get()); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:598:3: error: use of undeclared identifier 'gflags' gflags::int64 t; ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:605:34: error: use of undeclared identifier 'gflags' CHECK_NOTNULL(reinterpret_cast(ptr)); ^ ./src/glog/logging.h:776:76: note: expanded from macro 'CHECK_NOTNULL' google::CheckNotNull(__FILE__, __LINE__, "'" #val "' Must be non NULL", (val)) ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:740:11: error: use of undeclared identifier 'gflags' virtual gflags::uint32 LogSize() { return data.length(); } ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:748:30: error: cannot initialize a parameter of type 'google::base::Logger *' with an rvalue of type 'MyLogger *' base::SetLogger(GLOG_INFO, &my_logger); ^~~~~~~~~~ ./src/glog/logging.h:1517:71: note: passing argument to parameter 'logger' here extern GOOGLE_GLOG_DLL_DECL void SetLogger(LogSeverity level, Logger* logger); ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:764:47: error: use of undeclared identifier 'gflags' static void TestOneTruncate(const char *path, gflags::int64 limit, gflags::int64 keep, ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:764:68: error: use of undeclared identifier 'gflags' static void TestOneTruncate(const char *path, gflags::int64 limit, gflags::int64 keep, ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:765:29: error: use of undeclared identifier 'gflags' gflags::int64 dsize, gflags::int64 ksize, gflags::int64 expect) { ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:765:50: error: use of undeclared identifier 'gflags' gflags::int64 dsize, gflags::int64 ksize, gflags::int64 expect) { ^ /wrkdirs/usr/ports/sysutils/osquery/work/osquery-1.4.5/third-party/glog/src/logging_unittest.cc:765:71: error: use of undeclared identifier 'gflags' gflags::int64 dsize, gflags::int64 ksize, gflags::int64 expect) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake[4]: *** [logging_unittest-logging_unittest.o] Error 1