ScaCTM icon indicating copy to clipboard operation
ScaCTM copied to clipboard

There is an error when make -j in fold src

Open zhaofangyu opened this issue 9 years ago • 4 comments

screenshot from 2015-04-09 15 30 30

I cannot solve this.

zhaofangyu avatar Apr 09 '15 07:04 zhaofangyu

screenshot from 2015-04-09 15 35 04

zhaofangyu avatar Apr 09 '15 07:04 zhaofangyu

Hi, could you attach the entire output and your working environment? (OS, g++ version, etc)

xunzheng avatar Apr 09 '15 20:04 xunzheng

Yeah. Ubuntu 14.04.2 LTS. $g++ --version g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2

The whole output is as following (so long ...): fangyu@fangyu-Vostro-220-Series:~/workspace/ScaCTM/src$ make -j /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/commons/Context.cc -o /home/fangyu/workspace/ScaCTM/src/commons/Context.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc -o /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc -o /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc -o /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc -o /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc -o /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc -o /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.o /home/fangyu/workspace/ScaCTM/third_party/third_party/bin/mpicxx -c -MMD -MP -O4 -m64 -I/home/fangyu/workspace/ScaCTM/src -I/home/fangyu/workspace/ScaCTM/src/commons -I/home/fangyu/workspace/ScaCTM/src/commons/Server -I/home/fangyu/workspace/ScaCTM/src/Unigram_Model -I/home/fangyu/workspace/ScaCTM/third_party/third_party/include /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.cc -o /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.o echo "export LD_LIBRARY_PATH=/home/fangyu/workspace/ScaCTM/third_party/third_party/lib:$LD_LIBRARY_PATH" > /home/fangyu/workspace/ScaCTM/scripts/setenv_bash /bin/bash: /home/fangyu/workspace/ScaCTM/scripts/setenv_bash: Permission denied make: * [setenv] Error 1 make: * Waiting for unfinished jobs.... In file included from /usr/include/c++/4.8/cstdint:35:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the
^ In file included from /usr/include/c++/4.8/cstdint:35:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the
^ In file included from /usr/include/c++/4.8/cstdint:35:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:30: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the
^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:290:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t imaxabs (intmax_t n) __THROW __attribute ((const)); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:290:8: error: ‘intmax_t’ does not name a type extern intmax_t imaxabs (intmax_t n) __THROW __attribute ((const)); ^ /usr/include/inttypes.h:293:27: error: reference to ‘intmax_t’ is ambiguous extern imaxdiv_t imaxdiv (intmax_t numer, intmax_t __denom) ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:293:45: error: reference to ‘intmax_t’ is ambiguous extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /usr/include/features.h:374:0, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426, from /usr/include/c++/4.8/string:38, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Checkpointer.h:30, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Local_Checkpointer.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:25: /usr/include/inttypes.h:294:7: error: expected ‘,’ or ‘;’ before ‘throw’ __THROW __attribute ((const)); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:297:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t strtoimax (const char **restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:297:8: error: ‘intmax_t’ does not name a type extern intmax_t strtoimax (const char *__restrict __nptr, ^ /usr/include/inttypes.h:301:8: error: reference to ‘uintmax_t’ is ambiguous extern uintmax_t strtoumax (const char *__restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:301:8: error: ‘uintmax_t’ does not name a type extern uintmax_t strtoumax (const char *__restrict __nptr, ^ /usr/include/inttypes.h:305:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:305:8: error: ‘intmax_t’ does not name a type extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, ^ /usr/include/inttypes.h:310:8: error: reference to ‘uintmax_t’ is ambiguous extern uintmax_t wcstoumax (const _gwchar_t __restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:310:8: error: ‘uintmax_t’ does not name a type extern uintmax_t wcstoumax (const __gwchar_t __restrict __nptr, ^ /usr/include/inttypes.h:323:17: error: reference to ‘intmax_t’ is ambiguous __extern_inline intmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:323:17: error: ‘intmax_t’ does not name a type __extern_inline intmax_t ^ /usr/include/inttypes.h:335:17: error: reference to ‘uintmax_t’ is ambiguous __extern_inline uintmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:335:17: error: ‘uintmax_t’ does not name a type __extern_inline uintmax_t ^ /usr/include/inttypes.h:347:17: error: reference to ‘intmax_t’ is ambiguous __extern_inline intmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:347:17: error: ‘intmax_t’ does not name a type __extern_inline intmax_t ^ /usr/include/inttypes.h:361:17: error: reference to ‘uintmax_t’ is ambiguous __extern_inline uintmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/inttypes.h:361:17: error: ‘uintmax_t’ does not name a type __extern_inline uintmax_t ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:55:9: error: reference to ‘int64_t’ is ambiguous typedef int64_t int64; ^ In file included from /usr/include/stdlib.h:314:0, from /usr/include/c++/4.8/cstdlib:72, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config/platform/linux.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config.hpp:53, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map_fwd.hpp:13, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t __intN_t (64, __DI); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t typedef ::boost::long_long_type int64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:55:9: error: ‘int64_t’ does not name a type typedef int64_t int64; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:56:9: error: reference to ‘uint64_t’ is ambiguous typedef uint64_t uint64; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:56:9: error: ‘uint64_t’ does not name a type typedef uint64_t uint64; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:128:41: error: ‘int64’ does not name a type extern bool RegisterFlagValidator(const int64 flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:128:48: error: ISO C++ forbids declaration of ‘flag’ with no type [-fpermissive] extern bool RegisterFlagValidator(const int64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:129:68: error: ‘int64’ has not been declared bool (validate_fn)(const char, int64)); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:130:41: error: ‘uint64’ does not name a type extern bool RegisterFlagValidator(const uint64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:130:49: error: ISO C++ forbids declaration of ‘flag’ with no type [-fpermissive] extern bool RegisterFlagValidator(const uint64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:131:68: error: ‘uint64’ has not been declared bool (validate_fn)(const char, uint64)); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:315:8: error: ‘int64’ does not name a type extern int64 Int64FromEnv(const char varname, int64 defval); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:316:8: error: ‘uint64’ does not name a type extern uint64 Uint64FromEnv(const char *varname, uint64 defval); ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:94:9: error: reference to ‘int64_t’ is ambiguous typedef int64_t int64; ^ In file included from /usr/include/stdlib.h:314:0, from /usr/include/c++/4.8/cstdlib:72, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config/platform/linux.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config.hpp:53, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map_fwd.hpp:13, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t intN_t (64, __DI); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t typedef ::boost::long_long_type int64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:94:9: error: ‘int64_t’ does not name a type typedef int64_t int64; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:95:9: error: reference to ‘uint64_t’ is ambiguous typedef uint64_t uint64; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:95:9: error: ‘uint64_t’ does not name a type typedef uint64_t uint64; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:27:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1229:10: error: ‘int64’ does not name a type static int64 num_messages(int severity); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1250:10: error: ‘int64’ does not name a type static int64 num_messages[NUM_SEVERITIES]; // under log_mutex ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1460:43: error: ‘int64’ has not been declared int64 limit, int64 keep); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1460:56: error: ‘int64’ has not been declared int64 limit, int64 keep); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:290:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t imaxabs (intmax_t n) __THROW __attribute ((const)); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:290:8: error: ‘intmax_t’ does not name a type extern intmax_t imaxabs (intmax_t n) __THROW __attribute ((const)); ^ /usr/include/inttypes.h:293:27: error: reference to ‘intmax_t’ is ambiguous extern imaxdiv_t imaxdiv (intmax_t numer, intmax_t __denom) ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:293:45: error: reference to ‘intmax_t’ is ambiguous extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /usr/include/features.h:374:0, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426, from /usr/include/c++/4.8/cstddef:41, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config/select_stdlib_config.hpp:18, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config.hpp:40, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map_fwd.hpp:13, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /usr/include/inttypes.h:294:7: error: expected ‘,’ or ‘;’ before ‘throw’ __THROW __attribute ((const)); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:297:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t strtoimax (const char ***restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:297:8: error: ‘intmax_t’ does not name a type extern intmax_t strtoimax (const char *__restrict __nptr, ^ /usr/include/inttypes.h:301:8: error: reference to ‘uintmax_t’ is ambiguous extern uintmax_t strtoumax (const char *__restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:301:8: error: ‘uintmax_t’ does not name a type extern uintmax_t strtoumax (const char *__restrict __nptr, ^ /usr/include/inttypes.h:305:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:305:8: error: ‘intmax_t’ does not name a type extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, ^ /usr/include/inttypes.h:310:8: error: reference to ‘uintmax_t’ is ambiguous extern uintmax_t wcstoumax (const _gwchar_t __restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:310:8: error: ‘uintmax_t’ does not name a type extern uintmax_t wcstoumax (const __gwchar_t __restrict __nptr, ^ /usr/include/inttypes.h:323:17: error: reference to ‘intmax_t’ is ambiguous __extern_inline intmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:323:17: error: ‘intmax_t’ does not name a type __extern_inline intmax_t ^ /usr/include/inttypes.h:335:17: error: reference to ‘uintmax_t’ is ambiguous __extern_inline uintmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:335:17: error: ‘uintmax_t’ does not name a type __extern_inline uintmax_t ^ /usr/include/inttypes.h:347:17: error: reference to ‘intmax_t’ is ambiguous __extern_inline intmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:347:17: error: ‘intmax_t’ does not name a type __extern_inline intmax_t ^ /usr/include/inttypes.h:361:17: error: reference to ‘uintmax_t’ is ambiguous __extern_inline uintmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:48:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/inttypes.h:361:17: error: ‘uintmax_t’ does not name a type __extern_inline uintmax_t ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:55:9: error: reference to ‘int64_t’ is ambiguous typedef int64_t int64; ^ In file included from /usr/include/stdlib.h:314:0, from /usr/include/c++/4.8/cstdlib:72, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config/platform/linux.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config.hpp:53, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map_fwd.hpp:13, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t __intN_t (64, __DI); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t typedef ::boost::long_long_type int64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:55:9: error: ‘int64_t’ does not name a type typedef int64_t int64; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:56:9: error: reference to ‘uint64_t’ is ambiguous typedef uint64_t uint64; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:56:9: error: ‘uint64_t’ does not name a type typedef uint64_t uint64; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:128:41: error: ‘int64’ does not name a type extern bool RegisterFlagValidator(const int64 flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:128:48: error: ISO C++ forbids declaration of ‘flag’ with no type [-fpermissive] extern bool RegisterFlagValidator(const int64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:129:68: error: ‘int64’ has not been declared bool (validate_fn)(const char, int64)); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:130:41: error: ‘uint64’ does not name a type extern bool RegisterFlagValidator(const uint64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:130:49: error: ISO C++ forbids declaration of ‘flag’ with no type [-fpermissive] extern bool RegisterFlagValidator(const uint64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:131:68: error: ‘uint64’ has not been declared bool (validate_fn)(const char, uint64)); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:315:8: error: ‘int64’ does not name a type extern int64 Int64FromEnv(const char varname, int64 defval); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:316:8: error: ‘uint64’ does not name a type extern uint64 Uint64FromEnv(const char *varname, uint64 defval); ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:30:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:94:9: error: reference to ‘int64_t’ is ambiguous typedef int64_t int64; ^ In file included from /usr/include/stdlib.h:314:0, from /usr/include/c++/4.8/cstdlib:72, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config/platform/linux.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/config.hpp:53, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map_fwd.hpp:13, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t intN_t (64, __DI); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t typedef ::boost::long_long_type int64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:30:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:94:9: error: ‘int64_t’ does not name a type typedef int64_t int64; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:95:9: error: reference to ‘uint64_t’ is ambiguous typedef uint64_t uint64; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:27: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:30:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:95:9: error: ‘uint64_t’ does not name a type typedef uint64_t uint64; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/Context.cc:30:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1229:10: error: ‘int64’ does not name a type static int64 num_messages(int severity); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1250:10: error: ‘int64’ does not name a type static int64 num_messages[NUM_SEVERITIES]; // under log_mutex ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1460:43: error: ‘int64’ has not been declared int64 limit, int64 keep); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1460:56: error: ‘int64’ has not been declared int64 limit, int64 keep); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:290:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t imaxabs (intmax_t n) __THROW __attribute ((const)); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:290:8: error: ‘intmax_t’ does not name a type extern intmax_t imaxabs (intmax_t n) __THROW __attribute ((const)); ^ /usr/include/inttypes.h:293:27: error: reference to ‘intmax_t’ is ambiguous extern imaxdiv_t imaxdiv (intmax_t numer, intmax_t __denom) ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:293:45: error: reference to ‘intmax_t’ is ambiguous extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /usr/include/features.h:374:0, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426, from /usr/include/c++/4.8/bits/stl_algobase.h:59, from /usr/include/c++/4.8/vector:60, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:113, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/inttypes.h:294:7: error: expected ‘,’ or ‘;’ before ‘throw’ __THROW __attribute ((const)); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:297:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t strtoimax (const char ***restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:297:8: error: ‘intmax_t’ does not name a type extern intmax_t strtoimax (const char *__restrict __nptr, ^ /usr/include/inttypes.h:301:8: error: reference to ‘uintmax_t’ is ambiguous extern uintmax_t strtoumax (const char *__restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:301:8: error: ‘uintmax_t’ does not name a type extern uintmax_t strtoumax (const char *__restrict __nptr, ^ /usr/include/inttypes.h:305:8: error: reference to ‘intmax_t’ is ambiguous extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:305:8: error: ‘intmax_t’ does not name a type extern intmax_t wcstoimax (const _gwchar_t *restrict nptr, ^ /usr/include/inttypes.h:310:8: error: reference to ‘uintmax_t’ is ambiguous extern uintmax_t wcstoumax (const gwchar_t __restrict __nptr, ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:310:8: error: ‘uintmax_t’ does not name a type extern uintmax_t wcstoumax (const __gwchar_t __restrict __nptr, ^ /usr/include/inttypes.h:323:17: error: reference to ‘intmax_t’ is ambiguous __extern_inline intmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:323:17: error: ‘intmax_t’ does not name a type __extern_inline intmax_t ^ /usr/include/inttypes.h:335:17: error: reference to ‘uintmax_t’ is ambiguous __extern_inline uintmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:335:17: error: ‘uintmax_t’ does not name a type __extern_inline uintmax_t ^ /usr/include/inttypes.h:347:17: error: reference to ‘intmax_t’ is ambiguous __extern_inline intmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:134:19: note: candidates are: typedef long int intmax_t typedef long int intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:306:50: note: typedef boost::long_long_type boost::intmax_t typedef ::boost::long_long_type intmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:347:17: error: ‘intmax_t’ does not name a type __extern_inline intmax_t ^ /usr/include/inttypes.h:361:17: error: reference to ‘uintmax_t’ is ambiguous __extern_inline uintmax_t ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:135:27: note: candidates are: typedef long unsigned int uintmax_t typedef unsigned long int uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:307:42: note: typedef boost::ulong_long_type boost::uintmax_t typedef ::boost::ulong_long_type uintmax_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:82:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /usr/include/inttypes.h:361:17: error: ‘uintmax_t’ does not name a type __extern_inline uintmax_t ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:55:9: error: reference to ‘int64_t’ is ambiguous typedef int64_t int64; ^ In file included from /usr/include/stdlib.h:314:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:39, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t __intN_t (64, __DI); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t typedef ::boost::long_long_type int64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:55:9: error: ‘int64_t’ does not name a type typedef int64_t int64; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:56:9: error: reference to ‘uint64_t’ is ambiguous typedef uint64_t uint64; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:83:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags_declare.h:56:9: error: ‘uint64_t’ does not name a type typedef uint64_t uint64; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:86:0, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:128:41: error: ‘int64’ does not name a type extern bool RegisterFlagValidator(const int64 flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:128:48: error: ISO C++ forbids declaration of ‘flag’ with no type [-fpermissive] extern bool RegisterFlagValidator(const int64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:129:68: error: ‘int64’ has not been declared bool (validate_fn)(const char, int64)); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:130:41: error: ‘uint64’ does not name a type extern bool RegisterFlagValidator(const uint64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:130:49: error: ISO C++ forbids declaration of ‘flag’ with no type [-fpermissive] extern bool RegisterFlagValidator(const uint64* flag, ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:131:68: error: ‘uint64’ has not been declared bool (validate_fn)(const char, uint64)); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:315:8: error: ‘int64’ does not name a type extern int64 Int64FromEnv(const char varname, int64 defval); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/gflags/gflags.h:316:8: error: ‘uint64’ does not name a type extern uint64 Uint64FromEnv(const char *varname, uint64 defval); ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:94:9: error: reference to ‘int64_t’ is ambiguous typedef int64_t int64; ^ In file included from /usr/include/stdlib.h:314:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:39, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/x86_64-linux-gnu/sys/types.h:197:1: note: candidates are: typedef long int int64_t intN_t (64, __DI); ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:308:50: note: typedef boost::long_long_type boost::int64_t typedef ::boost::long_long_type int64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:94:9: error: ‘int64_t’ does not name a type typedef int64_t int64; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:95:9: error: reference to ‘uint64_t’ is ambiguous typedef uint64_t uint64; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:25: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Context.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:35: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:95:9: error: ‘uint64_t’ does not name a type typedef uint64_t uint64; ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc: In member function ‘virtual void Hadoop_Checkpointer::checkpoint()’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:48:35: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(top_cp_cmd.c_str()); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:51:31: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(rm_cmd.c_str()); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:54:31: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(mv_cmd.c_str()); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:62:35: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(chk_cp_cmd.c_str()); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:65:31: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(rm_cmd.c_str()); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.cc:68:31: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(mv_cmd.c_str()); ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.cc:36:0: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1229:10: error: ‘int64’ does not name a type static int64 num_messages(int severity); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1250:10: error: ‘int64’ does not name a type static int64 num_messages[NUM_SEVERITIES]; // under log_mutex ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1460:43: error: ‘int64’ has not been declared int64 limit, int64 keep); ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:1460:56: error: ‘int64’ has not been declared int64 limit, int64 keep); ^ make: ** [/home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Hadoop_Checkpointer.o] Error 1 make: * [/home/fangyu/workspace/ScaCTM/src/commons/Context.o] Error 1 make: * [/home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/TBB_Pipeline.o] Error 1 /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc: In member function ‘void TypeTopicCounts::estimate_memoryn_warn(long int)’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc:188:5: error: reference to ‘uint64_t’ is ambiguous uint64_t estUsage = num_elems * sizeof(packed_t); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/tbb/tbb_stddef.h:129, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/tbb/spin_rw_mutex.h:32, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:31, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc:27: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc:27: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc:188:14: error: expected ‘;’ before ‘estUsage’ uint64_t estUsage = num_elems * sizeof(packed_t); ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/types.h:38:0, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc:27: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.cc:190:18: error: ‘estUsage’ was not declared in this scope LOG_IF(FATAL,estUsage> MAX_MEMORY_USAGE)<< "Trying to allocate " << estUsage<< " bytes of memory will be fatal. Quitting"; ^ /home/fangyu/workspace/ScaCTM/third_party/third_party/include/glog/logging.h:549:5: note: in definition of macro ‘LOG_IF’ !(condition) ? (void) 0 : google::LogMessageVoidify() & LOG(severity) ^ make: * [/home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.o] Error 1 In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp: In function ‘bool atomic_compare_and_swap(volatile T&, T, T) [with T = double]’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:85:14: error: reference to ‘uint64_t’ is ambiguous volatile uint64_t* a_ptr = reinterpret_cast<volatile uint64_t>(&a); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:85:14: error: ‘uint64_t’ does not name a type volatile uint64_t* a_ptr = reinterpret_cast<volatile uint64_t>(&a); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:86:11: error: reference to ‘uint64_t’ is ambiguous const uint64_t* oldval_ptr = reinterpret_cast<const uint64_t>(&oldval); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:86:11: error: ‘uint64_t’ does not name a type const uint64_t* oldval_ptr = reinterpret_cast<const uint64_t>(&oldval); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:87:11: error: reference to ‘uint64_t’ is ambiguous const uint64_t* newval_ptr = reinterpret_cast<const uint64_t>(&newval); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Pipeline.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.cc:25: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:87:11: error: ‘uint64_t’ does not name a type const uint64_t* newval_ptr = reinterpret_cast<const uint64_t>(&newval); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:41: error: ‘a_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, _oldval_ptr, newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:49: error: ‘oldval_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, oldval_ptr, newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:62: error: ‘newval_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, oldval_ptr, newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:72: error: incompatible type for argument 1 of ‘__sync_bool_compare_and_swap’ return _sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp: In function ‘bool atomic_compare_and_swap(volatile T&, T, T) [with T = double]’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:85:14: error: reference to ‘uint64_t’ is ambiguous volatile uint64_t a_ptr = reinterpret_cast<volatile uint64_t>(&a); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:85:14: error: ‘uint64_t’ does not name a type volatile uint64_t* a_ptr = reinterpret_cast<volatile uint64_t>(&a); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:86:11: error: reference to ‘uint64_t’ is ambiguous const uint64_t* oldval_ptr = reinterpret_cast<const uint64_t>(&oldval); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:86:11: error: ‘uint64_t’ does not name a type const uint64_t* oldval_ptr = reinterpret_cast<const uint64_t>(&oldval); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:87:11: error: reference to ‘uint64_t’ is ambiguous const uint64_t* newval_ptr = reinterpret_cast<const uint64_t>(&newval); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/random/mersenne_twister.hpp:24:0, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:35, from /home/fangyu/workspace/ScaCTM/src/commons/constants.h:26, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TopKList.h:39, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/TypeTopicCounts.h:72, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:29, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:26: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:87:11: error: ‘uint64_t’ does not name a type const uint64_t* newval_ptr = reinterpret_cast<const uint64_t
>(&newval); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:41: error: ‘a_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:49: error: ‘oldval_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:62: error: ‘newval_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:72: error: incompatible type for argument 1 of ‘__sync_bool_compare_and_swap’ return __sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/DocumentReader.h:31:0, from /home/fangyu/workspace/ScaCTM/src/commons/WordIndexDictionary.h:32, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.cc:28: /home/fangyu/workspace/ScaCTM/src/commons/constants.h:84:14: error: reference to ‘uint64_t’ is ambiguous static const uint64_t MAX_MEMORY_USAGE = ((uint64_t) 1) << 34; ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/tbb/tbb_stddef.h:129, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/tbb/spin_rw_mutex.h:32, from /home/fangyu/workspace/ScaCTM/src/commons/types.h:31, from /home/fangyu/workspace/ScaCTM/src/commons/Server/Hashmap_Array.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.cc:25: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/Server/Hashmap_Array.h:28, from /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.cc:25: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/commons/DocumentReader.h:31:0, from /home/fangyu/workspace/ScaCTM/src/commons/WordIndexDictionary.h:32, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.cc:28: /home/fangyu/workspace/ScaCTM/src/commons/constants.h:84:14: error: ‘uint64_t’ does not name a type static const uint64_t MAX_MEMORY_USAGE = ((uint64_t) 1) << 34; ^ make: ** [/home/fangyu/workspace/ScaCTM/src/commons/Server/DM_Server.o] Error 1 In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:30: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp: In function ‘bool atomic_compare_and_swap(volatile T&, T, T) [with T = double]’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:85:14: error: reference to ‘uint64_t’ is ambiguous volatile uint64_t* a_ptr = reinterpret_cast<volatile uint64_t
>(&a); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Builder.h:32, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:26: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/WordIndexDictionary.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Builder.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:30: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:85:14: error: ‘uint64_t’ does not name a type volatile uint64_t* a_ptr = reinterpret_cast<volatile uint64_t
>(&a); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:86:11: error: reference to ‘uint64_t’ is ambiguous const uint64_t* oldval_ptr = reinterpret_cast<const uint64_t
>(&oldval); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Builder.h:32, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:26: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/WordIndexDictionary.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Builder.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:30: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:86:11: error: ‘uint64_t’ does not name a type const uint64_t* oldval_ptr = reinterpret_cast<const uint64_t*>(&oldval); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:87:11: error: reference to ‘uint64_t’ is ambiguous const uint64_t* newval_ptr = reinterpret_cast<const uint64_t*>(&newval); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h:9:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/stubs/common.h:48, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message_lite.h:42, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/google/protobuf/message.h:123, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Refiner.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Builder.h:32, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:26: /usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t typedef unsigned long int uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer_fwd.hpp:17:0, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/integer/static_log2.hpp:19, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/detail/hash_float.hpp:17, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash/hash.hpp:15, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/functional/hash.hpp:6, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered/unordered_map.hpp:20, from /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/unordered_map.hpp:16, from /home/fangyu/workspace/ScaCTM/src/commons/WordIndexDictionary.h:30, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model.h:29, from /home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/Model_Builder.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.h:28, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:26: /home/fangyu/workspace/ScaCTM/third_party/third_party/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t typedef ::boost::ulong_long_type uint64_t; ^ In file included from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic.hpp:32:0, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.h:35, from /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:30: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:87:11: error: ‘uint64_t’ does not name a type const uint64_t* newval_ptr = reinterpret_cast<const uint64_t*>(&newval); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:41: error: ‘a_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, _oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:49: error: ‘oldval_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:62: error: ‘newval_ptr’ was not declared in this scope return __sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/atomic_ops.hpp:88:72: error: incompatible type for argument 1 of ‘_sync_bool_compare_and_swap’ return sync_bool_compare_and_swap(a_ptr, *oldval_ptr, *newval_ptr); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc: In member function ‘virtual void Unigram_Model_Training_Builder::create_output()’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.cc:185:24: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(cmd.c_str()); ^ make: *** [/home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Training_Builder.o] Error 1 make: *** [/home/fangyu/workspace/ScaCTM/src/commons/TopicLearner/PThread_Pipeline.o] Error 1 /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc: In member function ‘virtual void Unigram_Model_Trainer::iteration_done()’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:763:24: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(cmd.c_str()); ^ /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc: In member function ‘void Unigram_Model_Trainer::dump(int)’: /home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.cc:791:21: warning: ignoring return value of ‘int system(const char)’, declared with attribute warn_unused_result [-Wunused-result] system(cmd.c_str()); ^ make: *** [/home/fangyu/workspace/ScaCTM/src/Unigram_Model/TopicLearner/Unigram_Model_Trainer.o] Error 1

Thank you for your help!

zhaofangyu avatar Apr 11 '15 08:04 zhaofangyu

okay. the first error seems to be this: "/bin/bash: /home/fangyu/workspace/ScaCTM/scripts/setenv_bash: Permission denied". can you check the permissions of the directories/files?

also, it might be helpful to turn off the "-j" option in the debugging period so that it stops immediately after an error.

xunzheng avatar Apr 15 '15 23:04 xunzheng