=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for grpc-1.7.2 Scanning dependencies of target gen_percent_encoding_tables Scanning dependencies of target gen_legal_metadata_characters [ 0%] Building C object CMakeFiles/gen_percent_encoding_tables.dir/tools/codegen/core/gen_percent_encoding_tables.c.o [ 0%] Building C object CMakeFiles/gen_legal_metadata_characters.dir/tools/codegen/core/gen_legal_metadata_characters.c.o [ 0%] Linking C executable gen_legal_metadata_characters [ 0%] Linking C executable gen_percent_encoding_tables [ 0%] Built target gen_legal_metadata_characters [ 0%] Built target gen_percent_encoding_tables Scanning dependencies of target grpc_plugin_support Scanning dependencies of target gpr [ 0%] Building C object CMakeFiles/gpr.dir/src/core/lib/profiling/basic_timers.c.o [ 0%] Building C object CMakeFiles/gpr.dir/src/core/lib/profiling/stap_timers.c.o [ 0%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/atm.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/arena.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/backoff.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/alloc.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/avl.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/cmdline.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/cpu_iphone.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/env_linux.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/cpu_posix.c.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/env_posix.c.o [ 1%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/cpp_generator.cc.o [ 1%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/cpu_linux.c.o [ 2%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/env_windows.c.o [ 2%] Building C object CMakeFiles/gpr.dir/src/core/lib/support/cpu_windows.c.o In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/profiling/basic_timers.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ 1 warning and 5 errors generated. --- CMakeFiles/gpr.dir/src/core/lib/profiling/basic_timers.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/profiling/basic_timers.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/cpu_iphone.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/atm.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:70: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/backoff.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/backoff.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/time.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/gpr_types.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ 1 warning and 5 errors generated. --- CMakeFiles/gpr.dir/src/core/lib/support/cpu_iphone.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/cpu_iphone.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/env_linux.c:24: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/atm.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:79:2: error: could not determine platform for atm #error could not determine platform for atm ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/profiling/stap_timers.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:1: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:40: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:56: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:85:40: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max); ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:85:53: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max); ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:20: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/alloc.h:24: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:22:1: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ 1 warning and 5 errors generated. /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:22:40: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:22:56: error: unknown type name 'gpr_atm' #warning "GPR_PLATFORM_STRING not auto-detected" ^ gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:23:40: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max) { ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:23:53: error: unknown type name 'gpr_atm' /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS gpr_atm min, gpr_atm max) { ^ #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:24:3: error: use of undeclared identifier 'gpr_atm' gpr_atm current_value; ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:25:3: error: use of undeclared identifier 'gpr_atm' gpr_atm new_value; ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:21: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/atm.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:79:2: error: could not determine platform for atm /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:27:5: error: use of undeclared identifier 'current_value' #error could not determine platform for atm ^ current_value = gpr_atm_no_barrier_load(value); ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/atm.c:27:21: warning: implicit declaration of function 'gpr_atm_no_barrier_load' is invalid in C99 [-Wimplicit-function-declaration] current_value = gpr_atm_no_barrier_load(value); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/cpu_linux.c:23: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ --- CMakeFiles/gpr.dir/src/core/lib/support/env_linux.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/env_linux.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:1: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:40: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:56: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:85:40: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max); ^ 2 warnings and 20 errors generated. /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:85:53: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max); ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ --- CMakeFiles/gpr.dir/src/core/lib/support/atm.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/atm.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 1 warning and 5 errors generated. /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ --- CMakeFiles/gpr.dir/src/core/lib/profiling/stap_timers.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/profiling/stap_timers.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 1 warning and 5 errors generated. 1 warning and 5 errors generated. --- CMakeFiles/gpr.dir/src/core/lib/support/cpu_linux.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/cpu_linux.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 --- CMakeFiles/gpr.dir/src/core/lib/support/backoff.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/backoff.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:31:3: error: unknown type name 'gpr_atm' gpr_atm next_atm; ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:35:3: error: unknown type name 'gpr_atm' gpr_atm size_so_far; ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:47:3: error: use of undeclared identifier 'gpr_atm' gpr_atm size = gpr_atm_no_barrier_load(&arena->size_so_far); ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:48:21: warning: implicit declaration of function 'gpr_atm_no_barrier_load' is invalid in C99 [-Wimplicit-function-declaration] zone *z = (zone *)gpr_atm_no_barrier_load(&arena->initial_zone.next_atm); ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:55:18: error: use of undeclared identifier 'size' return (size_t)size; ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:61:15: warning: implicit declaration of function 'gpr_atm_no_barrier_fetch_add' is invalid in C99 [-Wimplicit-function-declaration] (size_t)gpr_atm_no_barrier_fetch_add(&arena->size_so_far, size); ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:64:28: warning: implicit declaration of function 'gpr_atm_acq_load' is invalid in C99 [-Wimplicit-function-declaration] zone *next_z = (zone *)gpr_atm_acq_load(&z->next_atm); ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:70:12: warning: implicit declaration of function 'gpr_atm_rel_cas' is invalid in C99 [-Wimplicit-function-declaration] if (!gpr_atm_rel_cas(&z->next_atm, (gpr_atm)NULL, (gpr_atm)next_z)) { ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:70:43: error: use of undeclared identifier 'gpr_atm'; did you mean 'gpr_log'? if (!gpr_atm_rel_cas(&z->next_atm, (gpr_atm)NULL, (gpr_atm)next_z)) { ^~~~~~~ gpr_log /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/log.h:62:13: note: 'gpr_log' declared here GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:70:51: error: too few arguments to function call, expected at least 4, have 1 if (!gpr_atm_rel_cas(&z->next_atm, (gpr_atm)NULL, (gpr_atm)next_z)) { ~~~~~~~~~^ /usr/include/sys/null.h:13:24: note: expanded from macro 'NULL' #define NULL ((void *)0) ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/log.h:62:8: note: 'gpr_log' declared here GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, ^ /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/arena.c:70:58: error: use of undeclared identifier 'gpr_atm'; did you mean 'gpr_log'? if (!gpr_atm_rel_cas(&z->next_atm, (gpr_atm)NULL, (gpr_atm)next_z)) { ^~~~~~~ gpr_log /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/log.h:62:13: note: 'gpr_log' declared here GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, ^ 5 warnings and 18 errors generated. In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/cmdline.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/cmdline.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ --- CMakeFiles/gpr.dir/src/core/lib/support/arena.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/arena.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/alloc.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/alloc.h:24: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/env_posix.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ 1 warning and 5 errors generated. --- CMakeFiles/gpr.dir/src/core/lib/support/env_posix.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/env_posix.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/avl.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/avl.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/gpr_types.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/cpu_windows.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/env_windows.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" #error "Could not auto-detect platform" ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/cpu_posix.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/port_platform.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:273:2: error: "Could not auto-detect platform" /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #error "Could not auto-detect platform" ^ #warning "GPR_PLATFORM_STRING not auto-detected" ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:284:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings] #warning "GPR_PLATFORM_STRING not auto-detected" ^ 1 warning and 5 errors generated. /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ 1 warning and 5 errors generated. In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/avl.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/avl.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:23: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync.h:46: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync_generic.h:23: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:79:2: error: could not determine platform for atm #error could not determine platform for atm ^ --- CMakeFiles/gpr.dir/src/core/lib/support/alloc.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/alloc.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:1: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:40: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:84:56: error: unknown type name 'gpr_atm' gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, ^ --- CMakeFiles/gpr.dir/src/core/lib/support/cpu_windows.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/cpu_windows.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:85:40: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max); ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/atm.h:85:53: error: unknown type name 'gpr_atm' gpr_atm min, gpr_atm max); ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/avl.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/avl.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:23: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync.h:46: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync_generic.h:26:18: error: unknown type name 'gpr_atm' typedef struct { gpr_atm state; } gpr_event; ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync_generic.h:32:18: error: unknown type name 'gpr_atm' typedef struct { gpr_atm count; } gpr_refcount; ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync_generic.h:35:18: error: unknown type name 'gpr_atm' typedef struct { gpr_atm value; } gpr_stats_counter; ^ #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/avl.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/avl.h:22: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:23: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/sync.h:55:2: error: Unable to determine platform for sync #error Unable to determine platform for sync ^ In file included from /data/scratch/net/grpc/work/grpc-1.7.2/src/core/lib/support/avl.c:19: In file included from /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/avl.h:22: /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:37:25: error: unknown type name 'gpr_mu' GPRAPI void gpr_mu_init(gpr_mu *mu); ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:41:28: error: unknown type name 'gpr_mu' GPRAPI void gpr_mu_destroy(gpr_mu *mu); ^ #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ 1 warning and 5 errors generated. /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:334:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:338:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64 ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:344:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/impl/codegen/port_platform.h:350:2: error: Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS 1 warning and 5 errors generated. #error Must define exactly one of GPR_MSVC_TLS, GPR_GCC_TLS, GPR_PTHREAD_TLS, GPR_CUSTOM_TLS ^ /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:46:25: error: unknown type name 'gpr_mu' GPRAPI void gpr_mu_lock(gpr_mu *mu); ^ 1 warning and 5 errors generated. /data/scratch/net/grpc/work/grpc-1.7.2/include/grpc/support/sync.h:50:27: error: unknown type name 'gpr_mu' GPRAPI void gpr_mu_unlock(gpr_mu *mu); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] --- CMakeFiles/gpr.dir/src/core/lib/support/env_windows.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/env_windows.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 --- CMakeFiles/gpr.dir/src/core/lib/support/cmdline.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/cmdline.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 --- CMakeFiles/gpr.dir/src/core/lib/support/cpu_posix.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/cpu_posix.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 1 warning and 20 errors generated. --- CMakeFiles/gpr.dir/src/core/lib/support/avl.c.o --- *** [CMakeFiles/gpr.dir/src/core/lib/support/avl.c.o] Error code 1 make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 15 errors make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 --- CMakeFiles/gpr.dir/all --- *** [CMakeFiles/gpr.dir/all] Error code 2 make[1]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 A failure has been detected in another branch of the parallel make make[2]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 --- CMakeFiles/grpc_plugin_support.dir/all --- *** [CMakeFiles/grpc_plugin_support.dir/all] Error code 2 make[1]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 2 errors make[1]: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 *** [all] Error code 2 make: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 1 error make: stopped in /data/scratch/net/grpc/work/grpc-1.7.2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/grpc *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/grpc