brancoliticus commented on issue #14430: mxnet build from source in OpenIndiana OS fails during ninja build URL: https://github.com/apache/incubator-mxnet/issues/14430#issuecomment-472979150 I redid the build by generating make files instead of ninja build files. In the compiler output there are two types of errors repeated and then a final error when the build stops. Below is the output of the make process: [ 0%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api.cc.o In file included from /export/home/branco/mxnet/src/c_api/c_api.cc:32:0: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 0%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_error.cc.o [ 1%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_executor.cc.o [ 1%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_function.cc.o In file included from /export/home/branco/mxnet/include/mxnet/base.h:28:0, from /export/home/branco/mxnet/src/c_api/c_api_function.cc:26: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 2%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_ndarray.cc.o [ 2%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_profile.cc.o [ 2%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_symbolic.cc.o [ 3%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_api_test.cc.o In file included from /export/home/branco/mxnet/include/nnvm/base.h:9:0, from /export/home/branco/mxnet/include/nnvm/pass.h:11, from /export/home/branco/mxnet/src/c_api/c_api_test.cc:26: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 3%] Building CXX object CMakeFiles/mxnet_static.dir/src/c_api/c_predict_api.cc.o [ 3%] Building CXX object CMakeFiles/mxnet_static.dir/src/common/rtc.cc.o [ 4%] Building CXX object CMakeFiles/mxnet_static.dir/src/common/utils.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/common/./utils.h:28, from /export/home/branco/mxnet/src/common/utils.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 4%] Building CXX object CMakeFiles/mxnet_static.dir/src/engine/engine.cc.o In file included from /export/home/branco/mxnet/include/mxnet/./base.h:28:0, from /export/home/branco/mxnet/include/mxnet/engine.h:34, from /export/home/branco/mxnet/src/engine/engine.cc:25: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 4%] Building CXX object CMakeFiles/mxnet_static.dir/src/engine/naive_engine.cc.o In file included from /export/home/branco/mxnet/include/mxnet/./base.h:28:0, from /export/home/branco/mxnet/include/mxnet/engine.h:34, from /export/home/branco/mxnet/src/engine/./engine_impl.h:28, from /export/home/branco/mxnet/src/engine/naive_engine.cc:28: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 5%] Building CXX object CMakeFiles/mxnet_static.dir/src/engine/openmp.cc.o [ 5%] Building CXX object CMakeFiles/mxnet_static.dir/src/engine/threaded_engine.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/engine/threaded_engine.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 6%] Building CXX object CMakeFiles/mxnet_static.dir/src/engine/threaded_engine_perdevice.cc.o [ 6%] Building CXX object CMakeFiles/mxnet_static.dir/src/engine/threaded_engine_pooled.cc.o [ 6%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/attach_op_execs_pass.cc.o [ 7%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/attach_op_resource_pass.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/include/mxnet/resource.h:28, from /export/home/branco/mxnet/src/executor/attach_op_resource_pass.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 7%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/graph_executor.cc.o [ 7%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/infer_graph_attr_pass.cc.o In file included from /export/home/branco/mxnet/include/nnvm/base.h:9:0, from /export/home/branco/mxnet/include/nnvm/op_attr_types.h:13, from /export/home/branco/mxnet/include/mxnet/op_attr_types.h:30, from /export/home/branco/mxnet/src/executor/infer_graph_attr_pass.cc:25: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 8%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/inplace_addto_detect_pass.cc.o [ 8%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/onnx_to_tensorrt.cc.o [ 8%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/tensorrt_pass.cc.o [ 9%] Building CXX object CMakeFiles/mxnet_static.dir/src/executor/trt_graph_executor.cc.o [ 9%] Building CXX object CMakeFiles/mxnet_static.dir/src/imperative/cached_op.cc.o In file included from /export/home/branco/mxnet/include/mxnet/operator.h:29:0, from /export/home/branco/mxnet/src/imperative/./imperative_utils.h:19, from /export/home/branco/mxnet/src/imperative/cached_op.cc:21: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 10%] Building CXX object CMakeFiles/mxnet_static.dir/src/imperative/imperative.cc.o In file included from /export/home/branco/mxnet/include/mxnet/operator.h:29:0, from /export/home/branco/mxnet/src/imperative/./imperative_utils.h:19, from /export/home/branco/mxnet/src/imperative/imperative.cc:21: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 10%] Building CXX object CMakeFiles/mxnet_static.dir/src/imperative/imperative_utils.cc.o [ 10%] Building CXX object CMakeFiles/mxnet_static.dir/src/initialize.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/initialize.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 11%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/image_aug_default.cc.o [ 11%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/image_det_aug_default.cc.o [ 11%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/image_io.cc.o In file included from /export/home/branco/mxnet/include/dmlc/parameter.h:21:0, from /export/home/branco/mxnet/src/io/image_io.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 12%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/io.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/io.cc:22: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 12%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/iter_csv.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/iter_csv.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 12%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/iter_image_det_recordio.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/iter_image_det_recordio.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 13%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/iter_image_recordio.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/iter_image_recordio.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 13%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/iter_image_recordio_2.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/iter_image_recordio_2.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 13%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/iter_libsvm.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/iter_libsvm.cc:24: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 14%] Building CXX object CMakeFiles/mxnet_static.dir/src/io/iter_mnist.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/io/iter_mnist.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 14%] Building CXX object CMakeFiles/mxnet_static.dir/src/kvstore/gradient_compression.cc.o In file included from /export/home/branco/mxnet/include/dmlc/./logging.h:16:0, from /export/home/branco/mxnet/include/dmlc/io.h:14, from /export/home/branco/mxnet/include/mxnet/kvstore.h:27, from /export/home/branco/mxnet/src/kvstore/kvstore_local.h:28, from /export/home/branco/mxnet/src/kvstore/gradient_compression.cc:27: /export/home/branco/mxnet/include/dmlc/././base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 15%] Building CXX object CMakeFiles/mxnet_static.dir/src/kvstore/kvstore.cc.o In file included from /export/home/branco/mxnet/include/dmlc/./logging.h:16:0, from /export/home/branco/mxnet/include/dmlc/io.h:14, from /export/home/branco/mxnet/include/mxnet/kvstore.h:27, from /export/home/branco/mxnet/src/kvstore/kvstore.cc:25: /export/home/branco/mxnet/include/dmlc/././base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 15%] Building CXX object CMakeFiles/mxnet_static.dir/src/kvstore/kvstore_utils.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/kvstore/./kvstore_utils.h:27, from /export/home/branco/mxnet/src/kvstore/kvstore_utils.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 15%] Building CXX object CMakeFiles/mxnet_static.dir/src/libinfo.cc.o In file included from /export/home/branco/mxnet/include/mxnet/libinfo.h:33:0, from /export/home/branco/mxnet/src/libinfo.cc:27: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 16%] Building CXX object CMakeFiles/mxnet_static.dir/src/ndarray/ndarray.cc.o In file included from /export/home/branco/mxnet/include/dmlc/./logging.h:16:0, from /export/home/branco/mxnet/include/dmlc/io.h:14, from /export/home/branco/mxnet/src/ndarray/ndarray.cc:25: /export/home/branco/mxnet/include/dmlc/././base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 16%] Building CXX object CMakeFiles/mxnet_static.dir/src/ndarray/ndarray_function.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/ndarray/./ndarray_function.h:28, from /export/home/branco/mxnet/src/ndarray/ndarray_function.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 16%] Building CXX object CMakeFiles/mxnet_static.dir/src/nnvm/gradient.cc.o In file included from /export/home/branco/mxnet/include/nnvm/base.h:9:0, from /export/home/branco/mxnet/include/nnvm/pass.h:11, from /export/home/branco/mxnet/src/nnvm/gradient.cc:26: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 17%] Building CXX object CMakeFiles/mxnet_static.dir/src/nnvm/graph_editor.cc.o In file included from /export/home/branco/mxnet/include/nnvm/base.h:9:0, from /export/home/branco/mxnet/include/nnvm/symbolic.h:18, from /export/home/branco/mxnet/src/nnvm/graph_editor.cc:26: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 17%] Building CXX object CMakeFiles/mxnet_static.dir/src/nnvm/legacy_json_util.cc.o [ 17%] Building CXX object CMakeFiles/mxnet_static.dir/src/nnvm/legacy_op_util.cc.o [ 18%] Building CXX object CMakeFiles/mxnet_static.dir/src/nnvm/plan_memory.cc.o In file included from /export/home/branco/mxnet/include/nnvm/base.h:9:0, from /export/home/branco/mxnet/include/nnvm/graph.h:15, from /export/home/branco/mxnet/src/nnvm/plan_memory.cc:25: /export/home/branco/mxnet/include/dmlc/base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 18%] Building CXX object CMakeFiles/mxnet_static.dir/src/nnvm/tvm_bridge.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/3rdparty/tvm/include/tvm/runtime/packed_func.h:9, from /export/home/branco/mxnet/src/nnvm/tvm_bridge.cc:37: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 19%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/batch_norm_v1.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/batch_norm_v1-inl.h:29, from /export/home/branco/mxnet/src/operator/batch_norm_v1.cc:27: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 19%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/bilinear_sampler.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/./bilinear_sampler-inl.h:29, from /export/home/branco/mxnet/src/operator/bilinear_sampler.cc:27: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 19%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/c_lapack_api.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/c_lapack_api.h:68, from /export/home/branco/mxnet/src/operator/c_lapack_api.cc:20: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 20%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/adamw.cc.o In file included from /export/home/branco/mxnet/include/dmlc/parameter.h:21:0, from /export/home/branco/mxnet/src/operator/contrib/./adamw-inl.h:28, from /export/home/branco/mxnet/src/operator/contrib/adamw.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 20%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/adaptive_avg_pooling.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:28, from /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/operator.h:38, from /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:30, from /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling.cc:25: /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h: In function 'void mxnet::op::AdaptiveAvgPoolOpBackward(const nnvm::NodeAttrs&, const mxnet::OpContext&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::OpReqType>&, const std::vector<mxnet::TBlob>&)': /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:864:21: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef float DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:870:22: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef double DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:876:37: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef mshadow::half::half_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:882:23: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef uint8_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:888:22: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef int8_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:894:23: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef int32_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/adaptive_avg_pooling-inl.h:110:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:900:23: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef int64_t DType; \ ^~~~~ [ 20%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/bilinear_resize.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:28, from /export/home/branco/mxnet/src/operator/contrib/bilinear_resize.cc:25: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/operator.h:38, from /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:30, from /export/home/branco/mxnet/src/operator/contrib/bilinear_resize.cc:25: /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h: In function 'void mxnet::op::BilinearSampleOpBackward(const nnvm::NodeAttrs&, const mxnet::OpContext&, const std::vector<mxnet::TBlob>&, const std::vector<mxnet::OpReqType>&, const std::vector<mxnet::TBlob>&)': /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:864:21: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef float DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:870:22: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef double DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:876:37: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef mshadow::half::half_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:882:23: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef uint8_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:888:22: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef int8_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:894:23: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef int32_t DType; \ ^~~~~ /export/home/branco/mxnet/src/operator/contrib/bilinear_resize-inl.h:119:47: warning: typedef 'DType' locally defined but not used [-Wunused-local-typedefs] MSHADOW_TYPE_SWITCH(inputs[0].type_flag_, DType, { ^ /export/home/branco/mxnet/include/mshadow/./base.h:900:23: note: in definition of macro 'MSHADOW_TYPE_SWITCH' typedef int64_t DType; \ ^~~~~ [ 21%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/boolean_mask.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/contrib/./boolean_mask-inl.h:27, from /export/home/branco/mxnet/src/operator/contrib/boolean_mask.cc:24: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 21%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/bounding_box.cc.o In file included from /export/home/branco/mxnet/include/dmlc/registry.h:12:0, from /export/home/branco/mxnet/include/mxnet/operator_util.h:37, from /export/home/branco/mxnet/src/operator/contrib/./bounding_box-inl.h:27, from /export/home/branco/mxnet/src/operator/contrib/bounding_box.cc:27: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 21%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/count_sketch.cc.o In file included from /export/home/branco/mxnet/include/dmlc/logging.h:16:0, from /export/home/branco/mxnet/src/operator/contrib/./count_sketch-inl.h:28, from /export/home/branco/mxnet/src/operator/contrib/count_sketch.cc:26: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ [ 22%] Building CXX object CMakeFiles/mxnet_static.dir/src/operator/contrib/deformable_convolution.cc.o In file included from /export/home/branco/mxnet/include/dmlc/data.h:13:0, from /export/home/branco/mxnet/include/mxnet/io.h:32, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/dmlc/./base.h:197:65: note: #pragma message: Warning: FILE OFFSET BITS defined to be 32 bit #pragma message("Warning: FILE OFFSET BITS defined to be 32 bit") ^ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_gemm_axis(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, DType, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:95:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(1); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:105:1: note: in expansion of macro 'LINALG_CPU_GEMM_AXIS' LINALG_CPU_GEMM_AXIS(sgemm, float) ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:95:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(1); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:105:1: note: in expansion of macro 'LINALG_CPU_GEMM_AXIS' LINALG_CPU_GEMM_AXIS(sgemm, float) ^~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_gemm_axis(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, DType, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:95:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(1); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:106:1: note: in expansion of macro 'LINALG_CPU_GEMM_AXIS' LINALG_CPU_GEMM_AXIS(dgemm, double) ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:95:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(1); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:106:1: note: in expansion of macro 'LINALG_CPU_GEMM_AXIS' LINALG_CPU_GEMM_AXIS(dgemm, double) ^~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_gemm(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, DType, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:83:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:151:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM' LINALG_XPU_BATCH_GEMM(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:83:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:151:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM' LINALG_XPU_BATCH_GEMM(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_gemm(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, DType, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:83:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:152:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM' LINALG_XPU_BATCH_GEMM(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:83:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:152:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM' LINALG_XPU_BATCH_GEMM(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_gemm(const mshadow::Tensor<xpu, 4, DType>&, const mshadow::Tensor<xpu, 4, DType>&, const mshadow::Tensor<xpu, 4, DType>&, DType, DType, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:115:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:154:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM_AXIS' LINALG_XPU_BATCH_GEMM_AXIS(cpu, float) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:115:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:154:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM_AXIS' LINALG_XPU_BATCH_GEMM_AXIS(cpu, float) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_gemm(const mshadow::Tensor<xpu, 4, DType>&, const mshadow::Tensor<xpu, 4, DType>&, const mshadow::Tensor<xpu, 4, DType>&, DType, DType, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:115:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:155:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM_AXIS' LINALG_XPU_BATCH_GEMM_AXIS(cpu, double) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:115:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:155:1: note: in expansion of macro 'LINALG_XPU_BATCH_GEMM_AXIS' LINALG_XPU_BATCH_GEMM_AXIS(cpu, double) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_trsm(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, bool, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:524:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:550:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRSM' LINALG_XPU_BATCH_TRSM(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:524:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:550:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRSM' LINALG_XPU_BATCH_TRSM(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_trsm(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, bool, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:524:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:551:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRSM' LINALG_XPU_BATCH_TRSM(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:524:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:551:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRSM' LINALG_XPU_BATCH_TRSM(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_trmm(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, bool, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:627:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:635:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRMM' LINALG_XPU_BATCH_TRMM(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:627:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:635:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRMM' LINALG_XPU_BATCH_TRMM(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_trmm(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, bool, bool, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:627:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:636:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRMM' LINALG_XPU_BATCH_TRMM(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:627:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:636:1: note: in expansion of macro 'LINALG_XPU_BATCH_TRMM' LINALG_XPU_BATCH_TRMM(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_potrf(const mshadow::Tensor<Device, 3, DType>&, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:696:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:700:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRF' LINALG_CPU_BATCH_POTRF(float) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:696:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:700:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRF' LINALG_CPU_BATCH_POTRF(float) ^~~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_potrf(const mshadow::Tensor<Device, 3, DType>&, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:696:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:701:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRF' LINALG_CPU_BATCH_POTRF(double) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:696:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:701:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRF' LINALG_CPU_BATCH_POTRF(double) ^~~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_potri(const mshadow::Tensor<Device, 3, DType>&, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:794:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:798:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRI' LINALG_CPU_BATCH_POTRI(float) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:794:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:798:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRI' LINALG_CPU_BATCH_POTRI(float) ^~~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_potri(const mshadow::Tensor<Device, 3, DType>&, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:794:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:799:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRI' LINALG_CPU_BATCH_POTRI(double) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:794:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:799:1: note: in expansion of macro 'LINALG_CPU_BATCH_POTRI' LINALG_CPU_BATCH_POTRI(double) ^~~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_syrk(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, DType, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = float]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:910:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:917:1: note: in expansion of macro 'LINALG_XPU_BATCH_SYRK' LINALG_XPU_BATCH_SYRK(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:910:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:917:1: note: in expansion of macro 'LINALG_XPU_BATCH_SYRK' LINALG_XPU_BATCH_SYRK(cpu, float) ^~~~~~~~~~~~~~~~~~~~~ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h: In function 'void linalg_batch_syrk(const mshadow::Tensor<Device, 3, DType>&, const mshadow::Tensor<Device, 3, DType>&, DType, DType, bool, mshadow::Stream<Device>*) [with xpu = mshadow::cpu; DType = double]': /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:910:8: error: reference to 'index_t' is ambiguous for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:918:1: note: in expansion of macro 'LINALG_XPU_BATCH_SYRK' LINALG_XPU_BATCH_SYRK(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pthread.h:36:0, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr-default.h:35, from /usr/gcc/6/include/c++/6.4.0/i386-pc-solaris2.11/bits/gthr.h:148, from /usr/gcc/6/include/c++/6.4.0/ext/atomicity.h:35, from /usr/gcc/6/include/c++/6.4.0/bits/basic_string.h:39, from /usr/gcc/6/include/c++/6.4.0/string:52, from /export/home/branco/mxnet/include/mxnet/io.h:29, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /usr/include/sys/types.h:128:16: note: candidates are: typedef short int index_t typedef short index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/include/mshadow/tensor.h:16:0, from /export/home/branco/mxnet/include/mxnet/./base.h:33, from /export/home/branco/mxnet/include/mxnet/io.h:34, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:32, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/include/mshadow/./base.h:288:17: note: typedef int64_t mshadow::index_t typedef int64_t index_t; ^~~~~~~ In file included from /export/home/branco/mxnet/src/operator/contrib/./../linalg.h:194:0, from /export/home/branco/mxnet/src/operator/contrib/./deformable_convolution-inl.h:47, from /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc:28: /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:910:23: error: 'i' was not declared in this scope for (index_t i = 0; i < A.size(0); ++i) { \ ^ /export/home/branco/mxnet/src/operator/contrib/./../linalg_impl.h:918:1: note: in expansion of macro 'LINALG_XPU_BATCH_SYRK' LINALG_XPU_BATCH_SYRK(cpu, double) ^~~~~~~~~~~~~~~~~~~~~ *** Error code 1 The following command caused the error: /usr/bin/g++ -DDMLC_USE_CXX11 -DDMLC_USE_CXX11=1 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_F16C=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE=1 -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_OPENCV=0 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DNDEBUG=1 -I/export/home/branco/mxnet/include -I/export/home/branco/mxnet/src -I/export/home/branco/mxnet/3rdparty/mshadow -I/export/home/branco/mxnet/3rdparty/cub -I/export/home/branco/mxnet/3rdparty/tvm/nnvm/include -I/export/home/branco/mxnet/3rdparty/tvm/include -I/export/home/branco/mxnet/3rdparty/dmlc-core/include -I/export/home/branco/mxnet/3rdparty/dlpack/include -isystem /usr/include/openblas -Wall -Wno-unknown-pragmas -Wno-sign-compare -O3 -msse2 -std=c++11 -fopenmp -std=c++0x -fPIC -o CMakeFiles/mxnet_static.dir/src/operator/contrib/deformable_convolution.cc.o -c /export/home/branco/mxnet/src/operator/contrib/deformable_convolution.cc make: Fatal error: Command failed for target `CMakeFiles/mxnet_static.dir/src/operator/contrib/deformable_convolution.cc.o' Current working directory /export/home/branco/mxnet *** Error code 1 The following command caused the error: make -f CMakeFiles/mxnet_static.dir/build.make CMakeFiles/mxnet_static.dir/build make: Fatal error: Command failed for target `CMakeFiles/mxnet_static.dir/all' Current working directory /export/home/branco/mxnet *** Error code 1 The following command caused the error: make -f CMakeFiles/Makefile2 all make: Fatal error: Command failed for target `all'
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
