* installing *source* package ‘RcppOctave’ ... ** package ‘RcppOctave’ successfully unpacked and MD5 sums checked checking R architecture... none checking for R... /usr/lib/R/bin/R checking for Rscript... /usr/lib/R/bin/Rscript checking whether loading Rprofile writes to stdout... no checking R version... R version 3.3.2 (2016-10-31) checking R platform... x86_64-pc-linux-gnu checking R CC... gcc -std=gnu99 checking R CFLAGS... -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g checking R CPPFLAGS... checking R CXXFLAGS... -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g checking for gcc... /usr/bin/gcc checking for gcc... gcc -std=gnu99 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for g++... /usr/bin/g++ configure: Original R_LDFLAGS: -Wl,--export-dynamic -fopenmp -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm configure: Original R_CPPFLAGS: -I/usr/share/R/include checking whether R is a shared library... yes checking type of Operating System... Linux checking whether OS is Mac OS (Darwin)... no configure: Using mkoctfile with R_LDFLAGS: -Wl,--export-dynamic -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm configure: Using mkoctfile with R_CPPFLAGS: -I/usr/share/R/include checking Octave custom binary path specification... none configure: using Octave binary path from $PATH checking for octave-config... /usr/local/bin/octave-config checking for mkoctfile... /usr/local/bin/mkoctfile checking Octave Octave bin directory... /usr/local/bin checking Octave Octave libraries directory... /usr/local/lib/octave/4.2.0 checking for octave... /usr/local/bin/octave checking PATH changes... none checking Octave module make target... all checking mkoctfile command... /usr/local/bin/mkoctfile checking Octave cpp flags... -I/usr/include/hdf5/serial checking Octave include flags... -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include checking Octave -L flags... -L/usr/local/lib/octave/4.2.0 -L/usr/local/lib checking Octave libraries... -loctinterp -loctave checking Octave C compiler... gcc checking Octave Fortran compiler... gfortran checking Octave platform... x86_64-pc-linux-gnu checking Octave API version... api-v51 checking Octave version... 4.2.0 checking whether to infer output names for Octave function (>= 3.4.3)... yes configure: Using Octave LDFLAGS: -L/usr/local/lib/octave/4.2.0 -L/usr/local/lib -loctinterp -loctave configure: Using Octave CPPFLAGS: -I/usr/include/hdf5/serial -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -DOCT_POST_3_4_0=1 checking RcppOctave Octave module directory... /usr/lib/R/library/RcppOctave/modules configure: creating ./config.status config.status: creating R/config-vars.R configure: creating ./config.status config.status: creating R/config-vars.R config.status: creating src/Makevars configure: creating ./config.status config.status: creating R/config-vars.R config.status: creating src/Makevars config.status: creating src/modules/Makefile ** libs # Making Octave module [r_arch: all] make[1]: Entering directory '/tmp/Rtmpro4Yz8/R.INSTALL467075702368/RcppOctave/src/modules' *** Building octave module: utils.oct /usr/local/bin/mkoctfile -v utils.cc g++ -std=c++11 -c -I/usr/include/hdf5/serial -fPIC -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -pthread -fopenmp -g -O2 utils.cc -o utils.o In file included from utils.cc:21:0: /usr/local/include/octave-4.2.0/octave/../octave/config.h:28:2: warning: #warning "config.h has been deprecated; there is no need to include it directly" [-Wcpp] #warning "config.h has been deprecated; there is no need to include it directly" ^ In file included from utils.cc:22:0: /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:33:2: warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp] #warning oct-obj.h has been deprecated; use ovl.h instead ^ utils.cc: In function ‘octave_value_list Fidentity(const octave_value_list&, int)’: utils.cc:41:5: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage("Wrong number of argument: expecting a single argument.\nTry 'help identity' fo ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from utils.cc:22: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ utils.cc:41:5: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage("Wrong number of argument: expecting a single argument.\nTry 'help identity' fo ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from utils.cc:22: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ utils.cc:41:98: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] "Wrong number of argument: expecting a single argument.\nTry 'help identity' for info."); ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from utils.cc:22: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ g++ -std=gnu++11 -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -pthread -fopenmp -g -O2 -shared -Wl,-Bsymbolic -o utils.oct utils.o -L/usr/local/lib/octave/4.2.0 -L/usr/local/lib -loctinterp -loctave -L/usr/lib/x86_64-linux-gnu/hdf5/serial *** Building octave module: Rrng.oct /usr/local/bin/mkoctfile -v -I/usr/share/R/include -Wl,--export-dynamic -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm Rrng.cc g++ -std=c++11 -c -I/usr/include/hdf5/serial -fPIC -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -pthread -fopenmp -g -O2 -I/usr/share/R/include Rrng.cc -o Rrng.o Rrng.cc: In function ‘octave_value_list Frand(const octave_value_list&, int)’: Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:195:3: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(unif_rand, "rand") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:195:3: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(unif_rand, "rand") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:24: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:195:3: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(unif_rand, "rand") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc: In function ‘octave_value_list Frandn(const octave_value_list&, int)’: Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:206:2: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(norm_rand, "randn") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:206:2: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(norm_rand, "randn") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:24: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:206:2: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(norm_rand, "randn") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc: In function ‘octave_value_list Frande(const octave_value_list&, int)’: Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:217:2: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(exp_rand, "rande") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:217:2: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(exp_rand, "rande") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:24: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:180:1: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS(octave_fun, 0, 2, 0, 1) \ ^ Rrng.cc:217:2: note: in expansion of macro ‘RAND_FUNCTION’ RAND_FUNCTION(exp_rand, "rande") ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc: In function ‘octave_value_list Frandg(const octave_value_list&, int)’: Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:231:3: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS("randg", 1, 4, 1, 2) ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:231:3: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS("randg", 1, 4, 1, 2) ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:24: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:231:3: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS("randg", 1, 4, 1, 2) ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc: In function ‘octave_value_list Frandp(const octave_value_list&, int)’: Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:255:3: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS("randp", 2, 3, 1, 2) ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:1: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:255:3: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS("randp", 2, 3, 1, 2) ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ Rrng.cc:147:24: warning: ‘void usage(const char*, ...)’ is deprecated: use 'print_usage' or 'error' instead [-Wdeprecated-declarations] usage(err.str().c_str());\ ^ Rrng.cc:255:3: note: in expansion of macro ‘RAND_ARGS’ RAND_ARGS("randp", 2, 3, 1, 2) ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/ov-base.h:40:0, from /usr/local/include/octave-4.2.0/octave/../octave/ov.h:57, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:36, from /usr/local/include/octave-4.2.0/octave/../octave/ov-fcn.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/ov-builtin.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-int.h:30, from /usr/local/include/octave-4.2.0/octave/../octave/defun-dld.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/oct.h:32, from Rrng.cc:32: /usr/local/include/octave-4.2.0/octave/../octave/error.h:58:6: note: declared here void usage (const char *fmt, ...); ^ g++ -std=gnu++11 -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -pthread -fopenmp -g -O2 -shared -Wl,-Bsymbolic -o Rrng.oct Rrng.o -Wl,--export-dynamic -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm -L/usr/local/lib/octave/4.2.0 -L/usr/local/lib -loctinterp -loctave -L/usr/lib/x86_64-linux-gnu/hdf5/serial make[1]: Leaving directory '/tmp/Rtmpro4Yz8/R.INSTALL467075702368/RcppOctave/src/modules' # Copying Octave modules to directory '/usr/lib/R/library/RcppOctave/modules' g++ -std=c++11 -I/usr/share/R/include -DNDEBUG `"/usr/lib/R/bin/Rscript" -e "Rcpp:::CxxFlags()"` -I/usr/include/hdf5/serial -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -DOCT_POST_3_4_0=1 -I"/usr/lib/R/library/Rcpp/include" -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c conversion.cpp -o conversion.o In file included from rcpp_octave.h:25:0, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/config.h:28:2: warning: #warning "config.h has been deprecated; there is no need to include it directly" [-Wcpp] #warning "config.h has been deprecated; there is no need to include it directly" ^ In file included from rcpp_octave.h:26:0, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:33:2: warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp] #warning oct-obj.h has been deprecated; use ovl.h instead ^ conversion.cpp: In function ‘SEXPREC* wrap(const Cell&, bool)’: conversion.cpp:130:19: warning: ‘octave_idx_type Array::length() const [with T = octave_value; octave_idx_type = int]’ is deprecated: use 'numel' instead [-Wdeprecated-declarations] int n = x.length(); ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/str-vec.h:32:0, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from rcpp_octave.h:26, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/Array.h:354:19: note: declared here octave_idx_type length (void) const { return numel (); } ^ conversion.cpp: In function ‘SEXPREC* Rcpp::wrap(const T&) [with T = octave_value; SEXP = SEXPREC*]’: conversion.cpp:196:21: warning: ‘octave_idx_type Array::length() const [with T = octave_value; octave_idx_type = int]’ is deprecated: use 'numel' instead [-Wdeprecated-declarations] int n = s.length(); ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/str-vec.h:32:0, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from rcpp_octave.h:26, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/Array.h:354:19: note: declared here octave_idx_type length (void) const { return numel (); } ^ conversion.cpp:276:23: warning: ‘octave_idx_type Array::length() const [with T = std::__cxx11::basic_string; octave_idx_type = int]’ is deprecated: use 'numel' instead [-Wdeprecated-declarations] int n = keys.length(); ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/str-vec.h:32:0, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from rcpp_octave.h:26, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/Array.h:354:19: note: declared here octave_idx_type length (void) const { return numel (); } ^ conversion.cpp:278:20: warning: ‘octave_idx_type Array::length() const [with T = std::__cxx11::basic_string; octave_idx_type = int]’ is deprecated: use 'numel' instead [-Wdeprecated-declarations] if (keys.length () == 0){ ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/str-vec.h:32:0, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from rcpp_octave.h:26, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/Array.h:354:19: note: declared here octave_idx_type length (void) const { return numel (); } ^ conversion.cpp:292:21: warning: ‘octave_idx_type Array::length() const [with T = octave_value; octave_idx_type = int]’ is deprecated: use 'numel' instead [-Wdeprecated-declarations] if( cell.length() == 0 ){ ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/str-vec.h:32:0, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from rcpp_octave.h:26, from conversion.cpp:5: /usr/local/include/octave-4.2.0/octave/../octave/Array.h:354:19: note: declared here octave_idx_type length (void) const { return numel (); } ^ g++ -std=c++11 -I/usr/share/R/include -DNDEBUG `"/usr/lib/R/bin/Rscript" -e "Rcpp:::CxxFlags()"` -I/usr/include/hdf5/serial -I/usr/local/include/octave-4.2.0/octave/.. -I/usr/local/include/octave-4.2.0/octave -I/usr/local/include -DOCT_POST_3_4_0=1 -I"/usr/lib/R/library/Rcpp/include" -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c rcpp_octave.cpp -o rcpp_octave.o In file included from rcpp_octave.h:25:0, from rcpp_octave.cpp:35: /usr/local/include/octave-4.2.0/octave/../octave/config.h:28:2: warning: #warning "config.h has been deprecated; there is no need to include it directly" [-Wcpp] #warning "config.h has been deprecated; there is no need to include it directly" ^ In file included from rcpp_octave.h:26:0, from rcpp_octave.cpp:35: /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:33:2: warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp] #warning oct-obj.h has been deprecated; use ovl.h instead ^ In file included from rcpp_octave.cpp:56:0: /usr/local/include/octave-4.2.0/octave/../octave/toplev.h:28:2: warning: #warning "toplev.h has been deprecated; use interpreter.h instead" [-Wcpp] #warning "toplev.h has been deprecated; use interpreter.h instead" ^ rcpp_octave.cpp: In function ‘void recover_from_exception()’: rcpp_octave.cpp:224:3: warning: ‘can_interrupt’ is deprecated: use 'octave::can_interrupt' instead [-Wdeprecated-declarations] can_interrupt = true; ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:95:14: note: declared here static auto& can_interrupt = octave::can_interrupt; ^ rcpp_octave.cpp:224:3: warning: ‘can_interrupt’ is deprecated: use 'octave::can_interrupt' instead [-Wdeprecated-declarations] can_interrupt = true; ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:95:14: note: declared here static auto& can_interrupt = octave::can_interrupt; ^ rcpp_octave.cpp:231:31: error: ‘octave_restore_signal_mask’ was not declared in this scope octave_restore_signal_mask (); ^ rcpp_octave.cpp:232:3: warning: ‘octave_catch_interrupts’ is deprecated: use 'octave::interrupt_handler' instead [-Wdeprecated-declarations] octave_catch_interrupts (); ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:120:12: note: declared here const auto octave_catch_interrupts = octave::catch_interrupts; ^ rcpp_octave.cpp:232:3: warning: ‘octave_catch_interrupts’ is deprecated: use 'octave::interrupt_handler' instead [-Wdeprecated-declarations] octave_catch_interrupts (); ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:120:12: note: declared here const auto octave_catch_interrupts = octave::catch_interrupts; ^ rcpp_octave.cpp: In function ‘octave_value octave_feval(const string&, const octave_value_list&, int, const std::vector >*, int)’: rcpp_octave.cpp:371:26: error: ‘octave_save_signal_mask’ was not declared in this scope octave_save_signal_mask(); ^ rcpp_octave.cpp:384:30: error: ‘octave_restore_signal_mask’ was not declared in this scope octave_restore_signal_mask(); ^ rcpp_octave.cpp:388:2: warning: ‘can_interrupt’ is deprecated: use 'octave::can_interrupt' instead [-Wdeprecated-declarations] can_interrupt = true; ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:95:14: note: declared here static auto& can_interrupt = octave::can_interrupt; ^ rcpp_octave.cpp:388:2: warning: ‘can_interrupt’ is deprecated: use 'octave::can_interrupt' instead [-Wdeprecated-declarations] can_interrupt = true; ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:95:14: note: declared here static auto& can_interrupt = octave::can_interrupt; ^ rcpp_octave.cpp:389:2: warning: ‘octave_catch_interrupts’ is deprecated: use 'octave::interrupt_handler' instead [-Wdeprecated-declarations] octave_catch_interrupts(); ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:120:12: note: declared here const auto octave_catch_interrupts = octave::catch_interrupts; ^ rcpp_octave.cpp:389:2: warning: ‘octave_catch_interrupts’ is deprecated: use 'octave::interrupt_handler' instead [-Wdeprecated-declarations] octave_catch_interrupts(); ^ In file included from rcpp_octave.cpp:60:0: /usr/local/include/octave-4.2.0/octave/../octave/sighandlers.h:120:12: note: declared here const auto octave_catch_interrupts = octave::catch_interrupts; ^ rcpp_octave.cpp:469:11: warning: ‘octave_interrupt_exception’ is deprecated: use 'octave::interrupt_exception' instead [-Wdeprecated-declarations] } catch (octave_interrupt_exception){ ^ In file included from /usr/local/include/octave-4.2.0/octave/../octave/lo-utils.h:33:0, from /usr/local/include/octave-4.2.0/octave/../octave/Array.h:41, from /usr/local/include/octave-4.2.0/octave/../octave/str-vec.h:32, from /usr/local/include/octave-4.2.0/octave/../octave/ovl.h:33, from /usr/local/include/octave-4.2.0/octave/../octave/oct-obj.h:35, from rcpp_octave.h:26, from rcpp_octave.cpp:35: /usr/local/include/octave-4.2.0/octave/../octave/quit.h:155:37: note: declared here typedef octave::interrupt_exception octave_interrupt_exception; ^ rcpp_octave.cpp:483:29: error: ‘octave_restore_signal_mask’ was not declared in this scope octave_restore_signal_mask(); ^ /usr/lib/R/etc/Makeconf:141: recipe for target 'rcpp_octave.o' failed make: *** [rcpp_octave.o] Error 1 ERROR: compilation failed for package ‘RcppOctave’ * removing ‘/usr/lib/R/library/RcppOctave’ The downloaded source packages are in ‘/tmp/RtmpnBiXlB/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("RcppOctave") : installation of package ‘RcppOctave’ had non-zero exit status