Repository: trafodion Updated Branches: refs/heads/master e3ab179f6 -> 0db94eaf7
TRAFODION-3111 CentOS 7 build error Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/ac974faa Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/ac974faa Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/ac974faa Branch: refs/heads/master Commit: ac974faaa9523bd385efe5d73fff9766453e47be Parents: 07e94f3 Author: Liu Ming <ovis_p...@sina.com> Authored: Tue Jun 19 00:58:24 2018 +0000 Committer: Liu Ming <ovis_p...@sina.com> Committed: Tue Jun 19 00:58:24 2018 +0000 ---------------------------------------------------------------------- core/sqf/monitor/linux/cluster.cxx | 1 + core/sqf/monitor/linux/pnode.cxx | 2 ++ core/sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/ac974faa/core/sqf/monitor/linux/cluster.cxx ---------------------------------------------------------------------- diff --git a/core/sqf/monitor/linux/cluster.cxx b/core/sqf/monitor/linux/cluster.cxx index 8bf47c3..4d0d3c2 100644 --- a/core/sqf/monitor/linux/cluster.cxx +++ b/core/sqf/monitor/linux/cluster.cxx @@ -42,6 +42,7 @@ using namespace std; #include <sys/resource.h> #include <errno.h> #include <limits.h> +#include <unistd.h> #include "localio.h" #include "mlio.h" http://git-wip-us.apache.org/repos/asf/trafodion/blob/ac974faa/core/sqf/monitor/linux/pnode.cxx ---------------------------------------------------------------------- diff --git a/core/sqf/monitor/linux/pnode.cxx b/core/sqf/monitor/linux/pnode.cxx index 73b0246..4a4b8c4 100644 --- a/core/sqf/monitor/linux/pnode.cxx +++ b/core/sqf/monitor/linux/pnode.cxx @@ -32,6 +32,8 @@ #include <sys/time.h> #include <string.h> #include <iostream> +#include <sys/types.h> +#include <unistd.h> using namespace std; http://git-wip-us.apache.org/repos/asf/trafodion/blob/ac974faa/core/sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp ---------------------------------------------------------------------- diff --git a/core/sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp b/core/sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp index eb5a039..a425bca 100644 --- a/core/sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp +++ b/core/sqf/src/seatrans/tm/hbasetmlib2/testrun.cpp @@ -41,7 +41,7 @@ int main () { short lv_dtmid = 0; char *errStr = NULL; int errStrLen = 0; - long ctrlPtNum; + long ctrlPtNum = 0; CHbaseTM *lp_myHbaseTM = 0; lp_myHbaseTM = new CHbaseTM();